I hereby claim:
- I am arjan on github.
- I am arjan (https://keybase.io/arjan) on keybase.
- I have a public key whose fingerprint is 4952 8675 9F55 E55A E0AB 5B23 8A01 3801 B7E5 61EA
To claim this, I am signing this object:
import time | |
from smartcard.CardType import AnyCardType | |
from smartcard.CardRequest import CardRequest | |
from smartcard.util import toHexString | |
from smartcard.System import readers | |
print readers() | |
import webbrowser | |
cardtype = AnyCardType() |
"cards": [ | |
{ | |
"author": 356, | |
"category": "card", | |
"hashtags": [ | |
{ | |
"category": "hashtag", | |
"id": 355, | |
"title": "#gianluca" |
defmodule TestApp.TwitterController do | |
use Phoenix.Controller | |
# Routing configuration: | |
# | |
# scope "/twitter", TestApp do | |
# pipe_through :browser_session | |
# get "/:lang/authorize", TwitterController, :authorize | |
# get "/redirect", TwitterController, :authorize_return | |
import gtk | |
import webkit | |
view = webkit.WebView() | |
sw = gtk.ScrolledWindow() | |
sw.add(view) | |
win = gtk.Window(gtk.WINDOW_TOPLEVEL) | |
win.add(sw) |
SERIAL TESTS | |
------------ | |
Old Zotonic PGSQL implementation w/ custom pgsql_pool | |
11:38:26.495 [info] squery test result: 42667 queries in 15000 ms (select now()) | |
11:38:41.495 [info] squery test result: 43696 queries in 15000 ms (select true) | |
11:38:56.495 [info] squery test result: 46251 queries in 15000 ms (select 'hello') | |
11:39:11.495 [info] squery test result: 28560 queries in 15000 ms (select count(*) from rsc) |
-module(router). | |
-export([g/0]). | |
%% [{attribute,1,file, | |
%% {"/home/arjan/devel/zotonic/src/router.erl",1}}, | |
%% {attribute,1,module,router}, | |
%% {attribute,1,lager_records,[]}, | |
%% {attribute,3,export,[{route,1}]}, | |
%% {function,5,route,1, |
#!/bin/bash | |
FILE="$1" | |
OUT=$(echo $FILE|sed -e 's/\./.9./') | |
$(identify -format "export WIDTH=%w" splash.png) | |
$(identify -format "export HEIGHT=%h" splash.png) | |
convert $FILE -bordercolor none -border 1 $OUT |
I hereby claim:
To claim this, I am signing this object:
package nu.reckon.app.tasks; | |
import nu.reckon.api.Client; | |
import nu.reckon.api.v5.Photo; | |
import nu.reckon.app.PhotoCache; | |
import nu.reckon.app.ReckonApi; | |
import nu.reckon.app.ui.ActivityIndicator; | |
import android.os.AsyncTask; | |
import android.support.v4.app.FragmentActivity; | |
import android.util.Log; |
#!/usr/bin/env python | |
from glob import glob | |
import re | |
def backend(path): | |
return path.split('/')[3].replace('-', '_').replace('.', '_') | |
def site(path): | |
return path.split('/')[7] |