- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
| /* | |
| * base64.js: An extremely simple implementation of base64 encoding / decoding using node.js Buffers | |
| * | |
| * (C) 2010, Nodejitsu Inc. | |
| * (C) 2011, Cull TV, Inc. | |
| * | |
| */ | |
| var base64 = exports; |
| description "Fluentd" | |
| start on runlevel [2345] | |
| stop on runlevel [016] | |
| respawn | |
| respawn limit 5 60 | |
| exec sudo -u fluentd /opt/fluentd/usr/bin/fluentd -c /opt/fluentd/etc/fluent.conf --log /opt/fluentd/var/log/fluentd.log |
rendr-examplesを眺めてみたメモ。
基本的な構成。npm install & grunt serverでhttp://localhost:3030で起動する(以下のexampleも同様)。
00ではindex.jsに直接書かれていたdataAdapterConfigを/configディレクトリ内のファイルに分離。
NODE_ENVの値で本番/開発環境の設定ファイル切り替えを行う
| /** | |
| * A simple sample of Boost Log | |
| */ | |
| #pragma warning(push) | |
| #pragma warning(disable:4819) | |
| # include <boost/shared_ptr.hpp> | |
| # include <boost/date_time/posix_time/posix_time_types.hpp> | |
| # include <boost/log/trivial.hpp> | |
| # include <boost/log/core.hpp> |
| require 'faraday' | |
| require 'json' | |
| require 'yaml' | |
| require 'pry' | |
| require 'pp' | |
| Setting = YAML.load_file './main.yml' | |
| Setting['ChatWork']['OrderTemplate'] = Setting['ChatWork']['OrderTemplate'] + Setting['ChatWork']['PairOrderTemplate'].combination(2).collect {|arr| arr.join(",") } |
重要な順で
優秀なプログラマーというのは寝ている間に異世界に召喚されて無双するのとはわけが違うんですよ。
自分の例で言うとプログラミングを始めた中学生の時から優秀なプログラマだったかって、そんなわけない。みんなヘッポコからスタートしているに決まってるわけです。以来二十余年、地道に生き恥を晒し続けてきた結果として、現在いちおう業界の末席を汚すところまで来ている。このプロセスから目を背けるべきではないです。優秀なプログラマーに生まれる人間なんかいない。優秀なプログラマーに「育つ」んだし、それには時間が必要。今日から無双したいと思うな。