Skip to content

Instantly share code, notes, and snippets.

View koo5's full-sized avatar
💭
github sucks

koo5

💭
github sucks
View GitHub Profile
@koo5
koo5 / g
Created January 3, 2014 22:43
(require :update)
(assertz '(repr require ((t "
(system.update:install-allegrograph)
(repr (node)) or (docs (node))
@koo5
koo5 / huehuehue
Created December 12, 2013 02:50
lol
b
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:
create
gui window
listbox
kook@kook:~/kurva_pica/pyglet-1.2alpha1/examples$ ./text_input.py
Traceback (most recent call last):
File "./text_input.py", line 145, in <module>
window = Window(resizable=True)
File "./text_input.py", line 62, in __init__
TextWidget('', 200, 100, self.width - 210, self.batch),
File "./text_input.py", line 28, in __init__
font = self.document.get_font(0)
File "/usr/lib/pymodules/python2.7/pyglet/text/document.py", line 660, in get_font
return iter[position]
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:
spent:
@koo5
koo5 / gist:6398295
Created August 31, 2013 13:49
it.py
#!/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)
window.push_handlers(caret)
@koo5
koo5 / bla
Created June 16, 2013 23:19
language.py
bla
@koo5
koo5 / if_node.py
Last active December 18, 2015 02:39
#!/usr/bin/python
# -*- coding: utf-8 -*-
class if_node():
node_name = "if"
node_doc = "conditional evaluation"
def __init__():
<a href="http://www.freediff.com/"></a><br>
<a href="pohoda.txt"></a><br>
<a href="fio.txt"></a><br>
<?php
#vypis z pohody,text,ansi nebo oem dalo to samy
#zaklikavaj se sloupecky, zakliknout vsechny, viz niz
@koo5
koo5 / s
Created May 22, 2013 02:13
i7bitcoin
bitcoin by kook
"i need to get laid"
app is a kind of room
display is a kind of container
function is a kind of