Skip to content

Instantly share code, notes, and snippets.

@pklaus
pklaus / form.py
Created March 5, 2010 00:23
Advanced example for an PyS60 application that makes use of appuifw.app.set_tabs().
#!/usr/bin/env python
# -*- encoding: UTF8 -*-
# Advanced example for an PyS60 application that makes use of appuifw.Form().
# originally found on <http://www.mobilenin.com/pys60/info_tabs_forms.htm>
# changed and adopted for the N95 by Philipp Klaus <philipp.l.klaus AT web-dot-de>
# Copyright (c) 2006 Jurgen Scheible
# This script creates a form
@pklaus
pklaus / push-to-mobile.ps1
Created March 4, 2010 18:40
Time-lapse Photography Using Python S60
obexftp.exe -b 00:14:5d:5b:53:fc -B 11 --chdir /E:/Python/ --put ./time_lapse.py
@woodie
woodie / Gemfile .rb
Created January 17, 2010 10:44
Mechanize with Hpricot on AppEngine
# Critical default settings:
disable_system_gems
disable_rubygems
bundle_path ".gems/bundler_gems"
# List gems to bundle here:
gem "appengine-rack"
gem "appengine-apis"
gem 'hpricot', '0.8.2'
gem 'mechanize', '0.8.5'
#!/usr/bin/env ruby
require 'rubygems'
gem 'rack', '=0.9.1'
gem 'thin', '=1.0.0'
require 'sinatra'
get '/' do
content_type 'text/plain'
"Hello, world"
end