Skip to content

Instantly share code, notes, and snippets.

AJ ONeal solderjs

Block or report user

Report or block solderjs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am solderjs on github.
  • I am coolaj86 ( on keybase.
  • I have a public key ASBx6TW7f-aodsoh2QOBm9sbE97XmluRSwuaiMAUMwmQswo

To claim this, I am signing this object:

solderjs /
Last active Jul 30, 2019
Installing libdvdcss on macOS Sierra

libdvdcss.pkg will no longer install on OS X (now macOS).

Here's how to build and install libdvdcss.2.dylib so that you can use it with, for example, VLC and/or Handbrake.

The old way

solderjs / group-ward-members.js
Last active Feb 13, 2017
Count ward members by last names grouped
View group-ward-members.js
var names = [];
var namesMap = {};
var manualChecks = [];
var $members = $('.batchphoto').find('.photoDirectoryName');
var maxGroupSize = Math.floor($members.length / 4);
maxGroupSize *= 1.10;
var groups = [{ name:'', size: 0, members: [] }, { name: '', size: 0, members: [] }, { name: '', size: 0, members: [] }, { name: '', size: 0, members: [] }];
var groupIndex = 0;
'abcdefghijklmnopqrstuvwxyz'.split('').forEach(function (ch) {
solderjs / 00-netflix-export-my-list.js
Last active Dec 12, 2017
Exported My List from NetFlix
View 00-netflix-export-my-list.js
// Go to
// Run this script:
solderjs /
Last active Sep 28, 2016
node.js tls muxer tangent


Until node has QUIC support and firewalls are widely updated to allow encrypted udp on 443, https is the only reliable way to punch through. Because of the custom headers, bare OpenVPN is very easily blocked and running encrypted udp traffic even on 53 will get dropped by many firewalls.

The kinds of people that are technically illiterate enough to be using something like this instead of OpenVPN are the kind of people that won't be technically literate enough to choose a buggy ssh client - they'll be using standard OpenSSH or putty - and they'll need to use a generated config file with the necessary openssl ProxyCommand.

Also, for the technically literate that use OpenVPN they would be using something like this because they're already operating in a harsh environment and it's a very easy config file change to turn of the encryption to reduce the overhead.

In both cases, they must be wrapped in something with SNI or otherwise there's no way to reliably m

solderjs / tcp-http-spy.js
Last active Sep 4, 2018
Raw TCP and TLS to HTTP and HTTPS in node.js
View tcp-http-spy.js
'use strict';
var net = require('net');
var http = require('http');
var http80 = http.createServer(function (req, res) {
res.end('Hello, World!');
var tcp80 = net.createServer(function (client) {


But if you do, here's how to fix it:

sudo chown -R $(whoami) ~/node*                # ~/node_modules
sudo chown -R $(whoami) ~/.node*               # .node-gyp
sudo chown -R $(whoami) ~/.npm*                # .npm .npmrc
sudo chown -R $(whoami) /usr/local/*/*node*    # node node_modules
sudo chown -R $(whoami) /usr/local/*/*npm*     # npm

node.js with sqlcipher on pine64


cat /etc/issue
Debian GNU/Linux 8 \n \l


How to generate an answering machine tone with Audacity

Generally an answering machine tone is a 1000 Hz sine wave that lasts 1 second.

Generate => Tone => OK
Sine Waveform
You can’t perform that action at this time.