Skip to content

Instantly share code, notes, and snippets.

View wozozo's full-sized avatar
😇
Hello

Yoichi Fujimoto wozozo

😇
Hello
  • Tokyo, Japan
  • 09:07 (UTC +09:00)
  • X @wozozo
View GitHub Profile
(function() {
var baseURL = 'https://b.hatena.ne.jp';
var redirect = function(qArgs) {
var url = baseURL + '/add?b2=1' + ( qArgs || '' ) + '&url=' + encodeURIComponent(location.href);
location.href = url;
}
if (document.getElementsByTagName('frameset').length) {
return redirect('&frame=1');
import threading
from uuid import uuid4
import redis
r = redis.StrictRedis(host='', port=0, db=0, password='')
class Attacker(threading.Thread):
def __init__(self, name):
### Keybase proof
I hereby claim:
* I am wozozo on github.
* I am wozozo (https://keybase.io/wozozo) on keybase.
* I have a public key whose fingerprint is 83E3 B3A5 513F F7EA 1623 5129 236D 55AC 842A 1315
To claim this, I am signing this object:
import json
from pyramid.renderers import JSON
class FlaskRenderer(JSON):
def __call__(self, info):
def _render(value, system):
request = system.get('request')
/***** Fadding Entrances ******/
.flip-left {
-webkit-animation: flipLeft 1 1s ease-out;
-moz-animation: flipLeft 1 1s ease-out;
-ms-animation: flipLeft 1 1s ease-out;
-o-animation: flipLeft 1 1s ease-out;
animation: flipLeft 1 1s ease-out;
opacity: 1 !important;
visibility: visible !important;
}
from sqlalchemy import engine_from_config
from sqlalchemy.orm import sessionmaker
from sqlalchemy.orm import configure_mappers
import zope.sqlalchemy
# import or define all models here to ensure they are attached to the
# Base.metadata prior to any initialization routines
from .mymodel import MyModel # flake8: noqa
# run configure_mappers after defining all of the models to ensure
from sqlalchemy import engine_from_config
from sqlalchemy.orm import sessionmaker
from sqlalchemy.orm import configure_mappers
import zope.sqlalchemy
# import or define all models here to ensure they are attached to the
# Base.metadata prior to any initialization routines
from .mymodel import MyModel # flake8: noqa
# run configure_mappers after defining all of the models to ensure
heso% ~ python -V
Python 2.7.10
heso% ~ which python
/usr/local/bin/python
heso% ~ pip install kytea
Collecting kytea
Using cached kytea-0.1.3.tar.gz
Building wheels for collected packages: kytea
import Charge from './charge';
import Customer from './customer';
import Plan from './plan';
import Subscription from './subscription';
import Token from './token';
import Transfer from './transfer';
import Event from './event';
import Account from './account';
export default class Payjp {
#!/bin/sh
set -e
usage() {
echo "Usage: `basename $0` [template repo] [project name]"
echo " e.g.: `basename $0` https://github.com/user/repo.git prjectname"
exit 1
}