Skip to content

Instantly share code, notes, and snippets.

View jgmarcel's full-sized avatar

Jan M Ientile jgmarcel

View GitHub Profile
@jgmarcel
jgmarcel / procedure-to-archive-git-branches.md
Last active September 5, 2021 01:30 — forked from zkiraly/procedure-to-archive-git-branches.md
Procedure to archive git branches
@jgmarcel
jgmarcel / Open in Google Chrome.scpt
Last active December 13, 2015 19:58 — forked from tjluoma/Open in Google Chrome.scpt
Modified version of TJ Luoma's Open in Google Chrome script. Makes new windows open in Incognito mode.
tell application "Safari"
set vURL to URL of current tab of window 1
end tell
tell application "Google Chrome"
if it is running then
tell application "System Events" to set frontmost of process "Google Chrome" to true
set theIncognitoWindow to null
repeat with theCurrentWindow in windows
if mode of theCurrentWindow is "incognito" then
@jgmarcel
jgmarcel / tu2ifttt.py
Created July 5, 2012 21:20
Modified version of Dr. Drang's ThinkUp db -> text file script. Adds timestamp conversion from UTC to local time.
#!/usr/bin/python
import csv
import os
import time
import calendar
import sys
# Put your Twitter username here.
me = "drdrang"
@jgmarcel
jgmarcel / tu2ifttt-bt.py
Created July 5, 2012 20:20 — forked from ttscoff/tu2ifttt-bt.py
Modified version of Dr. Drang's ThinkUp db -> text file script. Adds Markdown formatting and t.co expansion.
#!/usr/bin/python
import csv
import os
import time
import calendar
import sys
import re
import urllib2