- iris(あやめ)の大きな3枚のはなびらは,「Sepal がく片」
- 小さな3枚のはなびらが,「Petal 花びら」である.
- Sepal「がく片」の長さと幅・Petal「花びら」の長さと幅
- Species「あやめ3品種 [setosa・versicolor・virginica]」
data(iris)| #!/bin/sh | |
| # -*- mode:sh -*- | |
| version=$1 | |
| if [ "x$1" = "x" ] ; then | |
| exit 1 | |
| fi | |
| major=$(echo $version | awk -F "." '{print $1}') | |
| minor=$(echo $version | awk -F "." '{print $2}') | |
| micro=$(echo $version | awk -F "." '{print $3}') |
| @interface NSObject (Debounce) | |
| - (void)debounce:(SEL)action delay:(NSTimeInterval)delay; | |
| @end |
| 更新: | 2013-12-08 |
|---|---|
| バージョン: | 0.1.8 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
概要
| # -*- coding: utf-8 -*- | |
| import hashlib | |
| try: | |
| import cPickle as pickle | |
| except ImportError: | |
| import pickle | |
| class PythonObjectCache(object): | |
| @classmethod |
| # -*- coding: utf-8 -*- | |
| class SimpleOption(object): | |
| NOTHING = False | |
| SOME = True | |
| def __init__(self, is_some, value=None): |
| GOSH=/usr/local/bin/gosh | |
| L=./gu.scm | |
| test: | |
| $(GOSH) -l $(L) ./*test.scm |
| ### | |
| GoogleShpreadsheetのシートに記述されたデータをDBのテーブルに見立て取得し、 | |
| JSONに変換するスクリプト。 | |
| このソースはTitanium Mobileを想定しているが、コンバートの処理は流用できる。 | |
| テストに使用しているShpreadsheetは以下 | |
| https://docs.google.com/spreadsheet/ccc?key=0AuCUD7G5hGZrdGlBbHBDVElfUXdsbWRkRThVcmdCalE | |
| 条件:1行目をカラム名にすること | |
| LEFT JOINなどの処理は別途本気出して実装する必要あり。 |
| var http = require('http'); | |
| var ran = 0; | |
| var queryNum = 100; | |
| var parallel = 10; | |
| var agent = new http.Agent({maxSockets: parallel}); | |
| if (process.argv.length != 5) { | |
| console.error('usage: node http-request.js host port url\n' + | |
| 'ex). node http-request.js example.com 8080 /index.html'); | |
| process.exit(-1); |
| require 'octokit' | |
| require 'csv' | |
| require 'date' | |
| # Github credentials to access your private project | |
| USERNAME="USER_NAME" | |
| PASSWORD="SEKRIT" | |
| # Project you want to export issues from | |
| USER="REPO_OWNER" | |
| PROJECT="REPO_NAME" |