Almost a year ago I have started a topic in LinkedIn where I asked how old were you when you wrote your first program and what was the programming language. This post collected a lot of feedback (more that 170 comments) and had a lot of views (36k+) and finally ("one year later" meme here...) I got a time to put all the answers together and made some charts. Disclaimer: This poll and statistic is not representative and only reflect small portion of my LinkedIn network.
Nginx Server Blocks (Virtual Hosts) Example Template
Here is an example of the nginx server block (Virtual Hosts) which you can use to host multiple web sites on the same server. Just replace example.com with your own domain name. Do not forget to create all required folders and sent right permissions. Copy one of those templates to the /etc/nginx/sites-available/example.com Proxy example # Ivan Derevianko aka druss http://ivanderevianko.com # Force without domain domain without www server { server_name www.example.com; listen 80; rewrite ^(.*) ht...
OpenCart Weight Shipping With Tracking Code
For a MintChocolate store I was asked to add one additional delivery option: Shipping with tracking code. I have looked for a free extension with such functionality but wasn't able to find a proper one. So I've decided to create such extension. Now, we are using weight based delivery, so I just copied existing shipping option and modified it based on our requirements. To create new shipping method you can copy following files: \admin\language\english\shipping\<name>.php \admin\controller\...
[Fix] Call to undefined function imagecreatefromgif()
If you get following error: Call to undefined function imagecreatefromgif() You just need to install right version of GD. After 2.0.28 gif support was reverted back. To fix this error: sudo apt-get install php5-gd If you are using nginx with php5-fpm do: sudo /etc/init.d/php5-fpm restart