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 from https://getcomposer.org/doc/articles/plugins.md. The documentation is great and you even have a full example of a plugin but when I wanted to test it… nothing. The plugin wasn’t loaded and nothing happened.
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 access a show page with details for each character.
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 works with the standard Symfony2 installation and the AcmeDemoBundle. The PDF will be generated using KnpSnappyBundle.
“Beautiful strings” is one of the proposed problems on Facebook Hacker Cup 2013 Qualification Round. The presented PHP solution was already validated.
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.
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 installed on the machine where the files that needs to be shared are located.
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 who does not own that files and they are not members of any group.
How to enable trackball pulse notifications for missed calls on HTC Hero with CyanogenMod 7 (or other CM7 based ROM like the one provided by elelinux).
WordPress posts may be randomly displayed using the “Get random results from a MySql table” tip placed in a simple plugin. What this plugin does is to simply ad the “RAND()” value to “ORDER BY” clause in the sql query which retrieves the WordPress posts.
It is possible to retrieve random results from a MySql table using the RAND() mathematical function. In order to get the random results the RAND() function needs to be used in the ORDER BY clause.