This file contains 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
7gbgk82237fynl53 | |
atmzfp4zamb5bz44 | |
kt5xsz4zv7gl2gy3 | |
tktrs83zw5qhbgy2 | |
4au2r63zzd35vc45 | |
uhlunn2zgcqwfgl4 | |
qvmz7y5zz8jwkgy3 | |
6a344p2zaa536b52 | |
2xebs65zd6er3b52 | |
3p7rwd2zbjsalml5 |
This file contains 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
#!/usr/bin/env python | |
# coding: utf-8 | |
import sys | |
import argparse | |
import smtplib | |
import email | |
import os | |
import os.path |
This file contains 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 POJ | |
// @namespace http://www.choro3.net/ | |
// @description poj | |
// @include http://poj.org/* | |
// ==/UserScript== | |
(function(){ | |
var user = "choro3"; | |
var fig = "http://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Green_check.svg/600px-Green_check.svg.png"; |
This file contains 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 bisect | |
def palindromes(): | |
for d in xrange(7): | |
for i in xrange(10 ** d, 10 ** (d + 1)): | |
yield i * 10**d + long(str(i)[::-1]) % (10 ** d) | |
for i in xrange(10 ** d, 10 ** (d + 1)): | |
yield i * 10**(d + 1) + long(str(i)[::-1]) |
This file contains 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 | |
# 完備辞書 (p.42 | |
# 密なばあい | |
from math import log, ceil | |
class FID (object): | |
def __init__(self, seq=long(0), N=65536): |
This file contains 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 | |
""" | |
Yahooファイナンスからトルコリラ/円の為替レートを取得するだけ | |
""" | |
import sys | |
import argparse | |
import urllib |
This file contains 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
#!/usr/bin/env python | |
# coding: utf-8 | |
import sys | |
import random | |
import argparse | |
def main(filename, linecount): | |
with open(filename, 'r') as f: | |
_l = sum(1 for _ in f) |
This file contains 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
# | |
# Cookbook Name:: mroonga | |
# Recipe:: default | |
# | |
# Copyright 2013, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
["cmake", |
This file contains 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
import System.Environment | |
import Data.List | |
import Control.Applicative | |
data Field = Field (Int, Int) (Int, Int) | |
size :: Field -> (Int, Int) | |
size (Field (w, h) _) = (w, h) | |
pos :: Field -> (Int, Int) |
This file contains 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
# Kickstart file automatically generated by anaconda. | |
#version=DEVEL | |
install | |
autostep | |
reboot | |
url --url=http://ftp.jaist.ac.jp/pub/Linux/CentOS/6.7/os/x86_64 | |
lang ja_JP.UTF-8 | |
keyboard us | |
network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto |
OlderNewer