Skip to content

Instantly share code, notes, and snippets.

James Brooking jambroo

Block or report user

Report or block jambroo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jambroo / upload.rb
Created Sep 13, 2017
Use ruby to upload photos to google cloud bucket
View upload.rb
require "google/cloud/storage"
def procdir(dir)
Dir[ File.join(dir, '**', '*') ].reject { |p| p }
def same_file(f, f2)
return File.exist?(f) && File.exist?(f2) && (File.size(f) == File.size(f2))
View gist:fc4ec83647e41a79464b
<!DOCTYPE html>
#song {
background-color: #CCC;
#song div {
width: 0;
jambroo /
Created Feb 9, 2015
Private note generation
import os, random, struct
from Crypto.Cipher import AES
from Crypto import Random
import md5, sys, getpass, filecmp, json, shutil
from datetime import datetime
import time
class PrivateNote:
def __init__(self, fileName):
You can’t perform that action at this time.