- https://github.com/uwabami/rdtool を git clone して
- lib/rd/rd2markdown-lib.rb に置いて
RUBYOPT=-Ilib rd2 -r rd/rd2html-lib doc/rd-draft.rd.jaで動作確認
- RDtool に取り込んでもらえるよう RDtool と同じものにする
| FROM ubuntu:14.04 | |
| ADD sources.list /etc/apt/sources.list | |
| RUN apt-get update | |
| RUN apt-get -y install wget autoconf bison build-essential libyaml-dev libreadline6 libreadline6-dev zlib1g zlib1g-dev | |
| RUN cd /usr/local/src && wget -N http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL/libressl-2.0.3.tar.gz && tar xvf libressl-2.0.3.tar.gz | |
| RUN cd /usr/local/src/libressl-2.0.3 && ./configure && make check && make install | |
| RUN /sbin/ldconfig | |
| RUN cd /usr/local/src && wget -N http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz && tar xvf ruby-2.1.2.tar.gz | |
| RUN cd /usr/local/src/ruby-2.1.2 && ./configure --disable-install-doc && make install |
| # -*- coding: utf-8 -*- | |
| # env_ltsv_each.rb | |
| # https://gist.github.com/znz/849166c048a2117c341d | |
| # copyright (c) 2014 Kazuhiro NISHIYAMA | |
| # This software is released under the MIT License. | |
| # http://opensource.org/licenses/MIT | |
| require 'ostruct' | |
| def env_ltsv_each(prefix, start: 0, encoding: Encoding::UTF_8, scrub: false) | |
| block_given? or return enum_for(__method__) |
| % cat spec/falsey_spec.rb | |
| describe do | |
| it do | |
| expect(true).to be(false) | |
| end | |
| it do | |
| expect(true).to eq(false) | |
| end | |
| end | |
| % bundle exec rspec -v |
| source "https://rubygems.org" | |
| ruby "2.1.1" | |
| gem "sinatra" |
| % rbenv each -v ruby /tmp/s.rb | |
| ===[1.8.7-debian]======================================================= | |
| OpenSSL::X509::Certificate | |
| OpenSSL::X509::Certificate | |
| ===[1.8.7-p357]========================================================= | |
| /tmp/s.rb:4:in `require': no such file to load -- openssl (LoadError) | |
| from /tmp/s.rb:4 | |
| ===[1.8.7-p358]========================================================= |
RUBYOPT=-Ilib rd2 -r rd/rd2html-lib doc/rd-draft.rd.ja で動作確認| source "https://rubygems.org" | |
| gem "rack" |
| Process: HelloOSX [17807] | |
| Path: /tmp/*/HelloOSX.app/Contents/MacOS/HelloOSX | |
| Identifier: com.yourcompany.HelloOSX | |
| Version: 1.0 (1.0) | |
| Code Type: X86-64 (Native) | |
| Parent Process: launchd [263] | |
| Responsible: HelloOSX [17807] | |
| User ID: 501 | |
| Date/Time: 2013-12-27 14:11:51.360 +0900 |
| diff --git a/emacs-inline.patch.sfjp b/emacs-inline.patch.gist | |
| index 52f2052..d67ad1d 100644 | |
| --- a/emacs-inline.patch.sfjp | |
| +++ b/emacs-inline.patch.gist | |
| @@ -1015,7 +1015,7 @@ diff -r -N -p ../emacs-24.3.org/src/nsterm.m src/nsterm.m | |
| name: nil object: nil]; */ | |
| + [[NSDistributedNotificationCenter defaultCenter] addObserver: NSApp | |
| + selector: @selector (changeInputMethod:) | |
| -+ name: @"AppleSelectedInputSourcesChangedNotification" object: nil]; | |
| ++ name: @"AppleSelectedInputSourcesChangedNotification" object: nil suspensionBehavior:NSNotificationSuspensionBehaviorDeliverImmediately]; |
Mavericks の distnoted がひどいので定期的に killall する。
~/Library/LaunchAgents/local.killall.distnoted.plist
に置いて
launchctl load ~/Library/LaunchAgents/local.killall.distnoted.plist
で反映する。
設定を変更したときは