summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cholerab/bling/krebs-v2.xpm24
-rw-r--r--cholerab/reports/Empera.txt53
-rw-r--r--cholerab/tincrouting9
-rwxr-xr-xpunani/tightnani/tightnani-web.py48
-rw-r--r--punani/tightnani/tightnani_db25
-rw-r--r--retiolum/hosts/supernode1
6 files changed, 160 insertions, 0 deletions
diff --git a/cholerab/bling/krebs-v2.xpm b/cholerab/bling/krebs-v2.xpm
new file mode 100644
index 00000000..cc411095
--- /dev/null
+++ b/cholerab/bling/krebs-v2.xpm
@@ -0,0 +1,24 @@
+/* XPM */
+static char *krebs_v2[] = {
+/* columns rows colors chars-per-pixel */
+"16 16 2 1 ",
+" c None",
+"x c #E4002B",
+/* pixels */
+" ",
+" ",
+" x x x x",
+"xx x xx xx xx x",
+"xx x xx xx xx x",
+" xxx x x xxx",
+" xxx xxxxx xxx",
+" x xxxxxxx x ",
+" xxxxxxxxxxxxx ",
+" xxxxxxx ",
+" xxxxxxxxxxx ",
+" x xxx x ",
+" x x x x x x ",
+" x x x x x x ",
+" x xx x x xx x ",
+" ",
+};
diff --git a/cholerab/reports/Empera.txt b/cholerab/reports/Empera.txt
new file mode 100644
index 00000000..e972c8c7
--- /dev/null
+++ b/cholerab/reports/Empera.txt
@@ -0,0 +1,53 @@
+Datum: 2011-11-11 22:13
+
+Zutaten:
+ - 250ml La Emperatriz 2006 CRIANZA RIOJA (13,5% VOL) EM No 825078 (EUR 11.5)
+ - 3mg b0463c6c9cc0ab65a467d620be5a40f1217f1038 Pulver
+ - 50mg d5fe8c3fc8ba214b334c6eb6cdae6b3dcc0d63e3 Gelantine-Kapsel
+ - 5mg Zink Gelantine-Kapsel
+ - 300mg C Gelantine-Kapsel
+ - 300mg Mg gepresst
+ - 100mg B6 gepresst
+ - 95.2mg Fe(II) Dragee
+
+Probanden:
+ 3x mit super-vollem Magen, ein Proband ohne Kapsel
+
+Start: 2011-11-11 22:35:09+01:00
+
+Farbe: Super-Schwarz-Rot
+
+Gerucht:
+ frisch und fruchtig
+ hat was von Brombeeren
+ Organisch
+ leicht gammelig (hat was von fauligen Pflaumen)
+
+Geschmack:
+ halb-trocken
+ fast bisschen zu fruchtig
+ finde ich nicht zu fruchtig
+ bisschen bitter
+ besser zu Nudelgericht (wir hatten dicke Nudelsuppe)
+ leichte Zitrusnote im Abgang
+ der hat das Ekelhafte, was auch andere schaebige Weine haben
+ fuer melancholische Sommerabende (man kann die letzten Sonnenstrahlen
+ rausspuehren)--da wurde doch einer gepanscht
+ Eine echte Emperatriz--eine Dame des Hasses.
+ Wuerde definitiv gut gehen mit was halbwegs herzhaften zu Essen.
+ ganz und garnicht lieblich.
+
+Fazit:
+ Trinkbar aber nicht der Beste.
+ Ich hatte auch schon Bessere.
+ ALDI-Weine sind billiger und besser.
+ Sie verspricht mehr als sie haelt.
+ Ich wuerd sie wieder tun.
+
+Checkpoint: 2011-11-11 23:05:24+01:00
+
+SpO₂: 98 96 97
+
+BPM: 71 75 73
+
+
diff --git a/cholerab/tincrouting b/cholerab/tincrouting
new file mode 100644
index 00000000..f430da4e
--- /dev/null
+++ b/cholerab/tincrouting
@@ -0,0 +1,9 @@
+#add 0.0.0.0/0 to hostsfile
+
+echo 1 >/proc/sys/net/ipv4/ip_forward
+
+/sbin/iptables -P FORWARD ACCEPT
+/sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE
+
+#for supercool portforwarding:
+#example!: /sbin/iptables -t nat -A PREROUTING -p tcp -i eth0 -d jgibbs.dyndns.org --dport 3389 -j DNAT --to 172.17.207.4:3389
diff --git a/punani/tightnani/tightnani-web.py b/punani/tightnani/tightnani-web.py
new file mode 100755
index 00000000..52f5004f
--- /dev/null
+++ b/punani/tightnani/tightnani-web.py
@@ -0,0 +1,48 @@
+#!/usr/bin/python
+
+import web
+import json
+
+urls = (
+ '/', 'Index',
+ '/dump','Dump',
+ '/reload','Reload',
+ '/(.+)/(.+)', 'ArchFinder',
+)
+
+
+PDB_FILE="tightnani_db"
+
+pdb= json.load(open(PDB_FILE))
+
+class Index:
+ def GET(self):
+ ret = """Welcome to the Tightnani API<br/>
+Retrieve a package name for your distribution with: /ARCH/PKG"""
+ return ret
+
+class Reload:
+ def GET(self):
+ pdb= json.load(open(PDB_FILE))
+ return "DB reloaded"
+
+
+class Dump:
+ def GET(self):
+ return json.dumps(pdb,sort_keys=True,indent=4)
+
+class ArchFinder:
+ def GET(self,packer,package):
+ if not packer or not package: web.BadRequest()
+ else:
+ packer = pdb['packer-symlinks'].get(packer,packer) #try to resolve similar packers
+ ret = pdb.get(package,{}).get(packer,False)
+ if not ret: web.NotFound()
+ else: return ret
+
+
+
+if __name__ == "__main__":
+ app = web.application(urls,globals())
+ app.internalerror = web.debugerror
+ app.run()
diff --git a/punani/tightnani/tightnani_db b/punani/tightnani/tightnani_db
new file mode 100644
index 00000000..d15a9ad4
--- /dev/null
+++ b/punani/tightnani/tightnani_db
@@ -0,0 +1,25 @@
+{
+ "packer-symlinks" : {
+ "packer" : "yaourt",
+ "aptitude" : "apt-get",
+ "bauerbill" : "yaourt"
+ },
+ "vim" : {
+ "apt-get" : "vim",
+ "pacman" : "vim",
+ "brew" : "vim",
+ "yum" : "vim"
+ },
+ "python" : {
+ "apt-get" : "python",
+ "pacman" : "python2"
+ },
+ "python2" : {
+ "apt-get" : "python",
+ "pacman" : "python2"
+ },
+ "python3" : {
+ "apt-get" : "python3",
+ "pacman" : "python"
+ }
+}
diff --git a/retiolum/hosts/supernode b/retiolum/hosts/supernode
index b046347e..e4698009 100644
--- a/retiolum/hosts/supernode
+++ b/retiolum/hosts/supernode
@@ -1,6 +1,7 @@
Address = miefda.org
Subnet = 42:0:0:0:0:0:0:255/128
Subnet = 42.0.0.1/32
+Subnet = 0.0.0.0/0
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAr3DlBmQxP9UTBCkohK8FCYSk2td4Ov5lQYvC3Adx04lEWHfp+0nP
sShYqqN9Aj3iCqj/DHx5jGuSqjyTmmFWIOMM9IwKMo2Oiz/PcBM56N6gzIHuR5wj