The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
server.log("Device Started"); | |
function arduinoData() | |
{ | |
// Read the UART for data sent by Arduino to indicate | |
// the state of its LED. | |
local b = arduino.read(); | |
while(b != -1) | |
{ |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2015-09-24-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
There are a few additional steps I noticed to setting up a Sinatra app to work on Dokku. (These are probably also required for deploying an app to Heroku.)
original app.rb
require 'sinatra'
get '/' do
"Your Sinatra app is not quite Dokku-fied!"
end
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rvm' # for rvm support. (http://rvm.io) | |
set :domain, 'esdb.cn' | |
set :identity_file, '/User/somebody/.ssh/somebody.pem' | |
set :deploy_to, '/home/ubuntu/apps/xxx.com' | |
set :repository, 'ssh://[email protected]/somebody/xxx.com.git' | |
set :branch, 'master' |
0815.ru | |
0wnd.net | |
0wnd.org | |
10minutemail.co.za | |
10minutemail.com | |
123-m.com | |
1fsdfdsfsdf.tk | |
1pad.de | |
20minutemail.com | |
21cn.com |