Skip to content

Instantly share code, notes, and snippets.

Process: Gyazo GIF [19345]
Path: /Applications/Gyazo GIF.app/Contents/MacOS/Gyazo GIF
Identifier: com.gyazo.gif
Version: 3.3.3 (3.3.3)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Gyazo GIF [19345]
User ID: 501
Date/Time: 2016-11-15 16:17:29.862 +0900
@pastak
pastak / a.js
Created November 16, 2016 11:17
const b = require('./b')
class A {
constructor () {
}
echo () {
console.log(b.hello)
}
class MdFormatter {
renderNode (node) {
if (typeof node === 'string') {
return node
} else if (node instanceof Array) {
let result = ''
node.forEach((item) => {
result += this.renderNode(item)
})
return result
#!/usr/bin/env sh
$(githelp $1 | paste -d' ' - - | peco | sed 's/[\t ]\+/\t/g' | cut -f 7- -d ' ')
@pastak
pastak / gist:c9f61b728564cbb5873aa64aae03ebe4
Last active May 17, 2016 15:08
Google Cloud Vision API スタッフロール切り出し

Google Cloud Vision API スタッフロール切り出し

アイドルマスター13話エンディングより冒頭主要スタッフ部分を取得してみる

(アイドルマスターのキャプチャを過去に諸事情で大量に取得しているのでそれを利用してみる。)

(以下利用するキャプチャはバンダイチャンネル配信より)

正解

% make
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -std=c++14 -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtOpenGL.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtMultimedia.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtNetwork.framework/H
abril-fatface
ada
after-time
alert
andthen
anglicize
ansi-codes
atbash
attr
attrs
render_to_string('show', formats: 'json')