Skip to content

Instantly share code, notes, and snippets.

View seejay's full-sized avatar

Chanaka Jayamal seejay

View GitHub Profile

Keybase proof

I hereby claim:

  • I am seejay on github.
  • I am seejay (https://keybase.io/seejay) on keybase.
  • I have a public key ASBgt_Q22ldfkTOz2-doziFLey6yvFR1380JPUXpfxD7HAo

To claim this, I am signing this object:

@seejay
seejay / background.js
Created November 20, 2016 18:22 — forked from danharper/background.js
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});
@seejay
seejay / blogger2scriptogram.py
Created February 17, 2016 14:28 — forked from larsks/blogger2scriptogram.py
Convert Blogger posts to Markdown for use with Scriptogr.am
#!/usr/bin/python
import os
import sys
import argparse
import iso8601
import re
import subprocess
import logging
import json
@seejay
seejay / github.css
Created June 11, 2013 08:58 — forked from tuzz/github.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px;
color: #333;
}