Skip to content

Instantly share code, notes, and snippets.

View rsbohn's full-sized avatar

Randall Bohn rsbohn

  • Rando Media
  • Orem Utah USA
View GitHub Profile
@rsbohn
rsbohn / Dockerfile
Last active August 29, 2015 14:06 — forked from anonymous/Dockerfile
A docker container for remotestorage.
# container for remotestorage "telepothekis"
# docker build -t remotestorage:latest
# docker run -d --link proxy_container:proxy remotestorage:latest
FROM dockerfile/nodejs
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y git
RUN git clone https://github.com/remotestorage/starter-kit.git /opt/remotestorage
@rsbohn
rsbohn / Dockerfile
Last active August 29, 2015 14:06 — forked from anonymous/Dockerfile
# container for remotestorage
# docker build -t remotestorage:latest https://gist.githubusercontent.com/rsbohn/f2106a47868f84d23519/raw/71bb980230a511d0a1924a84dbfee447d8f758d5/Dockerfile
# docker run -d -p 8001:8001 -p 8002:8002 remotestorage:latest
FROM ubuntu
RUN apt-get update
RUN apt-get install -y python-software-properties
RUN add-apt-repository ppa:chris-lea/node.js
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
@rsbohn
rsbohn / borg.ps1
Last active December 17, 2015 23:09 — forked from xunker/borg.rb
#not quite the same but still...
#(voices are limited on Windows 7)
#voices = %w[Agnes Alex Bruce Bubbles Fred Junior Kathy Princess Ralph Vicki Victoria]
$phrases = @(
"We are the Borg.",
"Lower your shields and surrender your ships.",
"We will add your biological and technological distinctiveness to our own.",
"Your culture will adapt to service us.",
"Resistance is futile."
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title>
<script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script>
<script type="text/javascript" charset="utf-8">
$(function () {
var extractToken = function(hash) {