I hereby claim:
- I am charles-hollenbeck on github.
- I am sh (https://keybase.io/sh) on keybase.
- I have a public key whose fingerprint is 8762 193C 76E2 F523 51B5 CD7D DB36 7B85 5DB9 4335
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'net/https' | |
require 'uri' | |
require 'json' | |
PUSHBULLET_API_URL = "https://api.pushbullet.com/api/pushes" | |
PUSHBULLET_API_KEY = "" | |
PUSHBULLET_DEVICE_ID = "" | |
# make root only later |
# -*- mode: ruby; encoding: utf-8 -*- | |
require 'albacore' | |
require 'win32/shortcut' | |
task :default => :shortcut | |
BUILD_DIR='viewer-local' | |
ENV['LANG'] = 'C' |
#!/bin/bash | |
size=$(du /home/charles/screenshots --bytes | grep '[0-9]*' -o) | |
max=$(expr 1024 \* 1024 \* 1024 \* 2) | |
if [[ "$size" -gt "$max" ]]; then | |
rm /home/charles/screenshots/* | |
fi |
\curl -sSL https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.0.0 | |
rvm use 2.0.0 | |
gem install bundler |
#!/usr/bin/env ruby | |
# Change all of the A records in your cloudflare account to point at a new IP | |
# chmod +x file.rb;./file.rb to run | |
# Example command: ./file.rb <ip> or let it prompt you | |
require 'cloudflare' # Laziness at it's best; Source: https://github.com/B4k3r/cloudflare | |
# Just some coloring crap | |
class String | |
def colorize(color_code); "\e[#{color_code}m#{self}\e[0m" end |
<? | |
class Pastebin{ | |
private $token; | |
private $devkey; | |
private $loginURL = 'http://www.pastebin.com/api/api_login.php'; | |
private $pasteURL = "http://www.pastebin.com/api/api_post.php"; | |
function __construct($devkey){ | |
$this ->devkey = $devkey; | |
} | |
function login($username, $password){ |
#!/bin/bash | |
#Simple script to push to muliple git repos at once | |
#Usage: gitpush remote1 remote2 remote3 | |
for var in "$@" | |
do | |
git push -u "$var" master | |
done |
/******************************************************* | |
* Plugs in Arkfall Keys into the website for Defiance * | |
********************************************************/ | |
import java.awt.event.KeyEvent; | |
import java.awt.AWTException; | |
import java.awt.Robot; | |
public class SendKeys { | |
public static void main(String[] args) throws AWTException, InterruptedException{ |
#!/bin/sh | |
#A simple script to clean out a directory except for the files you wish to save | |
for file in "$@" | |
do | |
mv -v $file .. | |
done | |
rm -rv * | |
for file in "$@" | |
do |