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
<?php | |
/** | |
* csv-split.php | |
* | |
* ```sh | |
* php csv-split.php -n 1000 -f input.csv | |
* ``` | |
* | |
* @author Keisuke SATO <sato@crocos.co.jp> | |
*/ |
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
@charset "UTF-8"; | |
/* MS Pゴシック -> ヒラギノ角ゴ */ | |
@font-face { | |
font-family: "MS Pゴシック"; | |
src: local("HiraKakuPro-W3"); | |
} | |
@font-face { | |
font-family: "MS PGothic"; | |
src: local("HiraKakuPro-W3"); |
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
AWS = require "aws-sdk" | |
AWS.config.update | |
accessKeyId: "chacococco" | |
secretAccessKey: "chacococco" | |
region: "us-east-1" | |
route53 = new AWS.Route53 | |
route53.client.listHostedZones {}, (err, data) -> |
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
#!/bin/sh | |
set -e | |
echo -n "Project name: " | |
read PROJNAME | |
if [ ! "$PROJNAME" ]; then | |
echo "Abort." | |
exit 1 | |
fi |
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 node | |
var https = require('https') | |
, fs = require('fs') | |
, async = require('async'); | |
var users = [ | |
{ | |
id: "riaf", | |
password: "$1$ZHEt3vNX$8pQ/szk.keG9.QAgY6sI4/", |
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 GitHub PR counter | |
// @namespace jp.riaf.github.pull-counter | |
// @description GitHub pull request review counter | |
// @author Keisuke SATO <sato@crocos.co.jp> | |
// @run-at document-end | |
// @match https://github.com/*/pull/* | |
// @version 1.0 | |
// ==/UserScript== |
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
#!/bin/sh | |
mkdir -p /tmp/debian | |
cd /tmp/debian | |
curl -LO curl -LO http://s3.eu-central-1.amazonaws.com/ffuenf-vagrantboxes/debian/debian-8.2.0-amd64_vmware.box | |
tar xf debian-8.2.0-amd64_vmware.box | |
ovftool debian-8.2.0-amd64.vmx debian-8.2.0-amd64.ova | |
cp debian-8.2.0-amd64.ova ~/Dropbox/Public/ | |
rm -rf /tmp/debian |
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
curl -X POST -d 'word=wowow' -d 'pronounce=ヲゾゾ' http://yomikata.org/ajax/vote.php |
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
["Taiwan", "NZL"] |
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
Taiwan | |
NZL |