I hereby claim:
- I am sputnikus on github.
- I am sputnikus (https://keybase.io/sputnikus) on keybase.
- I have a public key whose fingerprint is FF9A 3F36 90C9 C8D6 D52F 1D2D 25CA 9B71 1609 D2CB
To claim this, I am signing this object:
#!/usr/bin/env python | |
import enum | |
from math import ceil | |
import click | |
MALE = "male" | |
FEMALE = "female" | |
CUT = "cut" |
gw0 [receiver-thread] RECEIVERTHREAD: starting to run | |
gw0 sent <Message CHANNEL_EXEC channel=1 lendata=7086> | |
gw0 sent <Message CHANNEL_DATA channel=1 lendata=1935> | |
gw1 [receiver-thread] RECEIVERTHREAD: starting to run | |
gw1 sent <Message CHANNEL_EXEC channel=1 lendata=7086> | |
gw1 sent <Message CHANNEL_DATA channel=1 lendata=1935> | |
gw0 [receiver-thread] received <Message CHANNEL_DATA channel=1 lendata=390> | |
gw0 [receiver-thread] received <Message CHANNEL_DATA channel=1 lendata=27> | |
gw0 [receiver-thread] received <Message CHANNEL_DATA channel=1 lendata=124> | |
gw0 [receiver-thread] received <Message CHANNEL_DATA channel=1 lendata=135> |
#!/usr/bin/env bash | |
jscompile_e2e="python2 closure-library/closure/bin/build/closurebuilder.py --root end-to-end --root closure-library --root closure-templates/javascript --root zlib.js/src --root typedarray -o compiled -c compiler.jar" | |
csscompile_e2e="java -jar closure-stylesheets-20111230.jar end-to-end/javascript/crypto/e2e/extension/ui/styles/base.css" | |
# compile javascript files | |
$jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/bootstrap.js > end-to-end/javascript/crypto/e2e/extension/launcher_binary.js | |
$jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/helper/helper.js > end-to-end/javascript/crypto/e2e/extension/helper_binary.js | |
$jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/ui/glass/bootstrap.js > end-to-end/javascript/crypto/e2e/extension/glass_binary.js | |
$jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/ui/prompt/prompt.js > end-to-end/javascript/crypto/e2e/extension/prompt_binary.js |
$ ldd /opt/LightTable/ltbin | |
linux-gate.so.1 (0xf77d2000) | |
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7645000) | |
libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf763a000) | |
librt.so.1 => /usr/lib32/librt.so.1 (0xf7631000) | |
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf762c000) | |
libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf75da000) | |
libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf74cf000) | |
libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf706c000) | |
libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf6fbd000) |
# Maintainer: Attila Bukor <r1pp3rj4ck [at] w4it [dot] eu> | |
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch> | |
# Contributor: Iwan Timmer <[email protected]> | |
# Contributor: Ricardo Band <me [at] xengi [dot] de> | |
# Contributor: Martin Putniorz <mputniorz [at] gmail [dot] com> | |
pkgname=popcorntime | |
pkgver=0.2.9 | |
pkgrel=1 | |
pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." |
I hereby claim:
To claim this, I am signing this object:
import xchat, re, requests | |
from requests.auth import HTTPBasicAuth | |
__module_name__ = "vlcnowplaying" | |
__module_version__ = "1.1" | |
__module_description__ = "sputnikus' Now playing script for vlc" | |
metare = re.compile("""<meta\-information\> | |
\<title\>\<\!\[CDATA\[(.*)\]\]\>\<\/title\> | |
\<artist\>\<\!\[CDATA\[(.*)\]\]\>\<\/artist\> | |
\<genre\>\<\!\[CDATA\[(.*)\]\]\>\<\/genre\> |
# dupla_list = list full of duplicates | |
seen = set() | |
clean_list = [] | |
for item in dupla_list: | |
props = tuple(item.items()) | |
if props not in seen: | |
seen.add(props) | |
clean_list.append(item) |
>>> import time | |
>>> format = '%d %B %Y' | |
>>> sort_dates = lambda y: sorted(y, key=lambda x: int(time.mktime(time.strptime(x, format)))) | |
>>> dates = ['13 July 2011', '13 August 2011', '3 October 2010', '13 July 2012'] | |
>>> sort_dates(dates) | |
['3 October 2010', '13 July 2011', '13 August 2011', '13 July 2012'] |