Skip to content

Instantly share code, notes, and snippets.

View 3kwa's full-sized avatar

Eugene Van den Bulke 3kwa

  • Sydney, Australia
View GitHub Profile
@3kwa
3kwa / sikuli.py
Created March 13, 2012 23:46
using Sikuli to test a GUI user scenario
# java -cp ~/Downloads/Sikuli-X-1.0rc3\ \(r905\)-linux-x86_64/Sikuli-IDE/sikuli-script.jar org.python.util.jython test.py
from __future__ import with_statement
import unittest
from sikuli.Sikuli import *
class Firefox(object):
"""
very simple firefox browser context manager
@3kwa
3kwa / handling_template.py
Created September 1, 2011 08:06
Various ways to use template with CherryPy
"""
experimenting with templates (pystache but could be any other) and cherrypy
reading http://streamhacker.com/2011/08/27/python-3-web-development-review/
annoyed the crap out of me!
hence let's illustrate some of the many ways to graft templates on the cherry
tree ... pistachio:
+ string interpolation PHP-esque?
@3kwa
3kwa / .vimrc
Created August 31, 2011 06:22
vimrc using vundle
" Vundle
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
" github
Bundle 'scrooloose/nerdtree'
Bundle 'scrooloose/nerdcommenter'
Bundle 'mattn/zencoding-vim'