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
var url = 'http://casperjs.org'; | |
var casper = require('casper').create(); | |
var t = casper.test; | |
var Test = function() { | |
this.url = 'http://casperjs.org'; | |
this.paths = { | |
quickstart : '/quickstart.html', | |
install : '' |
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
nohup ./script_name.sh & |
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
VIMDIR="$HOME/AppData/Local/Temp/Temp1_vim73-x64.zip/vim73" | |
DevKit="/c/DevKit/bin" | |
MingW="/c/DevKit/mingw/bin" | |
rsync="/c/rsync" | |
ssh="/c/cygwin-ssh/ssh" | |
PATH="$ssh:$rsync:$VIMDIR:$PATH:$DevKit:$MingW" | |
export PATH | |
# Aliases |
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 | |
for font in $(ls /usr/share/figlet | grep '.flf') | |
do | |
echo '==================================================================' | |
echo $font | |
figlet -cf $font "Heaven's" | |
figlet -cf $font "Kitchen" | |
echo '==================================================================' | |
done |
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
<target name='live-git-pull'> | |
<exec command="drush dd @live:%git-dir" outputProperty="git-dir" /> | |
<exec command="drush dd @live:%work-tree" outputProperty="work-tree" /> | |
<exec command="drush @live exec git --git-dir='${git-dir}/' --work-tree='${work-tree}' fetch origin" checkreturn='true' escape='false' /> | |
<exec command="drush @live exec git --git-dir='${git-dir}/' --work-tree='${work-tree}' merge origin/live" checkreturn='true' escape='false' /> | |
</target> |
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
/** | |
* Tests Features' Drush integration. | |
*/ | |
class FeaturesDrushExportTest extends DrupalWebTestCase { | |
protected $profile = 'testing'; | |
/** | |
* Test info. | |
*/ | |
public static function getInfo() { |
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 | |
if [ "$1" ] | |
then | |
git add -u && git commit --amend -m "$1" && koan | |
else | |
git add -u && git commit --amend && koan | |
fi |
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
for s in `git submodule --quiet foreach 'echo $name'` ; do git config submodule.$s.ignore untracked ; done |
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
; repl-options init using (do) form | |
; Wrapping the individual (ns...) expressions in a (do) form results in | |
; the expected behavior; the REPL recognizes functions defined in koan-engine.core etc. | |
(defproject clojure-koans "0.5.0-SNAPSHOT" | |
:repl-options { | |
:init-ns koan-engine.runner | |
:init (do | |
(ns koans.12-creating-functions (:use koan-engine.core)) | |
(ns koan-engine.runner (:use koan-engine.core)))) |
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 | |
modules=( \ | |
contemplate mollom nca_ahah panels \ | |
pdf_to_imagefield apachesolr_sort scheduler \ | |
uc_add_donation uc_ssl webform \ | |
data schema wp_redirect suggestions ezproxy quicktabs \ | |
taxonomy_access views_horizontal_slides colorbox) | |
for module in ${modules[@ |