- 1つめ
- 2つめ
- 3つめ
This file contains hidden or 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
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 |
This file contains hidden or 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 sh | |
$(githelp $1 | paste -d' ' - - | peco | sed 's/[\t ]\+/\t/g' | cut -f 7- -d ' ') |
アイドルマスター13話エンディングより冒頭主要スタッフ部分を取得してみる
(アイドルマスターのキャプチャを過去に諸事情で大量に取得しているのでそれを利用してみる。)
(以下利用するキャプチャはバンダイチャンネル配信より)
This file contains hidden or 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
% 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 |
This file contains hidden or 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
abril-fatface | |
ada | |
after-time | |
alert | |
andthen | |
anglicize | |
ansi-codes | |
atbash | |
attr | |
attrs |
This file contains hidden or 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
render_to_string('show', formats: 'json') |
This file contains hidden or 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
#!/bin/bash | |
if ! type pbcopy >/dev/null 2>&1 || ! type reattach-to-user-namespace >/dev/null 2>&1; then | |
tmux display-message "Error: cannot copy to clipboard." | |
exit 0 | |
fi | |
COPY=$(tmux save-buffer -) | |
echo "$COPY" | ghead -c -1 | reattach-to-user-namespace pbcopy | |
# メッセージ表示 |