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
# Patrick Oscity | |
# | |
# Bauhaus-Universität Weimar | |
# Fakultät Medien | |
# SoSe 2011 | |
require 'rubygems' | |
require 'wavefile' |
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
# public directory needed for static files! | |
cd ~/Sites | |
ln -s . public | |
# symlink as 'default' (magic name) into .pow | |
cd ~/.pow | |
ln -s ~/Sites default | |
# check if it works | |
open -a Safari http://localhost |
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
def typekit_include_tag apikey | |
javascript_include_tag("http://use.typekit.com/#{apikey}.js") + | |
javascript_tag("try{Typekit.load()}catch(e){}") | |
end |
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/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the nginx web server | |
# Description: starts nginx using start-stop-daemon |
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 | |
BIND=127.0.0.1:9000 | |
USER=www-data | |
PHP_FCGI_CHILDREN=15 | |
PHP_FCGI_MAX_REQUESTS=1000 | |
PHP_CGI=/usr/bin/php-cgi | |
PHP_CGI_NAME=`basename $PHP_CGI` | |
#PHP_CGI_ARGS="- USER=$USER PATH=/usr/bin PHP_FCGI_CHILDREN=$PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=$PHP_FCGI_MAX_REQUESTS $PHP_CGI -b $BIND" | |
PHP_CGI_ARGS="- USER=$USER PATH=/usr/bin PHP_FCGI_MAX_REQUESTS=$PHP_FCGI_MAX_REQUESTS $PHP_CGI -b $BIND" |
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 | |
function info { | |
echo -e "\e[0;32m---------------------------------------------------------" | |
echo -e $1 | |
echo -e "---------------------------------------------------------\e[0m" | |
} | |
info "Update system" | |
apt-get update |
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
# encoding: utf-8 | |
require 'rubygems' | |
require 'builder' | |
svg_doctype = [ | |
:DOCTYPE, | |
:svg, | |
:PUBLIC, | |
"-//W3C//DTD SVG 1.1//EN", |
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
# generic | |
*~ | |
*.lock | |
*.sw? | |
# OSX noise | |
.DS_Store | |
.localized | |
# WIN noise |
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
# in ~/Library/KeyBindings/DefaultKeyBinding.dict | |
{ | |
"~ " = ("insertText:", " "); | |
} |
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
# xcode noise | |
build/* | |
*.perspective | |
*.perspectivev3 | |
*.pbxuser | |
*.xcworkspace | |
*.mode1 | |
*.mode2v3 | |
*.mode1v3 | |
xcuserdata |
OlderNewer