This gist includes a pygtk2
port of the gtk.Assistant
example
available here.
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
''' | |
Example using greenlets to provide a blocking interface to asynchronously | |
accept values from a GUI. | |
''' | |
import gtk | |
from pygtkhelpers.delegates import WindowView | |
from greenlet import greenlet | |
class View(WindowView): |
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
" Modeline and Notes { | |
" vim: set foldmarker={,} foldlevel=0 foldmethod=marker spell: | |
" | |
" __ _ _____ _ | |
" ___ _ __ / _/ |___ / __ __(_)_ __ ___ | |
" / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \ | |
" \__ \ |_) | _| |___) |_____|\ V / | | | | | | | | |
" |___/ .__/|_| |_|____/ \_/ |_|_| |_| |_| | |
" |_| | |
" |
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
GIMP Palette | |
Name: Show me the numbers | |
Columns: 0 | |
# See here: http://www.amazon.ca/Show-Me-Numbers-Designing-Enlighten/dp/0970601999 | |
# A great book! Please support the author, Stephen Few | |
140 140 140 light-grey | |
136 189 230 light-blue | |
251 178 88 light-orange | |
144 205 151 light-green | |
246 170 201 light-pink |
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
Tagger: Ryan Fobel <ryan@fobel.net> | |
Date: Thu Sep 15 18:38:01 2011 -0400 | |
Version 1.0 | |
commit cc3c0f140dda20c8b971b0a01d4d1723536384f2 | |
Author: Ryan Fobel <ryan@fobel.net> | |
Date: Wed Jul 6 09:07:03 2011 -0400 | |
Fix autoconnection of DmfControlBoard and function generator |
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
#include <thrust/device_vector.h> | |
#include <thrust/reduce.h> | |
#include <thrust/copy.h> | |
#include <thrust/iterator/permutation_iterator.h> | |
#include <stdint.h> | |
#include <iterator> | |
#include <iostream> | |
#include <iomanip> | |
#define DUMPN(d_vector,N,dtype,width) \ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- runtime
- ide
- path :
c:\arduino-1.6.5-r2
- version :
1_6_5
- path :
- ide
- name :
Arduino Leonardo
- vid
- 1 :
0x2341
- 0 :
0x2341
- 3 :
0x2A03
- 2 :
0x2A03
- 1 :
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
import eventlet | |
def defer_f(f, *args, **kwargs): | |
event = eventlet.event.Event() | |
eventlet.spawn_n(f, event, *args, **kwargs) | |
return event | |
def test_long_foo(event, run_count, *args, **kwargs): |
OlderNewer