This file contains 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
# 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 |
This file contains 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
# 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 |
This file contains 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
#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." |
This file contains 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
<!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) { |