Skip to content

Instantly share code, notes, and snippets.


Chris Kanich kaytwo

View GitHub Profile

This issue has an attachment.

View puppeteer-with-adblock.js
'use strict';
const puppeteer = require('puppeteer');
(async () => {
0. download ublock, I used
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 ( 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 / httpd.conf
Created Nov 2, 2015
multiconference hotcrp
View httpd.conf
<VirtualHost *:80>
DocumentRoot /var/www/html
<Directory "/home/ckanich/hotcrp">
Options Indexes FollowSymLinks Includes
AllowOverride all
Require all granted
Alias /conference1 /home/ckanich/hotcrp
View gist:62049fe07eb5b68fbd9e
python -c "from random import choice; print ''.join([choice('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%^*(-_=+)') for i in range(32)])"