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 | |
require 'cairo' | |
require './inmou.class.rb' | |
width = 256 | |
height = 256 | |
amount = 16 | |
length = 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
<?php | |
$data = json_decode(file_get_contents("https://pvp.minecraft.jp/servers.json")); | |
$all_players = 0; | |
foreach($data->servers as $server){ | |
$all_players += $server->Server->current; | |
printf("%s: %d/%d, %s\n", | |
$server->Server->name, |
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
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]](([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+ |
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
// github.com/ikr7/twitter_commands_v2 で bbop | |
// 参考: https://gist.github.com/laco0416/8ffe20bfd393e1344112 | |
var Command = require('../lib/command.js'); | |
var makebbop = function(){ | |
var elements = ['ビ','ビ','ド','レ','ド','オ','ペ','レ','ショ']; | |
var indice = []; | |
var matches = 0; | |
elements.forEach(function(ch, i, arr){ |
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
var ImmortalNTwitter = require('immortal-ntwitter'); | |
var twit = ImmortalNTwitter.create({ | |
'consumer_key': '', | |
'consumer_secret': '', | |
'access_token_key': '', | |
'access_token_secret': '' | |
}); |
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
var Command = require('../lib/command.js'), | |
exec = require('child_process').exec, | |
MeCab = require('mecab-async'), | |
mecab = new MeCab(); | |
var say = new Command(function(twit, status, CONFIG){ | |
if(status.retweeted_status) status = status.retweeted_status; | |
mecab.parse(status.text, function(err, result){ | |
if(!err){ |
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
var Command = require('../../lib/command.js'), | |
async = require('async'), | |
split = require('./split.js'), | |
exec = require('child_process').exec; | |
var say = new Command(function(twit, status, CONFIG){ | |
if(status.retweeted_status){ | |
status = status.retweeted_status |
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
root@beaglebone:~# npm ls -g | |
/usr/local/lib | |
├─┬ bonescript@0.2.4 | |
│ ├─┬ epoll@0.0.7 | |
│ │ └── nan@0.4.4 | |
│ ├─┬ express@3.1.0 | |
│ │ ├── buffer-crc32@0.1.1 | |
│ │ ├── commander@0.6.1 | |
│ │ ├─┬ connect@2.7.2 | |
│ │ │ ├── bytes@0.1.0 |
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
PublicHair API | |
An API that generates public hair image. Outputs PNG, JPEG, Animated GIF, SVG and JSON. | |
API Endpoint is "/v1/[width]x[height].[type]". Max size is 1024x1024. If type is "gif", max size is 512x512. | |
Parameters | |
amount: Specifies number of hair. defaults to 15. max is 1000. |