Autostart HHVM service on Ubuntu
After installing HHVM, run this command in your shell: More information here:
Smaller solutions in my every day work. Also solving more complex problems I have encountered . If I may, reflections of my experience so far.
After installing HHVM, run this command in your shell: More information here:
Reset the term count:
To delete the media files without leaving traces in the database, do the following:
The content of a configuration file for a new domain in apache (e.g. ) should be:
Use the following code in your script to set the internal php encoding to UTF-8: Also, for mysql and postgres you should take into consideration the following two commands:
Recently, I have had this request from a friend of mine, who had trouble with adding images into their post.
The code is pretty simple:
Source:
Browsing the web, I found the following sizes which can be used for standard screen sizes: Sources:
A great SQL injection tutorial can be found here:
I had the issue described in the title with one of my projects. Neither firefox, nor chrome or IE displayed the font. I managed to generate working files using fontsquirrel.com and the following CSS code to access the file: