Skip to content

Instantly share code, notes, and snippets.

#Install
sudo aptitude install unifi
sudo reboot
#Purge
sudo apt-get purge unifi
#Half installation
sudo dpkg --remove --force-remove-reinstreq unifi
@stefandroog
stefandroog / environment.php
Created January 18, 2014 11:43
Environment detection for multiple instances like (staging / production) on the same server (Laravel 4.1) Blog post: http://www.volkomenjuist.nl/blog/2014/01/17/laravel-4-and-environment-detection/
<?php
return 'staging'; //or 'production'