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/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 | |
# |
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 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); |
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
package.json |
I hereby claim:
- I am donkeybanana on github.
- I am donkeybanana (https://keybase.io/donkeybanana) on keybase.
- I have a public key ASDUdI79AROrpODEDXdL4eic-WkO8RBZZ8EkpoOGnGJXbgo
To claim this, I am signing this object:
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 | |
JQPATH=$(which jq) | |
if [ "x$JQPATH" == "x" ]; then | |
echo "Couldn't find jq executable." 1>&2 | |
exit 2 | |
fi | |
set -eu | |
shopt -s nullglob |
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 | |
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. |
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/sh | |
WEBDIR=yourwebdir | |
WORKSPACE=your/workspace | |
TEX_FILE_NAME=your_file | |
echo | |
echo "**** Pulling changes into Live [Hub's post-update hook]" | |
echo |
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 | |
################################################################################## | |
# 1 - Create the base container | |
SUITE=squeeze | |
RELEASE=$SUITE | |
sudo lxc-create -n ${RELEASE}-base -t debian | |
rootfs="/var/lib/lxc/${RELEASE}-base/rootfs" |
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
git config --global alias.fap '!f() { git pull --rebase; git push; }; f' |
NewerOlder