- develop ブランチから新たに作成する機能のためのフィーチャーブランチを作成します。
git branch feature/new_feature develop
# Input file must be a binary file (I recommend to use op_to_bin.py to convert int sequence to binary) | |
# This code partly uses the original thrift code. https://github.com/apache/thrift/blob/master/LICENSE | |
# This tool is made for easily understanding the complex TCompactProtocol format. | |
# Because of my laziness and LINE barely using, there're no implementations of MAP and LIST. | |
# How to use | |
# ./lreader.py output.bin | |
#!/usr/bin/env python |
/* | |
非公式 Twitter アカウント生成 API | |
Twitter も廃れ始め、そろそろ潮時だと考えたため公開します。 | |
某氏が公開した API 1.0 の account/generate のほか、独自に発見した API 1.1 の account/create と | |
認証不要の mobile_client_api/signup もまとめてあります。 | |
何かの役に立つかもしれません。 | |
mobile_client_api/signup については最近テストしていないので、使えないかもしれません。 | |
その場合は情報のみということで。 |
use std::rc::Rc; | |
trait HKT<U> { | |
type C; // Current type | |
type T; // Type with C swapped with U | |
} | |
macro_rules! derive_hkt { | |
($t:ident) => { | |
impl<T, U> HKT<U> for $t<T> { |
package main | |
import ( | |
"bytes" | |
"strings" | |
"testing" | |
) | |
var m = [...]string{ | |
"AAAAAAAAA", |
/* | |
* Get Pocket Access Token | |
* 2014/02/17 | |
*/ | |
var readline = require("readline"); | |
var qs = require("querystring"); | |
var request = require("request"); | |
var consumerKey = ""; |