This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/translations/django.contrib-admin-js/ja.po b/translations/django.contrib-admin-js/ja.po | |
index f3aacca..f2bfce9 100644 | |
--- a/translations/django.contrib-admin-js/ja.po | |
+++ b/translations/django.contrib-admin-js/ja.po | |
@@ -1,5 +1,5 @@ | |
# This file is distributed under the same license as the Django package. | |
-# | |
+# | |
# Translators: | |
# Jannis Leidel <[email protected]>, 2011. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import json | |
import urllib | |
import memcache | |
trello_url = '' | |
def main(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name skip gihyo Ad page | |
// @namespace http://www.fujimotoyoichi.com/ | |
// @include http://gihyo.jp/* | |
// @author wozozo | |
// @charset UTF-8 | |
// @version 0.0.1 | |
// ==/UserScript== | |
(function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Remove utm parameters from url | |
* ( Use this as bookmarklet ) | |
*/ | |
(function(){ | |
var search, params, i, re; | |
search = location.search.replace( /^\?/, '' ).split( '&' ); | |
params = []; | |
if (!search) return; | |
i = search.length; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var d,b,c,a;d=location;b=d.search.replace(/^\?/,'').split('&');c=[];a=b.length;while(a--){if(!b[a].match(/^utm_/)){c.push(b[a])}}d.href=d.pathname+((c.length)?'?'+c.join('&'):'')})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TSUTAYA: Open all reviews. | |
// @namespace http://www.fujimotoyoichi.com/ | |
// @include http://www.discas.net/netdvd/dvd/* | |
// @author wozozo | |
// @charset UTF-8 | |
// @version 0.0.1 | |
// ==/UserScript== | |
(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import time | |
from pydelicious import get_all, delete | |
USERNAME = '' | |
PASSWORD = '' | |
def _delete(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import tweepy | |
CONSUMER_KEY = '' | |
CONSUMER_SECRET = '' | |
ACCESS_TOKEN = '' | |
ACCESS_TOKEN_SECRET = '' | |
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!--[if lt IE 8 ]> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |
<![endif]--> | |
<script type="text/javascript" src="//www.google.com/jsapi"></script> | |
<script type="text/javascript">google.load("jquery", "1");</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf8 | |
import random | |
def choice(d): | |
s = 0 | |
for k, v in d.items(): | |
s += v | |
_range = random.randrange(s) | |
if _range < v: |