Skip to content

Instantly share code, notes, and snippets.

@patrickwelker
patrickwelker / command.js
Last active December 28, 2015 07:29 — forked from JoelBesada/README.md
GrabLinks Backtick
(function(){var p=document.createElement("p");p.innerHTML="<strong>Loading&hellip;</strong>";p.id="loadingp";p.style.padding="20px";p.style.background="#fff";p.style.left="20px";p.style.top=0;p.style.position="fixed";p.style.zIndex="9999999";p.style.opacity=".85";document.body.appendChild(p);document.body.appendChild(document.createElement("script")).src="https://gist.github.com/ttscoff/5834741/raw/grablinks.js?x="+(Math.random());})();
@patrickwelker
patrickwelker / Railscast2.tmTheme
Created July 19, 2012 20:51 — forked from smlombardi/Railscast2.tmTheme
Modified version of Railscast theme for Textmate/Sublime Text 2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Railscasts 2</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@patrickwelker
patrickwelker / gist:2405115
Created April 17, 2012 10:26 — forked from rfbrazier/gist:1077160
Create an OmniFocus task from the current URL of the active Chrome tab
tell application "Google Chrome"
set theTitle to title of active tab of front window
set theURL to URL of active tab of front window
end tell
tell application "OmniFocus"
set theDoc to default document
set theTask to theTitle
set theNote to theURL
@patrickwelker
patrickwelker / responsive-iframes.css
Created March 5, 2012 12:47 — forked from aarongustafson/responsive-iframes.css
Responsive iFrames with jQuery
iframe {
max-width: 100%;
}