Skip to content

Instantly share code, notes, and snippets.

View audy's full-sized avatar
🔬

Austin Richardson audy

🔬
View GitHub Profile
@audy
audy / exhibits.txt
Last active December 9, 2019 21:48 — forked from agnaite/exhibits.txt
2017-04-01 2017-10-01 The Bear & Peacock Brewery Orlando, FL
2017-02-01 Nude Nite Orlando, FL
2016-09-01 Small Works Show City Arts Factory Orlando, FL
2016-08-01 Declaration of the Mind 1st Thursdays Orlando Museum of Art, FL
2016-07-01 Rock (People's Choice Award Winner) 1st Thursdays, Orlando Museum of Art, FL
2016-03-01 Viva La Diva 1st Thursdays, Orlando Museum of Art, FL
2016-03-01 Nude Nite Tampa, FL
2016-02-01 Peace and Harmony 1st Thursdays, Orlando Museum of Art, FL
2016-10-01 Winter Park, FL
2012-08-01 Vegas Gallery, Las Vegas, AZ
@audy
audy / sinatra-twitter-oauth-client.rb
Created July 7, 2016 03:33 — forked from renatoalbano/sinatra-twitter-oauth-client.rb
sinatra twitter client with oauth
# sinatra twitter client with oauth
require 'rubygems'
require 'sinatra'
# use http://github.com/moomerman/twitter_oauth gem
# gem sources -a http://gems.github.com
# gem install moomerman-twitter_oauth
require 'twitter_oauth'
@audy
audy / d3.phylogram.js
Created October 26, 2015 20:16 — forked from kueda/d3.phylogram.js
Right-angle phylograms and circular dendrograms with d3. To preview see http://bl.ocks.org/kueda/1036776
/*
d3.phylogram.js
Wrapper around a d3-based phylogram (tree where branch lengths are scaled)
Also includes a radial dendrogram visualization (branch lengths not scaled)
along with some helper methods for building angled-branch trees.
Copyright (c) 2013, Ken-ichi Ueda
All rights reserved.
@audy
audy / streams.m3u
Last active June 25, 2021 20:54 — forked from agnaite/streams.md
## USA
# WUFT Gainesville (News):
http://ice02.jou.ufl.edu:8000/wufthd164
# WUFT Gainesville (Classical)
http://ice01.jou.ufl.edu:8000/wufthd2256
# Grow Radio (Gainesville)
http://stream.growradio.org:8000/high-stream
# WFMU New York
http://stream0.wfmu.org/freeform-128k
file_to_disk = './tmp/large_disk.vdi'
Vagrant::Config.run do |config|
config.vm.box = 'base'
config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024]
config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
end
#!/usr/bin/env python
# calculate mean and variance of the sequence lengths in a large fasta file
# method taken from:
# http://math.stackexchange.com/questions/20593/calculate-variance-from-a-stream-of-sample-values
# m_k = m_(k-1) + x_k + m_(k-1)
# v_k = v_(k-1) + (x_k -m_(k-1))(x_k - m_k)
@audy
audy / script.py
Last active December 17, 2015 20:08 — forked from TheNZA/gist:5665001
def the_flying_circus():
# what's going on here?
True and True is True
# use parenthesis to make this statement not ambiguous
if (True and True) is False:
print "Horray"
elif False:
print "fuck"
else:
@audy
audy / digits_video.py
Created October 11, 2012 19:50 — forked from amueller/digits_video.py
Visualization of iris and digits datasets via random projections
# (c) 2012 Andreas Mueller amueller@ais.uni-bonn.de
# License: BSD 2-Clause
#
# See my blog for details: http://peekaboo-vision.blogspot.com
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation
#!/usr/bin/env ruby
sequence_starts = Array.new
filename = ARGV[0]
# preprocess
File.open(filename, "r") do |input|
input.each do |line|
if line =~ /^>/
@audy
audy / mergePairedReads.rb
Created August 22, 2012 16:19 — forked from yannickwurm/mergePairedReads.rb
Paste left read and right read from Illumina into a single megaread
#!/usr/bin/env ruby
require 'dna' # gem install dna
left, right = ARGV[0], ARGV[1]
left_handle = File.open(left)
right_handle = File.open(right)
left_records = Dna.new(left_handle)