Skip to content

Instantly share code, notes, and snippets.

View gawbul's full-sized avatar

Steve Moss gawbul

View GitHub Profile
@blahah
blahah / open-fellowships.md
Last active August 29, 2015 13:56
Fellowships and funding for best practise and openness

Open science & data

Scientific software best practise

@blahah
blahah / seqahead_software.md
Last active August 29, 2015 13:59
TGAC SeqAhead software requirements
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrwilson
mrwilson / do_codes_20140729.yml
Last active August 29, 2015 14:04
get_digital_ocean_codes.sh
# regions
do_regions_sfo1: 3
do_regions_nyc2: 4
do_regions_ams2: 5
do_regions_sgp1: 6
do_regions_lon1: 7
# sizes
do_sizes_32gb: 60
do_sizes_16gb: 61
@blahah
blahah / dev_setup.sh
Last active August 29, 2015 14:05
OSX dev setup (wip)
# Ask for the administrator password upfront
sudo -v
# homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew doctor
# Ruby Version Manager & latest Ruby
\curl -sSL https://get.rvm.io | bash -s stable --ruby
source ~/.rvm/scripts/rvm
@rocky
rocky / .gitignore
Last active August 29, 2015 14:12
VEP speedup testing
/_Inline
@dcjones
dcjones / gist:9f20218f58e438c96476
Created May 21, 2015 16:17
Random FASTQ entries
function main()
if length(ARGS) < 2
println(STDERR, "Usage: fastq_rnd_seek_proper.jl filename numsamples")
exit()
end
filename = ARGS[1]
numsamples = parse(Int, ARGS[2])
pattern = r"@.+[\n\r]+[A-Z-]+[\n\r]+\+[\n\r]+.+[\n\r]{0,1}"
2015-06-10 19:58:21 +1000
python
-c
import setuptools, tokenize
__file__ = 'setup.py'
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
.replace('\r\n', '\n'), __file__, 'exec'))
--no-user-cfg
install
@odrobnik
odrobnik / gist:2669542
Created May 12, 2012 22:43
Dropquest 2012 - Answer 1 Solution as C Program
int test(int a, int b, int c, int d, int e)
{
if ((a*b) != 24) return 0;
if (d != (b/2)) return 0;
if ((a+c)!=(d+e)) return 0;
if ((a+b+c+d+e) != 26) return 0;
// count occurences of digits
int counts[10] = {0,0,0,0,0,0,0,0,0,0};
@timelyportfolio
timelyportfolio / Readme.md
Last active December 15, 2015 02:49
One Pager Performance Report with R, knitr, and XeLaTeX.

One Pager Performance Report with knitr, R, and a Different Font

Although I suffer from complete ignorance of typography, with a little help from a post from Hyndsight and post from mages' blog, I wanted to try a different font on the one-pager performance report that we created in Onepager Now with knitR. I do not think Open Sans Light is the best choice for this report, but since it is the most popular font on Google I figured I could not be criticized too heavily by those more knowledgeable than me in typography.

options(tikzDefaultEngine = "xetex")

require(knitr)