Skip to content

Instantly share code, notes, and snippets.

drzax /
Last active Jan 28, 2020
Quick and dirty twitter scraper.
  1. Get to the page with tweets you want to scrape.
  2. Throw the content of scrape.js into the console.
  3. console.log(JSON.stringify(Array.from(captured).map(d => d[1]), null, 2))
drzax /
Created Jan 25, 2018 — forked from colingourlay/
Kill McAfee
sudo /usr/local/McAfee/AntiMalware/VSControl stopoas
sudo killall VShieldService
sudo killall VShieldScanner
View index.js
/** @jsx Preact.h */
import Preact from 'preact';
import Stage from './components/stage';
const container = document.querySelector('[data-encryption-explainer]');
const stage = container.querySelector('.scrollyteller-stage');
// Get rid of support message.
drzax /
Created Jun 1, 2017
IPTV to HTTP live streaming
while true; do
currTime=`date +%Y%m%d%H%M`
if [ "$currTime" -ge 201507081658 -a "$currTime" -le 201507082300 ]; then
echo "$currTime: Stream should be on. Start ffmpeg if the process does not exist"
if [ "$(pidof ffmpeg)" ]; then
echo "$currTime: ffmpeg already running."
sleep 10
View cricket
#!/usr/bin/env bash
open -n "/Applications/" udp://@
/Applications/ --no-audio udp://@ &
View data.rive
+ [*] who is (@candidate) [*]
- <call>candidate-info:who <star></call>
+ [*] who (@candidate) is [*]
@ who is <star>
+ [*] what [*] about [*] (@candidate) [*]
@ who is <star>
+ [*] what [*] (@candidate) [*] (electorate|seat) [*]

Keybase proof

I hereby claim:

  • I am drzax on github.
  • I am drzax ( on keybase.
  • I have a public key ASAu0GD9qAR89fvoGxk9gVM0ei1B1Knd_1a62ynvZ7unygo

To claim this, I am signing this object:

drzax / .block
Last active Feb 12, 2021
Narrative Charts
View .block
license: mit
scrolling: true
height: 300
drzax /
Last active Mar 3, 2016 — forked from colingourlay/
esnextbin sketch
We couldn’t find that file to show.
drzax /
Created Jan 25, 2016 — forked from eesur/
d3 | Reusable slopegraph

Reusable slopegraph inspired/adapted from Ben Van Dyke's example into a reusable chart.

This slopegraph example shows the number of personal computers installed in a country per household. This includes desktop PCs and laptops, but excludes smartphones and terminals connected to mainframe computers. All figures are calculated using total number of Personal Computers and the Total Number of Households.

data source