Skip to content

Instantly share code, notes, and snippets.

View cebe's full-sized avatar
☁️
working on cebe.cloud

Carsten Brandt cebe

☁️
working on cebe.cloud
View GitHub Profile
@cebe
cebe / yiic_bash_completion.bash
Created August 11, 2011 23:19
yiic bash completion
# basic bash completion for yiic command
#
# simply add the following to your ~/.bash_profile
#
# . ~/path/to/this/file/yiic_bash_completion.bash
#
# note: the . is relevant and you probably have to adjust the path ;-)
#
_yiic()
@cebe
cebe / authors.txt
Created August 12, 2011 09:14
migration script for yiiext from google-code to github
(no author) = nobody <[email protected]>
Ekstazyst = ekstazyst <[email protected]>
alexander.makarow = samdark <[email protected]>
andrey.artemov = Andrey Artemov <[email protected]>
cebe.cc = CeBe <[email protected]>
creocoder = Alexander Kochetov <[email protected]>
[email protected] = dropsql <[email protected]>
ekstazyst = ekstazyst <[email protected]>
[email protected] = ekstazyst <[email protected]>
maksimgrib = maksimgrib <[email protected]>
@cebe
cebe / LiveTest.php
Created August 17, 2011 09:53
LiveTest runner mac compatible
#!/usr/bin/env php
<?php
require_once(dirname(__FILE__).'/../src/runner.php');
@cebe
cebe / Article.md
Created August 17, 2011 11:01 — forked from geelen/Article.md

Idiot-Proof Git Aliases

@cebe
cebe / .gitignore
Created August 19, 2011 14:32
script to mirror svn repository
# subversion
.subversion
# mirror dirs
/mirror/*
/tmp/*
@cebe
cebe / .bash_profile
Last active May 1, 2016 01:48
My git config
# git bash completion
. /usr/local/git/contrib/completion/git-completion.bash
alias g="git status"
@cebe
cebe / .bashrc
Last active September 19, 2016 18:16
.bashrc + .vimrc
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# simple history browsing
export HISTCONTROL=erasedups
export HISTSIZE=10000
shopt -s histappend
bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward
@cebe
cebe / mount_tmpfs
Created November 18, 2011 15:57
tmpfs
mount -t tmpfs -o size=100M,mode=0755 tmpfs /var/www/cache
@cebe
cebe / script.sh
Created February 29, 2012 22:47
Steps to move yiidoc to github
# create authors.txt with authors.php (https://gist.github.com/1156937#file_authors.php)
mkdir mirror
cd mirror
git svn --authors-file=../authors.txt clone -s http://yiidoc.googlecode.com/svn/ .
@cebe
cebe / fingerprint.sh
Created March 7, 2012 18:40
generate SSH Key Fingerprint
ssh-keygen -lf id_rsa.pub