This is used for server config notes. see http://wiki.whf.app/display/IT/nurmengard1+Server
This file contains hidden or 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
/// | |
// 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 |
This file contains hidden or 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
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' |
This file contains hidden or 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
""" | |
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 |
This file contains hidden or 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
set :application, "quibbler" | |
set :repository, "[email protected]: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 |
This file contains hidden or 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
# 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' |
NewerOlder