minimal example of using [phantomjs] with [qunit]
$ phantomjs run-qunit.js file://`pwd`/test.html
'waitFor()' finished in 200ms.
Tests completed in 21 milliseconds.
5 tests of 5 passed, 0 failed.
#!/bin/bash | |
################################################################################## | |
# 1 - Create the base container | |
SUITE=squeeze | |
RELEASE=$SUITE | |
sudo lxc-create -n ${RELEASE}-base -t debian | |
rootfs="/var/lib/lxc/${RELEASE}-base/rootfs" |
#!/bin/sh | |
WEBDIR=yourwebdir | |
WORKSPACE=your/workspace | |
TEX_FILE_NAME=your_file | |
echo | |
echo "**** Pulling changes into Live [Hub's post-update hook]" | |
echo |
#!/bin/bash | |
set -o errexit -o nounset -o pipefail | |
usage() { | |
cat << EOF | |
USAGE: | |
init-boot2docker.sh -p [path] -u [uid] -g [gid] | |
-p Path to the working directory you wish to mount. | |
-u The uid you wish to mount the working directory as. |
#!/bin/bash | |
JQPATH=$(which jq) | |
if [ "x$JQPATH" == "x" ]; then | |
echo "Couldn't find jq executable." 1>&2 | |
exit 2 | |
fi | |
set -eu | |
shopt -s nullglob |
I hereby claim:
To claim this, I am signing this object:
package.json |
var babel = require('babel-core'); | |
var stealTools = require('steal-tools'); | |
const babelOpts = { | |
sourceMaps: true, | |
presets: ['env', 'stage-0', 'react'], | |
plugins: ['transform-object-rest-spread'] | |
}; | |
const result = babel.transformFileSync(__dirname + '/index.js', babelOpts); |
git config --global alias.fap '!f() { git pull --rebase; git push; }; f' |
#!/bin/sh | |
SWAPSIZE=3 # IN GB | |
SYSTEM_NAME=aerozine # Hostname and used in ZFS structure (zroot/sys/${SYSTEM_NAME}/ROOT/default) | |
USER=xunil # Initial admin user for the system | |
# Archlinux on ZFS Root on LUKS setup script (v1.0) | |
# | |
# USAGE: ./ArchLinux_ZFS_LUKS_Setup.sh /dev/sda | |
# |