Skip to content

Instantly share code, notes, and snippets.

@trungpv93
trungpv93 / google-img-resize.mdown
Created August 19, 2016 18:11
Google’s authentication-less on-the-fly image resizing service

Google's authentication-less on-the-fly image resizing service

I found it while poking around the Google+ HTML. Jotting down some notes felt like a good idea, so here goes. If you know more about this API, let me know, please!

(Word of warning: I spent ~30 minutes on both my experimentation and this here write-up, so it might not be the most thought-provoking, brilliant thing you read today.)

@trungpv93
trungpv93 / install.sh
Created July 19, 2016 08:02
Install Laravel 5.2 with NGINX and PHP-7.0 on Ubuntu
sudo apt-get install software-properties-common
sudo apt-get update
sudo apt-get install nginx php7.0-fpm php7.0-cli php7.0-mcrypt php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mbstring php7.0-mysql php7.0-readline php7.0-xml php7.0-zip git
sudo nano /etc/php/7.0/fpm/php.ini
#cgi.fix_pathinfo=0
sudo phpenmod mcrypt curl gd imap json mbstring mysql readline xml