This file contains hidden or 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
#!/usr/bin/env ruby -Ku | |
require 'net/http' | |
require 'net/https' | |
require 'open-uri' | |
require 'cgi' | |
require 'optparse' | |
ACCOUNT = 'USERNAME' # Set to Google Voice account email for default account | |
PASSWORD = 'PASSWORD' # Set to Google Voice account password for default account |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
=begin | |
http://marked2app.com | |
Marked 2 preprocessor - "Lazy" footnotes. | |
Allows use of `[^]` or `†` footnote references | |
where the next [^]: or †: note defines the text of the footnote. |
This file contains hidden or 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
@font-face { | |
font-family: 'Quattrocento'; | |
font-style: normal; | |
font-weight: 400; | |
src: url("data:font/ttf;base64,AAEAAAAQAQAABAAARkZUTWCC9MgAAnHsAAAAHE9TLzJtiUIsAAABiAAAAGBjbWFwqzmq7QAABUQAAAHSY3Z0IAusAkAAAA68AAAAMGZwZ21Bef+XAAAHGAAAB0lnYXNwAAAAEAACceQAAAAIZ2x5Zrg1RrEAABCcAAGoIGhlYWT6jHmFAAABDAAAADZoaGVhB5ED7QAAAUQAAAAkaG10eKtfHrYAAAHoAAADXGtlcm5QLGBkAAG4vAAAqiJsb2NhzGU3ggAADuwAAAGwbWF4cAHjBe4AAAFoAAAAIG5hbWWiv9tgAAJi4AAADQJwb3N0Ooou5wACb+QAAAH/cHJlcK7czoYAAA5kAAAAVgABAAAAAgAApKqGtV8PPPUAHwPoAAAAAMuNGyoAAAAAy40bKv/i/vwEXANQAAAACAACAAAAAAAAAAEAAANQ/vwAAARI/+L/0QRcAAEAAAAAAAAAAAAAAAAAAADXAAEAAADXAK4ABQAAAAAAAgAoADMAPAAAAKIFCwAAAAAAAwH/AZAABQAAArwCigAAAIwCvAKKAAAB3AAyAPoAAAICBQIDAAAABASAAAC/QAAASwAAAAAAAAAAUFlSUwBAAA0iFQNQ/vwAAANQAQQAAAABAAAAAACBApkAAAAgAAED6AAAAAAAAAD9AAAAAAAAAPAAAAD2AEwBMgA1Am4AKgIVADEDDwAsAvMANQCsADUBDwAoAQ8ADgG3AEEB7wAyANUAMwHXAEMA2QA+AbIAKAKGADoBYgAqAhgALgIgADYB/AAVAhMANQIgAEMCAAAkAi4AOgIgADEA4wBDAOkAQAGeACwB6ABLAZ4ASAGoAC4C0gA4AqP/7QJLACsCigA2At4AKwI7ACsCEQArAsQANgL4ACsBTQArAT4AEQKQA |
This file contains hidden or 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
(* | |
http://veritrope.com | |
Google Chrome URLs List to OmniFocus | |
Version 1.0 | |
April 23, 2011 | |
Project Status, Latest Updates, and Comments Collected at: | |
http://veritrope.com/code/safari-tab-list-to-omnifocus | |
========= | |
BASED ON THIS SAFARI/EVERNOTE SCRIPT: | |
http://veritrope.com/code/export-all-safari-tabs-to-evernote/ |
This file contains hidden or 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
#!/usr/bin/ruby | |
# Generates a bunch of random Markdown text (with footnotes/tables) | |
# REQUIREMENTS: | |
# raingrams gem ([sudo] gem install raingrams) | |
# a text file at ~/words/alice.txt containing lots of words | |
# I recommend using mine from http://ckyp.us/kZWQ | |
require 'rubygems' | |
require 'raingrams' |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Marked 2 preprocessor | |
# Allows use of `*` link references where the next [*]: href defines the link | |
# Inspired by [tidbits][*] | |
# [*]: http://tidbits.com | |
if RUBY_VERSION.to_f > 1.8 | |
input = STDIN.read.force_encoding('UTF-8') | |
else | |
input = STDIN.read |
This file contains hidden or 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
# alias last and save | |
# use `als c NAME` to chop off the last argument (for filenames/patterns) | |
als() { | |
local aliasfile chop x | |
[[ $# == 0 ]] && echo "Name your alias" && return | |
if [[ $1 == "c" ]]; then | |
chop=true | |
shift | |
fi | |
aliasfile=~/.bash_it/aliases/custom.aliases.bash |
This file contains hidden or 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
# cd into your Journal/entries/ folder first | |
# completely untested. Use at your own risk. | |
for file in $(grep -le "date>2012" *.doentry); do mv $file /backup_folder/; done |
This file contains hidden or 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> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>{%title%}</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style type="text/css"> |