Skip to content

Instantly share code, notes, and snippets.

Simon Elvery drzax

Block or report user

Report or block drzax

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
@drzax
drzax / kill.sh
Created Jan 25, 2018 — forked from colingourlay/kill.sh
Kill McAfee
View kill.sh
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.
document.querySelector('.interactive_support_msg').parentNode.remove();
@drzax
drzax / iptv-to-hls.sh
Created Jun 1, 2017
IPTV to HTTP live streaming
View iptv-to-hls.sh
#!/bin/bash
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
else
View cricket
#!/usr/bin/env bash
open -n "/Applications/VLC.app" udp://@239.193.4.128:5000
/Applications/VLC.app/Contents/MacOS/VLC --no-audio udp://@239.193.4.70:5000 &
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) [*]
View keybase.md

Keybase proof

I hereby claim:

  • I am drzax on github.
  • I am drzax (https://keybase.io/drzax) on keybase.
  • I have a public key ASAu0GD9qAR89fvoGxk9gVM0ei1B1Knd_1a62ynvZ7unygo

To claim this, I am signing this object:

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

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

@drzax
drzax / elements.js
Created Dec 18, 2015
Javascript arrays
View elements.js
var elements = [
'Hydrogen',
'Helium',
'Lithium',
'Beryllium',
'Boron',
'Carbon',
'Nitrogen',
'Oxygen',
'Fluorine',
You can’t perform that action at this time.