Skip to content

Instantly share code, notes, and snippets.

@SomeoneWeird
SomeoneWeird / handshake-airdrop.md
Last active May 7, 2021 01:20 — forked from KoryNunn/handshake-airdrop.md
Handshake airdrop for github users.

Had 15 github followers in 2019? You can get about $4kAUD of crypto for minimal effort.

Explain this scam

That's legitimately a good default position to hold, however, in this case, the free money is a function of time, and not only charity.

In February 2020, in order to promote Handshake (HNS) to developers, an airdrop was offered to any Github user with more than 15 followers. The Airdrop would give you 4246HNS, at the time, worth around at $0.08USD per coin, for a total of $339.68USD, pretty generous!

Today, 4246HNS is worth around $4000 dollarydoos, and there are plenty of github users who haven't claimed theirs.

@SomeoneWeird
SomeoneWeird / disable-ipv6.sh
Created July 20, 2017 01:31 — forked from kwilczynski/disable-ipv6.sh
Amazon Linux OS tweaks
#!/bin/bash
set -u
set -e
set -o pipefail
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf
var signaturePadParentClass = document.getElementById('signature-pad');
var signaturePadParentData = signaturePadParentClass.dataset.parent;
var signaturePadChildData = signaturePadParentClass.dataset.child;
var signaturePadConstructor = [];
signaturePadConstructor.push(signaturePadParentData, signaturePadChildData)
var signaturePadConstructor = new signaturePadConstructor({
backgroundColor: 'rgba(255, 255, 255, 0)',
penColor: 'rgb(0, 0, 0)'
});
//Takes a url to JSON data and returns an object
function req(url, cb) {
var r = new XMLHttpRequest();
r.open('GET', url, true);
r.onload = function() {
if(this.status != 200) return cb(new Error("Expected 200 got " + this.status));
try {
var data = JSON.parse(this.response)
} catch(e) {
$(document).ready(function() {
var directions = {
'east': {
value: 1,
class: 'fromWest'
},
'southeast': {
value: 4,
class: 'fromNorthwest'
/* Consumer.js */
var Consumer = function() {};
Consumer.prototype.findById = function(id) {
this.emit('done', this);
};
util.inherits(Consumer, EventEmitter);
module.exports = Consumer;
/* index.js */
var http = require('http');
var express = require('express');
var ejs = require('ejs');
var app = express();
app.set('view engine', 'ejs');
app.use(express.bodyParser());
app.get('/', function(req, res) {
// CreativeMUD by whiskers75
// Licenced under the GPLv2.
var sockets = [];
var players = [];
var repl = require('repl');
var net = require('net');
var len = 0;