Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Kanich kaytwo

View GitHub Profile
View gist:62049fe07eb5b68fbd9e
python -c "from random import choice; print ''.join([choice('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%^*(-_=+)') for i in range(32)])"
@kaytwo
kaytwo / httpd.conf
Created Nov 2, 2015
multiconference hotcrp
View httpd.conf
<VirtualHost *:80>
ServerAdmin ckanich@uic.edu
DocumentRoot /var/www/html
<Directory "/home/ckanich/hotcrp">
Options Indexes FollowSymLinks Includes
AllowOverride all
Require all granted
</Directory>
Alias /conference1 /home/ckanich/hotcrp
View keybase.md

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:

View puppeteer-with-adblock.js
'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
*/
View brave-issue.md

This issue has an attachment.

You can’t perform that action at this time.