This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Large-scale mapping build spec. | |
;; GeoPHP | |
libraries[geoPHP][download][type] = "git" | |
libraries[geoPHP][download][url] = "https://github.com/phayes/geoPHP.git" | |
libraries[geoPHP][download][revision] = "0aae7c3" | |
projects[geophp][version] = "1.7" | |
;; Geocoder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Set default parameters | |
# somewhat follows the conventions from: http://michal.karzynski.pl/blog/2013/10/29/serving-multiple-django-applications-with-nginx-gunicorn-supervisor/ | |
# designed to run on a debian symbiosis box if your interested why its /srv | |
action=$1 | |
domain=$2 | |
appname=$3 | |
owner=$(who am i | awk '{print $1}') | |
sitesEnable='/etc/nginx/sites-enabled/' | |
sitesAvailable='/etc/nginx/sites-available/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aliases | |
alias ls='ls -hG' | |
alias ll='ls -l' | |
alias la='ls -A' | |
alias lla='ls -lA' | |
alias le='ls -lAeO@' | |
alias cleardns="dscacheutil -flushcache" | |
alias crontab="VIM_CRONTAB=true crontab" | |
alias gl="git log --graph --pretty='format:%C(yellow)%h%Cblue%d%Creset %s %C(white)%an, %ar%Creset'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/ben/.vagrant.d/gems/gems/berkshelf-vagrant-1.1.0/lib/berkshelf/vagrant/action/install.rb:21:in `call': undefined method `berksfile=' for nil:NilClass (NoMethodError) | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/action/warden.rb:34:in `call' | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/action/builtin/provision.rb:45:in `call' | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/action/warden.rb:34:in `call' | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/action/runner.rb:61:in `block in run' | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/util/busy.rb:19:in `busy' | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/action/runner.rb:61:in `run' | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/action/builtin/call.rb:51:in `call' | |
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.0/lib/vagrant/action/warden.rb:34:in `call' | |
from |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# APC recipe | |
# => convenience rules for dealing with APC in applications | |
## | |
_cset(:apc_webroot) { "" } | |
namespace :apc do | |
desc <<-DESC | |
Create a temporary PHP file to clear APC cache, call it (using curl) and removes it |