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
otherwise if path is "/post": | |
if method is "post": | |
if there is an id of user in table of users: | |
let old nick be nick corresponding to id of user in table of users; | |
if old nick is not user nick:[user changed googleID nickname] | |
say "old nick: [old nick], new nick: [user nick], updating nick...[line break]"; | |
choose row with id of user in table of users; | |
now nick corresponding to id of user in table of users is user nick; | |
write file of users from table of users; | |
else: |
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
<?php | |
echo('<?xml version="1.0" encoding="ISO-8859-15"?>' . "\n"); | |
echo('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'); | |
?> | |
<html> | |
<head> | |
<title>Server status</title> | |
<meta http-equiv="Refresh" content="60"/> | |
<style type="text/css"> | |
body { |
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
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 | |
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
<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 | |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
class if_node(): | |
node_name = "if" | |
node_doc = "conditional evaluation" | |
def __init__(): |
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
bla |
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
#!/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) |
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
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: |
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
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] |
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
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 |