Skip to content

Instantly share code, notes, and snippets.

View xguse's full-sized avatar

Gus Dunn xguse

View GitHub Profile
@xguse
xguse / 0_reuse_code.js
Created February 2, 2014 23:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@xguse
xguse / fig_with_caption.html
Created February 2, 2014 23:32
Add a figure with a caption in HTML
<figure>
<center>
<img src="PathToImg" width="300" />
<figcaption>CaptionText <a href="LinkAddress">LinkText</a></figcaption>
</center>
</figure>
@xguse
xguse / setup.sh
Created June 8, 2014 11:50
small pacman setup script
#/bin/bash
sudo pacman -Syy
sudo pacman -S flashplayer
@xguse
xguse / install-me.txt
Last active August 29, 2015 14:02
stuff to install for a happy system
base-devel
gvim
meld
python2-pip
hyphen
hunspell
hyphen-en
hunspell-en
@xguse
xguse / config-git.sh
Last active August 29, 2015 14:02
stuff to set up git how i like it
git config --global user.email "wadunn83@gmail.com"
git config --global user.name "Gus Dunn"
git config --global color.ui true
git config --global user.signingkey "${HOME}/.ssh/id_rsa.pub"
git config --global core.editor vim
git config --global merge.tool meld
@xguse
xguse / spartan_reqs.txt
Created June 21, 2014 15:28
Install spartan from requirements file
git+https://github.com/xguse/spartan.git@dev#egg=spartan
git+https://github.com/xguse/sanitize.git@gus_mod#egg=sanitize
| Loading Grails 2.2.5
| Configuring classpath
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/prototype'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabBackend'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabBarcode'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabAttachments'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabStorage'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabGeneTracker'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabNotes'.
gus@tardis ~/src/OLF_upstream[8:38:44]
> $ grails clean
| Configuring classpath
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/prototype'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabBackend'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabBarcode'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabAttachments'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabStorage'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabGeneTracker'.
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabNotes'.
rm -rf $HOME/src/OLF_upstream/
git clone --recursive git@github.com:NanoCAN/OpenLabFramework.git OLF_upstream
cd $HOME/src/OLF_upstream/
grails war > war_output.txt
Cloning into 'OLF_upstream'...
Submodule 'modules/OpenLabAttachments' (git@github.com:NanoCAN/OpenLabAttachments.git) registered for path 'modules/OpenLabAttachments'
Submodule 'modules/OpenLabBackend' (git@github.com:NanoCAN/OpenLabBackend.git) registered for path 'modules/OpenLabBackend'
Submodule 'modules/OpenLabBarcode' (git@github.com:NanoCAN/OpenLabBarcode.git) registered for path 'modules/OpenLabBarcode'
Submodule 'modules/OpenLabGeneTracker' (git@github.com:NanoCAN/OpenLabGeneTracker.git) registered for path 'modules/OpenLabGeneTracker'
Submodule 'modules/OpenLabNotes' (https://github.com/NanoCAN/OpenLabNotes) registered for path 'modules/OpenLabNotes'
Submodule 'modules/OpenLabStorage' (git@github.com:NanoCAN/OpenLabStorage.git) registered for path 'modules/OpenLabStorage'
Submodule 'prototype' (git@github.com:mlist/grails-prototype.git) registered for path 'prototype'
Cloning into 'modules/OpenLabAttachments'...
Submodule path 'modules/OpenLabAttachments': checked out '2089dc19fb98bc66e5573731cbc9f1