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
Abbreviation: desc | |
Description: jasmine describe() | |
Applicable in: Javascript | |
Expand with: Default (Tab) | |
Template text: | |
describe('$SYSTEM_UNDER_TEST$', function() { | |
beforeEach(function() { | |
//First top level needs configure: | |
//jasmine.configure() |
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
# grafts define parents for commits see https://git.wiki.kernel.org/index.php/GraftPoint | |
# | |
# save this file as .git/info/grafts | |
# | |
# | |
# format: | |
# <commit sha1> <parent sha1> [<parent sha1>]* | |
# | |
# each entry terminated by a newline | |
# |
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
export PS1='$(tput dim)\t $(tput setaf 5)[\w]$(tput setaf 2)$(__git_ps1 "(%s)")$(tput sgr0)\$ ' |
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
NEW_MAIL="jesp....@gmail.com" | |
git filter-branch --env-filter ' | |
> if [[ "$GIT_AUTHOR_EMAIL" = "EMAIL" || "$GIT_AUTHOR_EMAIL" = "$NEW_MAIL" ]] | |
> then | |
> if [[ "$GIT_AUTHOR_NAME" = "Ben Alman" ]] | |
> then | |
> GIT_AUTHOR_NAME="Jesper Rønn-Jensen" | |
> GIT_COMMITTER_NAME="Jesper Rønn-Jensen" | |
> export GIT_AUTHOR_NAME | |
> export GIT_COMMITTER_NAME |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style> | |
#before, #after {display: none;} | |
</style> | |
<style id="jsbin-css"> |
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
#!/usr/bin/env bash | |
# set -x | |
# script here will create new subversion repository (file based). | |
# then it will make 10 commits | |
# Then we will manipulate the commit dates of the ten commits | |
START_FOLDER=$(pwd) | |
REPO=repo02 | |
WD=working2 | |
HOOKFILE=$REPO/hooks/pre-revprop-change |
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
#!/usr/bin/env bash | |
BASEDIR=$(dirname $0) | |
. $BASEDIR/functions.sh | |
# step "Remounting / and /boot as read-write:" | |
# try mount -o remount,rw / | |
# try mount -o remount,rw /boot | |
# next | |
# | |
# usecases: |
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
#list of the files I want to instal on my server | |
# requires previous install of XCode | |
# from http://developer.apple.com/technology/xcode.html | |
#recent ruby | |
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz | |
#recent git | |
http://kernel.org/pub/software/scm/git/git-1.6.1.2.tar.gz | |
#and manpages |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description></description> | |
<logRotator> | |
<daysToKeep>5</daysToKeep> | |
<numToKeep>-1</numToKeep> | |
</logRotator> | |
<keepDependencies>false</keepDependencies> | |
<properties> |
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
# cat ~/.autotest | |
require 'autotest_notification' | |
require 'autotest/fsevent' | |
require 'autotest/growl' | |
Autotest.add_hook :initialize do |autotest| | |
%w{.git .svn .hg .DS_Store ._* vendor}.each {|exception| autotest.add_exception(exception) } | |
false | |
end |
OlderNewer