Skip to content

Instantly share code, notes, and snippets.

@furansui
furansui / touchy.py
Last active August 29, 2015 14:07 — forked from chergert/touchy.py
#!/usr/bin/env python
import cairo
from gi.repository import Gdk
from gi.repository import Gtk
colors = ['a40000', '75507b', '8ae234', '729fcf', 'f57900',
'c4a000', 'ce5c00', 'eeeeec', '4e9a06', '204a87']
def next_idx(seq):
<?php
// Variables used in this script:
// $summary - text title of the event
// $datestart - the starting date (in seconds since unix epoch)
// $dateend - the ending date (in seconds since unix epoch)
// $address - the event's address
// $uri - the URL of the event (add http://)
// $description - text description of the event
// $filename - the name of this file for saving (e.g. my-event-name.ics)
//