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 / Untitled.txt
Created July 16, 2012 13:21
Grep AND in any order
grep -E 'Manager.*Sales|Sales.*Manager' employee.txt
@ctaloi
ctaloi / Untitled.txt
Created July 19, 2012 15:59
No description
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
@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