Skip to content

Instantly share code, notes, and snippets.

View kaytwo's full-sized avatar

Chris Kanich kaytwo

View GitHub Profile

This issue has an attachment.

'use strict';
const puppeteer = require('puppeteer');
(async () => {
/* PRECONDITION:
0. download ublock, I used https://github.com/gorhill/uBlock/releases/download/1.14.19b5/uBlock0.chromium.zip
1. run $PATH_TO_CHROME --user-data-dir=/some/empty/directory --load-extension=/location/of/ublock
2. enable block lists you want to use
*/

Keybase proof

I hereby claim:

  • I am kaytwo on github.
  • I am kaytwo (https://keybase.io/kaytwo) on keybase.
  • I have a public key whose fingerprint is 4347 846B 1AB1 8112 3C11 DB7A 4BF5 8AF6 F19C 1645

To claim this, I am signing this object:

@kaytwo
kaytwo / httpd.conf
Created November 2, 2015 15:20
multiconference hotcrp
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html
<Directory "/home/ckanich/hotcrp">
Options Indexes FollowSymLinks Includes
AllowOverride all
Require all granted
</Directory>
Alias /conference1 /home/ckanich/hotcrp
python -c "from random import choice; print ''.join([choice('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%^*(-_=+)') for i in range(32)])"