Skip to content

Instantly share code, notes, and snippets.

Stefan stefandroog

View GitHub Profile
View Unifi - Debian
#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 Jan 18, 2014
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/
View environment.php
<?php
return 'staging'; //or 'production'
You can’t perform that action at this time.