This file contains hidden or 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
m68k:0x007607f8> cpu ym | |
ym2612> r | |
ym2612: | |
ym2612 global registers: | |
LFO enable: 0x0 | |
LFO freq: 0x0 | |
timer a : 0x0 | |
timer b : 0x0 | |
DAC enable : 0x0 | |
DAC out : 0x0 |
This file contains hidden or 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
/etc/modprobe.conf | |
blacklist garmin_gps | |
Create /etc/udev/rules.d/70-persistent-usb.rules: | |
SUBSYSTEM=="usb", ACTION=="add", GROUP="sudo" |
This file contains hidden or 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
* Get england.osm.bz2 from cloudmade. | |
* bunzip2 it | |
* ulimit -d 3000000 | |
* Run splitter: | |
java -jar /home/edd/source/splitter-r200/splitter.jar --max-nodes=5000 ../england.osm | |
* Convert to garmin format: | |
java -jar /home/edd/source/mkgmap-r2311/mkgmap.jar *.pbf | |
* Open in qlandkartegt (osmmap.tdb, osmmap.img) | |
* Use "map->select sub map" to select tiles | |
* Upload to GPS |
This file contains hidden or 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 lattice | |
# Define a lattice | |
pset = [ set(), set(['s']), set(['u']), set(['s', 'u']) ] | |
l = lattice.Lattice(pset, lambda x, y : x | y, lambda x, y: x & y) | |
print(l) | |
# Getting an element | |
set1 = l.wrap(set(['s'])) | |
print(set1) |
This file contains hidden or 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
#!/usr/bin/env python | |
import sys | |
import getopt | |
import subprocess | |
import os | |
import os.path | |
settings = { | |
"dsided" : False, |
This file contains hidden or 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 lattice | |
import sys | |
import itertools | |
# --[ signed/unsigned lattice L ] -- | |
# pretty printer for each set | |
class L_Elem(frozenset): | |
def __str__(self): |
This file contains hidden or 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
@comment $OpenBSD: PLIST-main,v 1.3 2011/05/11 07:45:52 ajacoutot Exp $ | |
%%SHARED%% | |
@bin bin/acyclic | |
@bin bin/bcomps | |
@bin bin/ccomps | |
bin/circo | |
@bin bin/cluster | |
@bin bin/diffimg | |
@bin bin/dijkstra | |
@bin bin/dot |
This file contains hidden or 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
(display "Hello Guile GV"); | |
(newline); | |
(load "/usr/local/share/guile/slib/guile.init"); | |
(display "Hello Guile GV"); | |
(newline); | |
(load-extension "/usr/local/lib/graphviz/guile/libgv_guile.so" "SWIG_init"); |
This file contains hidden or 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 lattice | |
import sys | |
import itertools | |
import subprocess | |
# --[ signed/unsigned lattice L ] -- | |
class L_Elem(frozenset): | |
def __str__(self): | |
return "{" + (",".join( [ str(x) for x in self ] )) + "}" |