Skip to content

Instantly share code, notes, and snippets.

View ErebusBat's full-sized avatar

Andrew Burns ErebusBat

  • Traction Guest
  • Casper, WY
View GitHub Profile
@ErebusBat
ErebusBat / ytcenter-check.go
Last active August 29, 2015 14:10
YouTubeCenter Version Checker
///
// YouTube Center Checker
//
// A very messy golang script to download the chrome manifest from the
// YouTubeCenter (https://github.com/YePpHa/YouTubeCenter) repo and display it
//
// This is more of a learning exercise than a useful utility.
package main
@ErebusBat
ErebusBat / _boxcar.py
Created April 26, 2013 14:45
Simple Boxcar.io notifier strategy for goxtool
import urllib.request, urllib.error, urllib.parse
import platform
import sys
import configparser
import os
from optparse import OptionParser
from time import time
def notify(username, password, sender, message):
url = 'https://boxcar.io/notifications'
@ErebusBat
ErebusBat / _balancer.py
Last active December 16, 2015 15:09 — forked from prof7bit/.gitignore
"""
The portfolio rebalancing bot will buy and sell to maintain a
constant asset allocation ratio of exactly 50/50 = fiat/BTC
"""
import strategy
import goxapi
DISTANCE = 7 # percent price distance of next rebalancing orders
MARKER = 7 # lowest digit of price to identify bot's own orders
@ErebusBat
ErebusBat / deploy.rb
Created November 18, 2011 06:01
Unicorn / rvm /capistrano
set :application, "quibbler"
set :repository, "git@tuxbox.whf.app:quibbler.git"
set :scm, :git
set :branch, 'cap'
ssh_options[:forward_agent] = true
set :deploy_via, :remote_cache
#set :git_enable_submodules, 1
set :user, 'root'
#default_run_options[:pty] = true
@ErebusBat
ErebusBat / README.md
Created August 18, 2011 20:31
Ubuntu Lucid Rails Server Configs
@ErebusBat
ErebusBat / gist:876122
Created March 18, 2011 14:07
Section of rails application template that is causing issues.
# For ideas, see: https://github.com/madebydna/rails-templater
# Create GIT repository
git :init
append_file '.gitignore', '.idea/' #RubyMine files
#git :add => '.'
git :commit => '-a -m "New rails from template"'
# gems
gem 'haml', '>= 3.0.25'