November 20, 2022

From PC (Linux/Windows) to macOS

Learn MacOS keyboard shortcuts; write them down and search when necessary; Use Homebrew to install applications; Prevent the ALT key to generate special chars when used in combination with another...

Read →

August 20, 2022

GitHub pages with Jigsaw

It is assumed that the setup is done according to the docs Jigsaw setup. Go to the repository page then Settings -> Pages from the menu; On Build and deployment section...

Read →

August 27, 2021

Print the ESSID of the wireless network

CLI oneliner to print the ESSID of the wireless network Step by step: Use iwconfig to fetch wireless info and place it into a file on disk: iwconfig > /tmp/essid 2>/dev/null; In the resulted...

Read →

January 24, 2018

How to create a Composer plugin

After tinkering around with Symfony4 and Flex I was curious about how Composer plugins work. So I started to check the Composer's plugin API and the official documentation. The documentation is great...

Read →

October 13, 2015

First encounter with React JS

This is a small demo made using React and Boostrap. It's a list page which contains some of the Avengers, with the possibility to reach a show page with details for each character. The conclusion:...

Read →

February 3, 2013

Add PDF export functionality in SonataAdminBundle

By default SonataAdminBundle doesn't come with a PDF export functionality. Since this is a nice feature to have in your application here's a way to add PDF export to the CRUD pages. The example...

Read →

February 1, 2013

Beautiful strings and the PHP solution

Beautiful strings is one of the proposed problems on Facebook Hacker Cup 2013 Qualification Round. The presented PHP solution was already validated. When John was a little kid he didn't have...

Read →

January 30, 2013

Doctrine entities in Twig templates

In a Symfony2 project, Doctrine entities can be used inside Twig templates with the help of Twig extensions. The example works with the standard Symfony2 installation and the AcmeDemoBundle, and it...

Read →

February 8, 2012

Easy file sharing with Python SimpleHTTPServer

An easy way to share files from your computer is to use Python SimpleHTTPServer. You don't need to know Python programming to use the SimpleHTTPServer, the only requirement is to have Python...

Read →

January 22, 2012

Understanding file permissions and ownership on Linux

The files on a Linux system can have reading permissions, writing permissions, executing (running) permissions or no permissions for the user that owns that files, groups of users or the rest - users...

Read →