Skip to content

Instantly share code, notes, and snippets.

View schappim's full-sized avatar
💤
Sleeping . +10GMT

Marcus S schappim

💤
Sleeping . +10GMT
View GitHub Profile
@schappim
schappim / disposable-email-provider-domains
Last active October 10, 2020 03:10
List of disposable email provider domains
0815.ru
0wnd.net
0wnd.org
10minutemail.co.za
10minutemail.com
123-m.com
1fsdfdsfsdf.tk
1pad.de
20minutemail.com
21cn.com
@schappim
schappim / deploy.rb
Created March 31, 2016 18:54
Deply Rails App with Puma and Nginx via Mina
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'
@schappim
schappim / sinatra_dokku.md
Created November 17, 2015 05:01 — forked from underhilllabs/sinatra_dokku.md
Setting up a Sinatra app on Dokku

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
@schappim
schappim / raspberry-pi-vpn-router.md
Created October 25, 2015 20:36 — forked from superjamie/raspberry-pi-vpn-router.md
Raspberry Pi VPN Router

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

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:

@schappim
schappim / ArduinoUART.device.nut
Last active August 29, 2015 14:26 — forked from electricimp/ArduinoUART.device.nut
Basic imp <--> Arduino code example
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)
{

Contract Killer

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