Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block koo5

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rtrstr
This file has been truncated, but you can view the full file.
koom@koom-Standard-PC-i440FX-PIIX-1996 ~/w/webofneeds>
mvn install -P skip-frontend,skip-matcher-uberjar,skip-bot-uberjar,skip-matcher-rescal-uberjar,skip-node-webapp-war,skip-owner-webapp-war,skip-tests
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] Web of Needs Main
[INFO] Core
View x.cpp
#include <iostream>
int a = 1;
int f(int i)
std::cout << "f" << i;
return i * 2;
int g(int x = f(a))
koo5 / pre-commit
Created Feb 12, 2011
my net radios
View pre-commit
grep -v '^#' playlist.m3u8 > tmp
mv tmp playlist.m3u8
git add playlist.m3u8
koo5 / source.txt
Created Nov 22, 2012
"The Amazing Interactive Turing Machine" by "J.D. Clemens"
View source.txt
"The Amazing Interactive Turing Machine" by "J.D. Clemens"
Section 1 - Bibliographic Data
The story headline is "An Interactive Waste of Time".
The story genre is "Other".
The story description is "You have almost reached the end of your shift. All that remains is to clean one final room, the control room for that weird contraption being built by the scientists here. Carrying your usual equipment, you open the door and step into... The Amazing Interactive Turing Machine!"
Release along with source text and a website.
View g
(require :update)
(assertz '(repr require ((t "
(repr (node)) or (docs (node))
View gist:6611262
the lemon ssh cilent is a program
the lemon ssh client alias is ssh
to display ssh:
if there are active connections:
display list of connections
to display list of connections:
gui window
kook@kook:~/kurva_pica/pyglet-1.2alpha1/examples$ ./
Traceback (most recent call last):
File "./", line 145, in <module>
window = Window(resizable=True)
File "./", line 62, in __init__
TextWidget('', 200, 100, self.width - 210, self.batch),
File "./", line 28, in __init__
font = self.document.get_font(0)
File "/usr/lib/pymodules/python2.7/pyglet/text/", line 660, in get_font
return iter[position]
View gist:6551885
loop forever:
if user is in flow:
disconnect instant messaging
how to tell if user is in flow:
90% of last 20 minutes
module(?) history:
View gist:6398295
#!/usr/bin/env python
import pyglet
window = pyglet.window.Window(resizable=True)
document = pyglet.text.document.FormattedDocument()
layout = pyglet.text.layout.IncrementalTextLayout(document, window.width, window.height, multiline=True)
caret = pyglet.text.caret.Caret(layout)
You can’t perform that action at this time.