This file contains hidden or 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
| [branch "master"] | |
| remote = origin | |
| merge = refs/heads/master |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Author: Michale Kessler http://github.com/netzpirat | |
| echo "Migrate all git repositories to github" | |
| for repo in `ls -l | grep "^d" | awk '{ print $9 }'` | |
| do | |
| echo "-----------------------------------------------------------" | |
| echo "Checking ${repo}" | |
| cd $repo | |
| if [ -d .git ]; then |
This file contains hidden or 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 | |
| url="ssh://git.screenconcept.ch/var/git/" | |
| location="/var/git/" | |
| cd $location | |
| mkdir tmpdir | |
| for repository in *.git | |
| do |
This file contains hidden or 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
| git branch --track feature1 origin/master | |
| git checkout feature1 |
This file contains hidden or 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
| CSPmsProduct Object | |
| ( | |
| [defaultPrice:private] => | |
| [data] => Array | |
| ( | |
| [PdmarticleID] => 5854 | |
| [Version] => 0 | |
| [VersionNote] => | |
| [LastChange] => 2009-10-21 14:34:42 | |
| [CreationDate] => 2009-10-21 14:33:49 |
This file contains hidden or 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
| Just for everyone's information, if you want to run purely utf8, don't forget the following: | |
| httpd.conf: | |
| AddCharset UTF-8 .utf8 | |
| AddDefaultCharset UTF-8 | |
| php.ini | |
| default_charset = "utf-8" | |
| my.cnf |
This file contains hidden or 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
| # SASS AND HAML BUNDLES FOR TEXTMATE | |
| cd ~/"Library/Application Support/TextMate/Bundles/" | |
| git clone git://github.com/textmate/ruby-haml.tmbundle.git | |
| git clone git://github.com/jcf/ruby-sass-tmbundle | |
| osascript -e 'tell app "TextMate" to reload bundles' |
This file contains hidden or 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
| ls -la |awk /original/'{printf "mv "$NF" " ;sub(/original/,"new",$NF); printf $NF"\n"}' |sh | |
| sed -i -e 's/original/new/g' file |
This file contains hidden or 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
| # OSX: Create iso file loadable by vmware/windows... | |
| $ hdiutil makehybrid -o isofilename.iso src/folder -iso |
This file contains hidden or 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 initialize | |
| super # pass along the arguments to the current method | |
| super() # pass no arguments | |
| super(1,2) # pass these explicit arguments |