Skip to content

Instantly share code, notes, and snippets.

View filmgirl's full-sized avatar

Christina Warren filmgirl

View GitHub Profile
@paulirish
paulirish / gist:526168
Created August 16, 2010 00:42 — forked from anonymous/>
<!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"
@loranger
loranger / userscript.js
Created September 27, 2011 10:43
Trello badge userscript for FluidApp
// ==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;
}
@brianpartridge
brianpartridge / gist:2406408
Created April 17, 2012 14:40
Bookmarklet to email a link to the current page.
// 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)
@seanhess
seanhess / campfire.coffee
Created May 2, 2012 14:09
trello campfire
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:
@trey
trey / getbundles.md
Created May 18, 2012 02:32
Installing GetBundles on a Fresh Copy of TextMate

Installing GetBundles on a Fresh Copy of TextMate

$ 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'

Sources

@ttscoff
ttscoff / brettquix.txt
Created May 23, 2012 02:32
Brett's Quix File
@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)
@dennispipper
dennispipper / quix.txt
Last active September 7, 2023 23:43
Dennis' QuixApp file
> 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
@alexkingorg
alexkingorg / backfill-tweets.php
Created August 25, 2012 20:25
Import a list of tweet ids into Twitter Tools/WordPress.
<?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);
@nerdtalker
nerdtalker / EXIFmover.py
Last active April 8, 2017 14:34
EXIFmover - Moves Dropbox Camera uploaded Images into sensible directories
# 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/
@marclipovsky
marclipovsky / trello-for-fluidapp.js
Created January 18, 2013 18:17
Trello Growl and New Notification Badge Count Support for FluidApp
(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);