I hereby claim:
- I am makefu on github.
- I am makefu (https://keybase.io/makefu) on keybase.
- I have a public key whose fingerprint is 25B2 E3A9 0360 7EA3 556D 1F2A 2F6D 72BE B681 E7D5
To claim this, I am signing this object:
mybattery = widget({ type="textbox"}) | |
... | |
mywibox[s].widgets = { | |
... | |
mybattery, | |
... | |
} | |
mytimer = timer({ timeout = 30 }) | |
-- i am sorry... | |
mytimer:add_signal("timeout", function () mybattery.text = io.popen("acpi | sed -e 's/Battery [0-9]: //' -e's/until charged//' -e 's/remaining//' -e's/ //g' -e 's/,/ /g'"):read() end) |
#!/usr/bin/env python | |
# | |
# File: msr.py | |
# Version: 1.1 | |
# Author: Damien Bobillot (damien.bobillot.2002+msr@m4x.org) | |
# Licence: GNU GPL version 3 | |
# Compatibility: tested with python 2.7 on Mac OS X, should work with any python installations. | |
# | |
# Driver for the magnetic strip card reader/writer MSR605, and other versions | |
# |
Is HTML a programming language? | |
It appears that many of you are cock sure about what you think a | |
programming language is. Some of you are so certain about it that you are | |
even willing to call others stupid merely for asking this question. Well | |
perhaps I can help deflate some of that arrogance. I have to commend the | |
people who are asking this question about HTML, because you have good | |
reason to. There is a more fundamental question here which clearly confuses | |
many folks including even students of computer science; and that is "What | |
is a programming language?" If you think that this is a simple question to |
var comics = document.getElementsByClassName("addComicLink"); | |
for (var i = 0; i < comics.length; i+=1) { | |
ev = document.createEvent("MouseEvent"); | |
ev.initMouseEvent("click",true,false,window,0,0,0,0,0,false,false,false,false,2,null); | |
if (comics[i].href.match( /buy/ ) ){ | |
comics[i].dispatchEvent(ev);}; | |
} |
2013-08-01 09:47:06 <-- theDOC (52522093@gateway/web/freenode/ip.82.82.32.147) has left #binaergewitter | |
2013-08-01 15:27:30 -- Mode #binaergewitter [+o savar] by ChanServ | |
2013-08-01 19:58:45 makefu hallo, internet | |
2013-08-01 20:00:16 makefu zeit | |
2013-08-01 20:00:38 lAdidAdi haiiiii | |
2013-08-01 20:00:45 Tok-A-Mak Tagwohl | |
2013-08-01 20:09:01 vabene1111 ja ich höre euch :D | |
2013-08-01 20:09:10 kaetzchen jap | |
2013-08-01 20:09:14 lAdidAdi shaguar | |
2013-08-01 20:09:22 Tok-A-Mak Status: perfekt |
## /etc/config/wireless | |
config wifi-device radio0 | |
option disabled 0 | |
option type mac80211 | |
option channel 11 | |
option macaddr ec:17:2f:dd:28:ae | |
option hwmode 11ng | |
option htmode HT20 | |
list ht_capab SHORT-GI-20 |
from urllib2 import urlopen | |
import sys | |
import HTMLParser | |
h = HTMLParser.HTMLParser() | |
keyword = sys.argv[1] | |
null = None | |
data = urlopen("http://www.google.com/dictionary/json?callback=dict_api.callbacks.id100&q="+keyword+"&sl=en&tl=en&restrict=pr%2Cde&client=te").read()[25:-1] | |
d = eval('('+data+')') |
#!/usr/bin/python3 | |
import csv | |
import urllib | |
def calc_credit(row,head,ledger): | |
payed= -1 | |
for i,c in enumerate(row): | |
#print (i,c) | |
if c == 'o': | |
print ("%s payed" % head[i] ) |
#!/usr/bin/python | |
from faker import Faker, AVAILABLE_LOCALES, DEFAULT_LOCALE | |
import os,sys | |
locale = os.environ['LANG'].split('.')[0] | |
if not(locale in AVAILABLE_LOCALES): | |
locale = DEFAULT_LOCALE | |
fake = Faker(locale=locale) | |
try: | |
f = sys.argv[1] |
I hereby claim:
To claim this, I am signing this object: