I hereby claim:
- I am aronpc on github.
- I am aronpc (https://keybase.io/aronpc) on keybase.
- I have a public key ASDglxKJrGXoiOQ0T9ILwmeXaNZGMVpSlak4irECNWo3ggo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace Deployer; | |
| require 'recipe/laravel.php'; | |
| // Configuration | |
| set('ssh_type', 'native'); | |
| set('ssh_multiplexing', true); | |
| set('git_tty', true); // [Optional] Allocate tty for git on first deployment |
| # Automatic nginx virtual subdomains with sub-folders or sub-directories | |
| # | |
| # Since the original source where I found this code is now offline, I have decided to mirror it here. | |
| # All credit goes to: http://web.archive.org/web/20150307193208/http://www.messaliberty.com/2010/10/automatic-nginx-virtual-subdomains-with-sub-folders-or-sub-directories | |
| # | |
| # Description: In my web root directory I wanted create a folder called photos, and another called | |
| # music using a sftp program. Without manually going back to the config file or to the shell I like to | |
| # be able to access them at photos.nginxdomain.com and music.nginxdomain.com. That is what this config does. | |
| # Redirect visitors from http://nginxdomain.com/ to http://www.nginxdomain.com/ |
| # Automatic nginx virtual subdomains with sub-folders or sub-directories | |
| # | |
| # Since the original source where I found this code is now offline, I have decided to mirror it here. | |
| # All credit goes to: http://web.archive.org/web/20150307193208/http://www.messaliberty.com/2010/10/automatic-nginx-virtual-subdomains-with-sub-folders-or-sub-directories | |
| # | |
| # Description: In my web root directory I wanted create a folder called photos, and another called | |
| # music using a sftp program. Without manually going back to the config file or to the shell I like to | |
| # be able to access them at photos.nginxdomain.com and music.nginxdomain.com. That is what this config does. | |
| # Redirect visitors from http://nginxdomain.com/ to http://www.nginxdomain.com/ |
| Onhub urls: | |
| onhub.here internally resolves to the router (always 192.168.86.1) | |
| http://onhub.here/api/v1/status | |
| http://onhub.here/api/v1/welcome-mat | |
| http://onhub.here/api/v1/connected-devices | |
| http://onhub.here/api/v1/diagnostic-report <-- gzipped |
| cd | |
| wget --no-check-certificate https://raw.github.com/seebi/dircolors-solarized/master/dircolors.ansi-dark | |
| mv dircolors.ansi-dark .dircolors | |
| eval `dircolors ~/.dircolors` | |
| cd | |
| wget --no-check-certificate https://raw.github.com/seebi/dircolors-solarized/master/dircolors.ansi-light | |
| mv dircolors.ansi-light .dircolors | |
| eval `dircolors ~/.dircolors` |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |