Skip to content

Instantly share code, notes, and snippets.

> Merlin Mann's Custom Quix Commands
> TITLE: mann-quix-d.txt
> REMARKS: Hello, world. Under construction. Dilute! Dilute!
> GITHUB: http://gist.github.com/290059
> MORE: http://quixapp.com
> UPDATED: 2010-02-07_13-07-54
@Merlin Mann's Custom Quix Commands
@May organize these better once they all stabilize
bit javascript:var%20e=document.createElement('script');e.setAttribute('language','javascript');e.setAttribute('src','http://bit.ly/bookmarklet/load.js');document.body.appendChild(e);void(0); Make a bit.ly link
cal javascript:var%20s;if(window.getSelection){s=window.getSelection();}else{s=document.selection.createRange().text;}var%20t=prompt('Please%20enter%20a%20description%20for%20the%20event',s);if(t){void(window.open(encodeURI('http://www.google.com/calendar/event?ctext='+t+'&action=TEMPLATE&pprop=HowCreated%3AQUICKADD'),'gcal'));}else{void(s);} Add event to Google Calendar
@ctaloi
ctaloi / hack.sh
Created March 31, 2012 14:20 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@ctaloi
ctaloi / gist:3012388
Created June 28, 2012 16:38 — forked from chrismatthieu/gist:1670592
Phono 0.3 Java Applet
<html>
<head>
<script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script src="http://s.phono.com/releases/0.3/jquery.phono.js"></script>
</head>
<body>
<input id="call" type="button" disabled="true" value="Loading..." />
<span id="status"></span>
/* Kitchen Sink */
$(document).ready(function() {
var phonos={}, calls={}, chats={};
function createNewPhono(){
//Clone a phono div
var phonoCtr = ($(".phono").size() + 1) - 1;
var newPhonoID = "JD-SIP" + phonoCtr;
@ctaloi
ctaloi / gist:3012436
Created June 28, 2012 16:46 — forked from chrismatthieu/gist:964578
Phono Autodial on Page Load
<html>
<head>
<script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script src="http://s.phono.com/releases/0.2/jquery.phono.js"></script>
<script>
$(document).ready(function(){
var phono = $.phono({
apiKey: "api goes here",
onReady: function() {
<html>
<head>
<script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script src="http://s.phono.com/releases/0.1/jquery.phono.js"></script>
</head>
<body>
<input id="call" type="button" disabled="true" value="Loading..." />
<div id="pickup" style="display:none"><input id="pickup" type="button" value="pickup" /></div>
<div id="hangup" style="display:none"><input id="hangup" type="button" value="hangup" /></div>
@ctaloi
ctaloi / generate_personal_podcast.rb
Created July 30, 2012 19:35 — forked from kelan/generate_personal_podcast.rb
A script for generating a personal podcast feed from mp3 files in a public Dropbox folder.
#!/usr/bin/env ruby -wKU
#
# by Kelan Champagne
# http://yeahrightkeller.com
#
# A script to generate a personal podcast feed, hosted on Dropbox
#
# Inspired by http://hints.macworld.com/article.php?story=20100421153627718
#
# Simply put this, and some .mp3 or .m4a files in a sub-dir under your Dropbox
@ctaloi
ctaloi / pushover.sh
Created November 14, 2012 03:38 — forked from milligramme/pushover.sh
pushover commandline sample
curl -s \
-F "token=abc123" \
-F "user=user123" \
-F "message=hello world" \
https://api.pushover.net/1/messages
import Growl
def growlAlert(self, type, eventclass, device):
"""
<type> = "New Alert" or "Clear"
<eventclass> (i.e. /Status/IpService)
<device> (i.e. server1.domain.com)
"""
name = "ZenWatch"
@ctaloi
ctaloi / gist:4156185
Created November 27, 2012 18:48 — forked from fcrespo82/gist:4137305
Script to sync Pythonista App to Dropbox
import webbrowser, os, pprint
# Include the Dropbox SDK libraries
#from dropbox import client, rest, session
import dropbox
# Configuration
TOKEN_FILENAME = 'PythonistaDropbox.token'
# Get your app key and secret from the Dropbox developer website
APP_KEY = '<your dropbox app_key>'
APP_SECRET = '<your dropbox app_secret>'