Skip to content

Instantly share code, notes, and snippets.

View beveradb's full-sized avatar

Andrew Beveridge ☄️ beveradb

View GitHub Profile
@beveradb
beveradb / pypi-release-checklist.md
Last active February 2, 2019 02:08 — forked from audreyfeldroy/pypi-release-checklist.md
My PyPI Release Checklist
  • Finish work, committing all changes. Check you've got no uncommitted changes before following this list:
git status
  • Merge any remote changes to master:
git pull
  • Run the tests to ensure you're not releasing broken functionality:
const WebSocket = require('ws');
// Turns out you don't need to dump packets at all - you don't even need a valid API key or device ID when it's in LAN mode.
// All you need to know is the IP address of the device, as it happily accepts WebSocket messages with any string as the "apikey".
const IPADDRESS = '192.168.0.72';
const seq = () => String(Date.now());
const ws = new WebSocket('ws://' + IPADDRESS + ':8081', [ 'chat' ]);
const nonce = 'nonce';