Skip to content

Instantly share code, notes, and snippets.

View fferen's full-sized avatar

Kevin Han fferen

View GitHub Profile
@fferen
fferen / randhist.py
Created October 11, 2012 01:39
Python script to open a random page from Chrome's history
#!/usr/bin/env python2
import sqlite3
import os
import sys
import webbrowser as wb
import urllib2
for path in (
os.path.expanduser('~/.config/google-chrome/'),
os.path.expanduser('~/.config/chromium/'),