Skip to content

Instantly share code, notes, and snippets.

View ralphtheninja's full-sized avatar
🏠
Working from home

ralphtheninja

🏠
Working from home
View GitHub Profile

Title

test bla bla

# title

lets write some text that [references a section](#section)

## section
@ralphtheninja
ralphtheninja / foo.js
Created December 11, 2017 12:52
node-errno
const create = require('.').create
const CustomError = require('.').custom.CustomError
const inherits = require('inherits')
// inherits from CustomError (which inherits from Error)
const MyError = create('MyError')
const MyError3 = create('MyError3', MyError)
// same but using traditional inheritance
function MyError2 (message, cause) {
module levelup
version
downloads in the
last 30 days
total downloads
level-sublevel ~0.19.0 151,300 1,226,226
pouchdb 1.3.8 124,983 1,162,731
browserify-fs ^0.18.2 100,027 458,142
pouchdb-adapter-leveldb-core 1.3.8 97,566 419,461
level-packager ~1.3.0 74,165 758,119
merkle-patricia-tree ^1.2.1 13,231 127,025
dynalite ^1.3.3 10,553 258,090
mosca ^1.3.8 9,513 171,844
@ralphtheninja
ralphtheninja / gist:a75614b6dddfdb8c71720cdab57b7013
Created August 16, 2017 18:17 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:

🇸🇪

:world:

:global:

🇩🇰

:europe:

@ralphtheninja
ralphtheninja / readme.md
Created July 20, 2017 14:51 — forked from max-mapper/readme.md
DIY DAT DYNDNS

for ubuntu, to set up a dynamic dns service that tells you what the external ip of some machine is

  • npm install dat lil-pids run-every add-to-systemd -g
  • mkdir ipdat; cd ipdat; dat create; cd ..;
  • edit file services with this:
cd ipdat && dat sync
cd ipdat && run-every 3600 curl ipinfo.io/ip > ip.txt

Keybase proof

I hereby claim:

  • I am ralphtheninja on github.
  • I am ralphtheninja (https://keybase.io/ralphtheninja) on keybase.
  • I have a public key ASAsO9iKj6IG1uhECAKP8g6i874_YWEsUu5VleUF6DCGJgo

To claim this, I am signing this object:

function createBot () {
var board = new five.Board()
var oled
board.on('ready', function () {
console.log('Connected to Arduino, ready.')
// I2C va USB
var opts = {
width: 128,
height: 64,