I hereby claim:
- I am geier on github.
- I am geier (https://keybase.io/geier) on keybase.
- I have a public key whose fingerprint is 2BC4 36ED 4FF4 61B9 8A1E F167 63D4 D665 561F FEEC
To claim this, I am signing this object:
" Python specific settings. | |
setlocal tabstop=4 | |
setlocal shiftwidth=4 | |
setlocal expandtab | |
setlocal cindent | |
setlocal smarttab | |
setlocal formatoptions=croql | |
setlocal number | |
" Start python on F5 | |
map <F5> :w<CR>:!python "%"<CR> |
import platform | |
import requests | |
import sys | |
print platform.platform() | |
print 'python:', sys.version | |
print 'requests:', requests.__version__ |
I hereby claim:
To claim this, I am signing this object:
from datetime import date as date | |
import urwid | |
from calendarwidget import CalendarWidget | |
PALETTE = [ | |
('header', 'white', 'black'), | |
('footer', 'white', 'black'), | |
('line header', 'black', 'white', 'bold'), | |
('bright', 'dark blue', 'white', ('bold', 'standout')), |
import urwid | |
class SelectableText(urwid.Text): | |
def selectable(self): | |
return True | |
def keypress(self, size, key): | |
return key | |
content = urwid.SimpleListWalker([ |
import khal | |
from khal.settings import get_config | |
from khal.cli import build_collection | |
from khal.controllers import new_from_string | |
from datetime import date, timedelta | |
today = date.today() | |
config = get_config('test.conf') |
[calendars] | |
[[home]] | |
path = ~/.local/share/khal/calendars_test/home/ | |
color = dark green | |
[[work]] | |
path = ~/.local/share/khal/calendars_test/work/ | |
color = dark blue | |
[[events]] |
Verifying that "cgeier.id" is my Blockstack ID. https://onename.com/cgeier |
import random | |
import string | |
import urwid | |
def genaret_random_text(): | |
choice = string.ascii_uppercase + string.digits | |
return ''.join([random.choice(choice) for _ in range(36)]) | |
class SelectableText(urwid.Text): | |
def selectable(self): |
#!/usr/bin/python | |
# Copyright (C) 2013 Patrick Totzke <[email protected]> | |
# This file is released under the GNU GPL, version 3 or a later revision. | |
# | |
# adapted from example1.py and example3.collapse.py from the urwidtrees examples | |
from urwidtrees.tree import SimpleTree | |
from urwidtrees.decoration import CollapseIconMixin, DecoratedTree | |
from urwidtrees.widgets import TreeBox | |
import urwid |