あまり深く理解してないので識者のツッコミ大歓迎
取り敢えず最低限だけ
# 補完を有効にする
ちょうど一年前に この道を通った夜 | |
昨日の事のように 今はっきりと想い出す | |
大声で怒鳴ったせいで メソッドは長い行さ | |
どこまでも続く メインメソッドが綺麗で | |
プロマネの君は まるで死人のように | |
青白い顔を浮かべたまま 眠れる棺桶の老人 | |
ゆすって起こした俺を 恨めしそうににらんで | |
俺の手を握り返し「休みが欲しい…」と言った |
def in_app_purchase receipt_data
res = RestClient.post('https://buy.itunes.apple.com/verifyReceipt', {:'receipt-data' => receipt_data}.to_json)
res = JSON.parse(res)
if res['status'] == 21007
res = RestClient.post('https://sandbox.itunes.apple.com/verifyReceipt', {:'receipt-data' => receipt_data}.to_json)
res = JSON.parse(res)
end
この記事のあの画像を見てビビッと来てしまったので, 周りにいる人とErgodoxの購入検討をはじめました(随時更新)
➜ FalbaTech
選んでいくスタイル。
package main | |
import ( | |
"errors" | |
"fmt" | |
"math/rand" | |
"net" | |
"os" | |
"os/signal" | |
"strconv" |
バイナリ ⇔ 文字列 の相互変換をするだけなので楽 | |
http://www.cipa.jp/std/documents/j/DC-008-2012_J.pdf | |
ページ49 / 195のUserComment参照 | |
UserCommentフィールドの値を バイナリ⇔文字列型 の変換する関数の実装 | |
piexif/_helper.pyに実装 | |
引数、返り値などは下記のような具合に |
// | |
// I just found out that we have a bunch of NSFW emoji in our bulk-imported set of >4000 emoji. | |
// Rather than weed them out, I want to start with a blank slate. This code does that. | |
// | |
// Navigate to your "Custom Emoji" page, the one with all the delete buttons. | |
// Delete one of them and acknowledge that it's going away forever. | |
// Then open the JavaScript console and paste this in. | |
// | |
// At some point your JavaScript console will start spewing errors. | |
// Reload the Emoji page, delete one emoji by hand again, and paste this in again to resume. |