RSSAmplifier

Blog

Piotr Horzycki - Java and PHP developer’s blog

Software engineer since 2008. Experienced with complex systems for payments, media, advertising and education. Been a scrum master and a team leader. I love fintech, data processing and SQL optimization. Sometimes I talk at meetups.

peterdev.plRSS feed ↗10 posts

Latest posts

8 Programming Myths That Impede Your Career

Common beliefs and misconceptions can impede your software development career. Here's my guide on how to avoid fighting for a lost cause.

How to set a font in a PDF document

How to set a font in a PDF document with TCPDF, mPDF, Dompdf, wkhtmltopdf, Chrome, WeasyPrint and Prince

How to encrypt a PDF document in PHP

Examples of encrypting a document with TCPDF, mPDF, Dompdf and PDFtk

Executing shell commands from a PHP script

All the details of calling an external process from PHP.

Too much REST will harm you: don’t blindly follow it!

Always treat a URL like public data. Although REST recommends a set of web architecture best practices, you need to take additional measures to prevent sensitive data exposure.

Picking a PHP tool to read and manipulate PDF files

Extracting text and metadata from PDF, editing PDF files, adding stamps, extracting images, making screenshots. Updated for 2021.

I moved my WordPress blog to Jekyll. Here’s why and how

My story about moving a blog from WordPress to Jekyll - a static site generator.

All you need to know about Java’s BigDecimal

A guide to Java BigDecimal class. Examples of monetary calculations and formatting decimal numbers for different languages.

PHP: How to take a screenshot of a PDF page

A guide on converting PDF files to PNG and JPEG using ImageMagick, GhostScript, Poppler or Inkscape. Choose the best solution for you!

Secure generation of random IDs and passwords in Java

Tools which provide safe, unpredictable random numbers and strings in your Java application: SecureRandom, Apache Commons and Passay.