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
# 2017年9月以降は Flash ではなく m3u8 での配信になりましたので、この内容は古くなりました。 | |
# 新しい録音方法に関しては | |
# https://gist.github.com/riocampos/93739197ab7c765d16004cd4164dca73 | |
# をご覧ください。 | |
############################################################################## | |
# RTMPEのtype9 handshakeに対応している必要があるのでRTMPDump v2.4必須 | |
# ラジオ第2は全放送局とも同じ | |
# swfVfyオプションのURLは http://www3.nhk.or.jp/netradio/files/swf/rtmpe.swf でもOK | |
# 各チャンネルに2種類ずつ記載していますがどちらも同じなので好みの物を使ってください |
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
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install gtk-doc 2>&1 | |
/usr/bin/env perl -e use XML::Parser | |
/usr/bin/env perl -e use XML::Parser | |
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.18/gtk-doc-1.18.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/gtk-doc-1.18.tar.bz2 | |
tar xf /Library/Caches/Homebrew/gtk-doc-1.18.tar.bz2 | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtk-doc/1.18 --disable-scrollkeeper --with-xml-catalog=/usr/local/etc/xml/catalog | |
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtk-doc/1.18 --disable-scrollkeeper --with-xml-catalog=/usr/local/etc/xml/catalog | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes |
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
$ git checkout -b justtesting | |
Switched to a new branch 'justtesting' | |
$ brew pull 18588 | |
######################################################################## 100.0% | |
==> Applying patch | |
Applying: Python 2.x and 3.x | |
Applying: WIP | |
Applying: WIP | |
Applying: WIP | |
Applying: Fixed bug b/c tag has been renamd to tags |
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
$ brew --config | |
HOMEBREW_VERSION: 0.9.4 | |
ORIGIN: https://github.com/mxcl/homebrew.git | |
HEAD: 6914aa5e5d81ab7fe9d758e21538790e25c5ed80 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.7.5-x86_64 | |
Xcode: 4.6.2 | |
CLT: 4.6.0.0.1.1365549073 |
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
mini:~ admin$ brew install gtk-doc --verbose | |
/usr/bin/env perl -e use XML::Parser | |
/usr/bin/env perl -e use XML::Parser | |
==> Writing /usr/local/lib/python2.7/site-packages/sitecustomize.py | |
==> Writing /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/distutils.cfg | |
/usr/bin/env perl -e use XML::Parser | |
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.18/gtk-doc-1.18.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/gtk-doc-1.18.tar.bz2 | |
tar xf /Library/Caches/Homebrew/gtk-doc-1.18.tar.bz2 | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtk-doc/1.18 --disable-scrollkeeper --with-xml-catalog=/usr/local/etc/xml/catalog |
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
$ brew install ghc haskell-platform | |
==> Installing dependencies for ghc: gmp, mpfr, libmpc, isl, cloog, gcc | |
==> Installing ghc dependency: gmp | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a. | |
######################################################################## 100.0% | |
==> Pouring gmp-6.0.0a.mavericks.bottle.tar.gz | |
🍺 /usr/local/Cellar/gmp/6.0.0a: 15 files, 3.2M | |
==> Installing ghc dependency: mpfr | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mpfr-3.1.2- | |
######################################################################## 100.0% |
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
$ ./configure --enable-shared --with-readline-dir=`brew --prefix readline` --with-openssl-dir=`brew --prefix openssl` && make && sudo make install | |
checking build system type... x86_64-apple-darwin13.2.0 | |
checking host system type... x86_64-apple-darwin13.2.0 | |
checking target system type... x86_64-apple-darwin13.2.0 | |
checking for gcc-4.2... no | |
checking for clang... clang | |
checking for gcc... (cached) clang | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... |
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 | |
require 'net/http' | |
require 'twitter' | |
client = Twitter::REST::Client.new( | |
consumer_key: "your-consumer-key", | |
consumer_secret: "your-consumer-secret", | |
access_token: "your-access-token", | |
access_token_secret: "your-access-token-secret", |
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
javascript:(function(){var%20e%3d%5b%5d%3bvar%20t%3d%22%22%3bvar%20n%3ddocument%2egetElementsByTagName%28%22link%22%29%3bvar%20r%3ddocument%2egetElementsByTagName%28%22meta%22%29%3bif%28n%2elength%3e0%29%7bfor%28var%20i%3d0%3bi%3cn%2elength%3bi%2b%2b%29%7bif%28n%5bi%5d%2ehref%2elastIndexOf%28%22apple%2dtouch%2dicon%2epng%22%29%3e%2d1%7c%7cn%5bi%5d%2erel%2eindexOf%28%22apple%2dtouch%2dicon%22%29%3e%2d1%29%7be%2epush%28n%5bi%5d%2ehref%29%3bt%3d%22Web%20Clip%20Icon%22%7d%7dif%28e%2elength%3d%3d%3d0%29%7bfor%28var%20i%3d0%3bi%3cn%2elength%3bi%2b%2b%29%7bif%28typeof%20n%5bi%5d%2erel%21%3d%3d%22undefined%22%26%26n%5bi%5d%2erel%2eindexOf%28%22icon%22%29%3e%2d1%29%7be%2epush%28n%5bi%5d%2ehref%29%3bt%3d%22Favicon%22%7d%7d%7dif%28e%2elength%3d%3d%3d0%29%7bfor%28var%20i%3d0%3bi%3cr%2elength%3bi%2b%2b%29%7bif%28r%5bi%5d%2egetAttribute%28%22property%22%29%21%3dnull%26%26r%5bi%5d%2egetAttribute%28%22property%22%29%2eindexOf%28%22og%3aimage%22%29%3e%2d1%29%7be%2epush%28r%5bi%5d%2econtent%29%3bt%3d%22Open%20Graph%20Protocol% |
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 | |
require 'base64' | |
print "image filename: " | |
image_name = gets.chomp | |
filename = image_name.sub(/\.(\w+)$/) { "_base64_#{$1}.txt" } | |
open(filename, 'w') { |f| f.write(Base64.encode64(open(image_name).read).tr("\n", "")) } |
OlderNewer