$ ./bin/psql template1
Welcome to psql 8.1.4, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
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
#!/usr/bin/env python | |
import sys | |
import urllib2 | |
import json | |
import webbrowser | |
import BaseHTTPServer | |
import threading | |
markdown = sys.stdin.read() |
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
#!/usr/bin/env ruby | |
require "socket" | |
require "timeout" | |
if ARGV.length < 2 | |
puts "usage: tcping HOST PORT" | |
exit 1 | |
end |
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
// Setup instructions | |
// | |
// Copy and paste into a Google Apps Script project. Feel free to change the colors below. | |
// | |
// Add a trigger to run the colorUpdatedCalendarEvents function the on the "Calendar updated" event of | |
// your calendar. | |
const PERSONAL_COLOR = CalendarApp.EventColor.GRAY; | |
const IN_PERSON_COLOR = CalendarApp.EventColor.BLUE; | |
const EXTERNAL_COLOR = CalendarApp.EventColor.RED; |
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
// Setup instructions | |
// | |
// Copy and paste into a Google Apps Script project. Make sure you set the source calendar id constant | |
// below. It should be set to the email address of the source calendar. | |
// | |
// Add a trigger to run the syncUpdatedEventsIncremental function the on the "Calendar - Changed" event | |
// of the source calendar. | |
// | |
// The first time you run this, you might want to select the "resyncEvents" function, and manually run | |
// it in the Apps Script editor. |
OlderNewer