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
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
func main() { | |
// 身内なので多めに包むとして5万円以上にする | |
// あんまり多くするとお財布的にも中袋に書く金額的にも辛いので多くても10万円程度にする |
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
#include "http_parser.h" | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> | |
static int finished = 0; | |
int message_begin_cb(http_parser *parser) { | |
return 0; | |
} |
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 6 columns, instead of 5 in line 7.
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
戦果,艦種,艦級,艦名,レア度,余談 | |
S,軽空母,祥鳳型,祥鳳,3,半裸の人 | |
A,正規空母,蒼龍型,蒼龍,4, | |
S,重巡洋艦,妙高型,妙高,3, | |
1,,,,, | |
C,,,,, | |
A,重巡洋艦,最上型,最上,3, | |
C,,,, | |
A,軽巡洋艦,長良型,鬼怒,3,マジパナイ鬼怒ちゃんマジパナイ | |
3,,,,,お仕置き部屋 |
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
戦果 | 艦種 | レア度 | 艦名 | 山城の損害 | |
---|---|---|---|---|---|
S | 記録忘れ | 無傷 | |||
S | 記録忘れ | 無傷 | |||
A | 記録忘れ | 無傷 | |||
S | 記録忘れ | 無傷 | |||
エリ潜魚雷で大破撤退 | 無傷 | ||||
右下ハズレ | 無傷 | ||||
S | 駆逐艦 | 銀 | 初風 | 無傷 | |
S | 記録忘れ | 無傷 | |||
S | 潜水艦 | 水 | 伊168 | 無傷 |
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 <Foundation/Foundation.h> | |
int main(int argc, char **argv) { | |
@autoreleasepool { | |
dispatch_queue_t queue = dispatch_queue_create("sake", DISPATCH_QUEUE_SERIAL); | |
dispatch_apply(12, queue, ^(size_t m){ | |
NSLog(@"%lu月はObjective-Cで酒が飲めるぞー!酒が飲める飲めるぞー!酒が飲めるぞー!", m+1); | |
}); | |
dispatch_release(queue); | |
} |
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 ruby | |
# coding: utf-8 | |
CMD = "#{ENV['ANDROID_HOME']}/platform-tools/adb logcat -v process" | |
(TAG,PRIORITY) = (ARGV.first || '*:I').split(':') | |
Signal.trap(:INT) do | |
puts "\nさよなライオン" | |
exit 0 | |
end |
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
Binary files OpenCV-2.2.0/.DS_Store and OpenCV-2.2.0-patched/.DS_Store differ | |
diff -crN OpenCV-2.2.0/CMakeLists.txt OpenCV-2.2.0-patched/CMakeLists.txt | |
*** OpenCV-2.2.0/CMakeLists.txt 2011-01-17 01:34:31.000000000 +0900 | |
--- OpenCV-2.2.0-patched/CMakeLists.txt 2011-01-17 01:28:02.000000000 +0900 | |
*************** | |
*** 15,24 **** | |
--- 15,56 ---- | |
if(UNIX) | |
set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /lib /usr/lib) | |
endif() |
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
.classpath | |
tags | |
bin | |
target | |
.settings | |
seed.txt |
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 | |
$user_provider = 'livedoor'; // or 'pixiv', 'dlsite', etc. | |
$user_name = '<#USERNAME#>'; | |
$blog_provider = $user_provider; | |
$blog_name = $user_name; | |
$api_key = '<#APIKEY#>'; | |
$api_base_url = sprintf( | |
'http://%s.blogcms.jp/atom/%s/%s', | |
$user_provider, |
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 | |
$ctx = new \ZMQContext(); | |
$rsock = $ctx->getSocket(\ZMQ::SOCKET_UPSTREAM); | |
$ssock = $ctx->getSocket(\ZMQ::SOCKET_PUB); | |
$rsock->connect('tcp://127.0.0.1:9997'); | |
$ssock->connect('tcp://127.0.0.1:9996'); | |
$ssock->setSockOpt(\ZMQ::SOCKOPT_IDENTITY, "70D107AB-19F5-44AE-A2D0-2326A167D8D7"); |
NewerOlder