pk
= Public Key, sent with the EncryptionKeyRequest
vt
= Verify Token, sent unecrypted with the EncryptionKeyRequest
ss
= Shared Secret, generated by the client, 16 random bytes
import weechat as w | |
from collections import defaultdict | |
from itertools import chain | |
import sys | |
NAME = 'orderbuf' | |
DESC = 'Orders buffers like a boss. Orders by channel, server, prefixed channel, ' \ | |
'autojoin list and in reverse order.' |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from string import ascii_lowercase | |
char_order_de = ['e', 'n', 'i', 'r', 's', 'a', 't', 'd', 'h', 'u', 'l', 'g', | |
'o', 'c', 'm', 'b', 'f', 'w', 'k', 'z', 'p', 'v', 'j', 'y', 'x', 'q'] | |
char_order_en = ['e', 't', 'a', 'o', 'i', 'n', 's', 'r', 'h', 'l', 'd', 'c', |
update_interval 0.5 | |
background yes | |
own_window yes | |
own_window_type override | |
own_window_transparent yes | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
draw_shades no | |
draw_outline no | |
draw_borders no | |
border_inner_margin 2 |
function refuel() | |
local fueled = false | |
for i=12,16 do | |
turtle.select(i) | |
fueled = turtle.refuel() | |
end | |
return fueled | |
end |
function refuel() | |
local fueled = false | |
for i=12,16 do | |
turtle.select(i) | |
fueled = turtle.refuel() | |
end | |
return fueled | |
end |
(steam:9182): Gtk-WARNING **: A floating object was finalized. This means that someone | |
called g_object_unref() on an object that had only a floating | |
reference; the initial floating reference is not owned by anyone | |
and must be removed with g_object_ref_sink(). | |
System startup time: 11,76 seconds | |
File "/home/dav1d/Steam/ubuntu12_32/driverhelper.py", line 356 | |
print json.dumps(pkgInfo.getInfo()) | |
^ | |
SyntaxError: invalid syntax |
In [1]: class X(object): | |
...: def __init__(self): pass | |
...: def foo(self): | |
...: return "XXX" | |
...: | |
In [2]: x = X() | |
In [3]: '{self.foo} {self.foo()}'.format(self=x) | |
--------------------------------------------------------------------------- |
class AB(): | |
def function1(self, eingabe): | |
print(eingabe) | |
tokenDict = {'vE':function1} | |
a = AB() | |
test = a.tokenDict['vE'] |
0000 002 02 . | |
0000 039 27 . | |
0000 000 008 00 08 . . | |
0000 000 122 00 7A . z | |
0000 000 101 00 65 . e | |
0000 000 110 00 6E . n | |
0000 000 115 00 73 . s | |
0000 000 049 00 31 . 1 | |
0000 000 101 00 65 . e |