Skip to content

Instantly share code, notes, and snippets.

View mallond's full-sized avatar
:electron:
-.- .--- --... -.- --. ---

David Mallon ⚙ mallond

:electron:
-.- .--- --... -.- --. ---
View GitHub Profile
sudo lsof -iTCP6 -sTCP:LISTEN -n -P
@mallond
mallond / keybase.md
Created April 6, 2020 18:49
keybase.md

Keybase proof

I hereby claim:

  • I am mallond on github.
  • I am blockelephant (https://keybase.io/blockelephant) on keybase.
  • I have a public key whose fingerprint is 8FBD 383D EB14 9807 3A2B F712 D267 1FCF 8CC7 8089

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am mallond on github.
* I am blockelephant (https://keybase.io/blockelephant) on keybase.
* I have a public key whose fingerprint is 8FBD 383D EB14 9807 3A2B F712 D267 1FCF 8CC7 8089
To claim this, I am signing this object:
@mallond
mallond / Node-RED_file_upload.json
Created January 17, 2020 19:27 — forked from natcl/Node-RED_file_upload.json
Node-RED file upload example with built-in http in node.
[
{
"id": "f1ffeb7e.f6451",
"type": "http in",
"z": "c29865fe.249648",
"name": "",
"url": "/upload",
"method": "get",
"upload": false,
"swaggerDoc": "",
Verifying my Blockstack ID is secured with the address 1C9XWvfCMFNvvm1gxQwLZfNkj3iFgWrSjD https://explorer.blockstack.org/address/1C9XWvfCMFNvvm1gxQwLZfNkj3iFgWrSjD
Verifying my Blockstack ID is secured with the address 1C9XWvfCMFNvvm1gxQwLZfNkj3iFgWrSjD https://explorer.blockstack.org/address/1C9XWvfCMFNvvm1gxQwLZfNkj3iFgWrSjD
Verifying my Blockstack ID is secured with the address 1C9XWvfCMFNvvm1gxQwLZfNkj3iFgWrSjD https://explorer.blockstack.org/address/1C9XWvfCMFNvvm1gxQwLZfNkj3iFgWrSjD
@mallond
mallond / index.js
Last active November 8, 2018 19:16
Rater
#!/usr/bin/env node
console.log("Help me, Rater 2, you are our only hope!")
@mallond
mallond / IPFS Cheats
Last active November 11, 2018 13:38
IOTA
ipfs add -r jelly "Recursively hash the jelly directory"
ipfs pin add <hashKey> "Pin the hash"
ipfs refs local "Show local stored hashes"
ipfs refs local | wc -l "Count local stored hashes"
ipfs config Addresses.API /ip4/172.31.87.113/tcp/5001
sudo systemctl stop ipfs
sudo systemctl start ipfs
@mallond
mallond / node example
Created August 29, 2018 22:38
Simple No Modules pure Node Example
/*
* Primary file for API
*
*/
// Dependencies
var http = require('http');
var url = require('url');
var StringDecoder = require('string_decoder').StringDecoder;