$ mkdir -p ~/Library/Application\ Support/TextMate/Bundles
$ cd !$
$ svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/
$ osascript -e 'tell app "TextMate" to reload bundles'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- Helpful things to keep in your <head/> | |
// Brian Blakely, 360i | |
// http://twitter.com/brianblakely/ | |
--> | |
<head> | |
<!-- According to Heather Champ, former community manager at flickr, | |
you should not allow search engines to index your "Contact Us" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fluid Dock Badge for Trello | |
// @namespace http://fluidapp.com | |
// @description Display a dock badge for the Trello Dashboard with the number of new notifications | |
// @include *.trello.com | |
// @author Laurent Goussard | |
// ==/UserScript== | |
if (!window.fluid) { | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// javascript:javascript:%20function%20emailURL()%20{var%20r%20=%20%22you@example.com%22;var%20d%20=%20document;var%20x%20=%20%22mailto:%22%20+%20r%20+%20%22?subject=%22%20+%20d.title%20+%20%22&body=%22%20+%20d.location;window.location.href%20=%20x;}emailURL();void(0) | |
javascript: function emailURL() { | |
var r = "you@example.com"; | |
var d = document; | |
var x = "mailto:" + r + "?subject=" + d.title + "&body=" + d.location; | |
window.location.href = x; | |
} | |
emailURL(); | |
void(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request = require 'request' | |
# curl -u TOKEN:X -H 'Content-Type: application/json' -d '{"message":{"body":"Hello"}}' https://DOMAIN.campfirenow.com/room/ROOMID/speak.json | |
exports.room = room = (account, room, token) -> | |
send = (message, cb) -> | |
query = | |
url: "https://#{token}:X@#{account}.campfirenow.com/room/#{room}/speak.json" | |
json: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Brett's searches | |
@Brett's custom searches | |
go https://duckduckgo.com/?q=%21%20%s Open first result (DuckDuckGo) | |
b https://duckduckgo.com/?q=%21%s Bang search (DuckDuckGo) | |
grep https://www.cueup.com/?q=%s&fq=1 Greplin | |
ss https://duckduckgo.com/site:%d%20%s Current site (DuckDuckGo) | |
bt https://duckduckgo.com/site:brettterpstra.com%20%s BrettTerpstra.com (DuckDuckGo) | |
gh http://github.com/search?q=%s&type=Everything&repo=&langOverride=&start_value=1 Search GitHub (everything) | |
hints http://hints.macworld.com/search.php?query=%s&keyType=all&datestart=&dateend=&topic=0&type=stories&results=50&mode=search Search Mac OS X Hints | |
mu http://www.macupdate.com/find/mac/%s Search MacUpdate (Software) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> This is a Quix Command File | |
> | |
> For the syntax of this file, please refer to http://quixapp.com/syntax/ | |
> | |
> Dennis Pipper, @dennispipper, updated 6 Aug 2019 | |
@Basic commands | |
@These are the most basic commands Quix offers, but possibly also the most powerful ones. | |
e mailto:?subject=%t&body=%s%0A%0A%09%r%0A%0A Email link | |
imdb http://www.imdb.com/find?s=all&q=%s IMDB Search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach (file('/tweet-ids.txt') as $tweet_id) { | |
$tweet_id = trim($tweet_id); | |
$url = home_url('index.php').'?'.http_build_query(array( | |
'aktt_action' => 'import_tweet', | |
'tweet_id' => $tweet_id, | |
'social_api_key' => Social::option('system_cron_api_key') | |
), null, '&'); | |
// error_log('Importing tweet '.$tweet_id.' '.$url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Name: EXIFmover.py | |
# Author: Brian Klug (@nerdtalker / brian@brianklug.org) | |
# Purpose: | |
# Move Files into directory based on EXIF data make and model | |
# Designed to un-clusterfuck the Dropbox camera upload directory which is a mess of every | |
# JPEG and PNG ever if you use it like I do on a bunch of phones, and thus totally unwieldy | |
# and full of images sorted by date or else nothing sometimes, dropbox seems nondeterminstic | |
# Moves files into /[Image Make]+[Image Model]/ eg /Camera Uploads/LGE Nexus 4/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
if (!window.fluid) { | |
alert("This script is meant to be run in Fluid! You should disable it."); | |
return; | |
} | |
window.fluid.dockBadge = ''; | |
setInterval(newNotif, 500); |
OlderNewer