Skip to content

Instantly share code, notes, and snippets.

@yattom
yattom / multiprocessing_demo.py
Created May 9, 2013 03:57
a simple example of Python's multiprocessing
import multiprocessing
def f(num, d):
for i in range(100):
d['%d:%d'%(num, i)] = 1
if __name__=='__main__':
ps = []
m = multiprocessing.Manager()
d = m.dict()
@yattom
yattom / timer.html
Last active December 16, 2015 05:38
Simple count down timer. Designed for Treasure Hunt Agile Game but can be used for lightning talks and such. Implemented with a single file -- no other .js files, images, Internet connections required. Intended for offline use executed directly from local storage. Current version requires GET parameters to prime; ie. path/to/timer.html?min=5&sec…
<!DOCTYPE HTML>
<html>
<head>
<title>Countdown Timer</title>
<meta doctype='text/html' charset='utf-8' />
<style>
body {
background-color: gray;
}
@yattom
yattom / SpiderWebFixtureCheatsheet
Last active December 15, 2015 19:59
Cheatsheet for SpiderWeb in FitLibraryWeb / FitNesse. Excerpted and rearranged from its own tests included in FitLibraryWeb. This file is in FitNesse wiki format so create a wiki page and just paste. http://sourceforge.net/projects/fitlibrary/files/FitLibraryWeb/
!contents -R2 -g -p -f -h
see also
* <FitLibraryWeb.SpiderFixture.DocuMentation.CommandUserGuide
* <FitLibraryWeb.SpiderFixture.SpecifySpiderFixture
ドライバ(ブラウザ)によって挙動が違うものもある。
URLを開く open url
|''get url''|http://localhost:@{serverPort}/files/@{webDriver.driver}/test.html|
@yattom
yattom / sudoku.py
Created December 3, 2012 05:26
Sudoku
# coding: utf-8
class Sudoku(object):
def __init__(self, initial):
self.board = {}
for col in range(9):
for row in range(9):
self.board[(col, row)] = initial[col][row]
def member_of_row(self, row):

Agile Samurai Dojo Gatheringにて角谷さんの「アジャイルソフトウェアの12の原則」の訳に対する熱い思いを受けた。

俺もやる!君もやれ、Fork me!!!


Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

顧客満足を最優先し、価値のあるソフトウェアを早く継続的に提供します。