I hereby claim:
- I am carnevlu on github.
- I am carnevlu (https://keybase.io/carnevlu) on keybase.
- I have a public key whose fingerprint is 43AD 2B36 934C 942B 3B7E D2EF 89A5 1E03 4686 F715
To claim this, I am signing this object:
#!/bin/bash | |
printeval() { test $# -gt 0 && echo $@ && eval $@; } | |
upstall() { type -P $1 || printeval $2 && printeval $3; } | |
addset() { grep -q "^$1" $3 && sed -i "" "s/^$1.*/$1=$2/" $3 || echo "$1=$2" >> $3; } | |
xcode-select --install | |
upstall brew 'ruby -e "$(curl -s https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew tap caskroom/cask' | |
upstall subl 'brew cask install sublime-text-dev && brew cask install subl' | |
upstall alcatraz 'brew cask install alcatraz' |
I hereby claim:
To claim this, I am signing this object:
<?php | |
define('MODX_API_MODE', true); | |
// Full path to the index | |
require_once('index.php'); | |
$modx = new modX(); | |
$modx->initialize('mgr'); | |
######################## Variables |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)