英題:Fluentd Hacking Guide
30分しかないため斜線部分は今回省く
- Fluentd の起動シーケンスとプラグインの読み込み
Fluentd の設定ファイルのパース- Input Plugin から Output Plugin にデータが渡る流れ
| // Amazonの注文履歴をTSV形式で出力するスクリプト | |
| // | |
| // 2015-01-01 時点での DOM 構造に対応, GoogleCrome, Opera でテスト済。 | |
| // formatEntry関数を書き換えれば自由な書式で出力できます。 | |
| // | |
| // 参考: | |
| // - Amazonの注文履歴をCSV形式にして出力するスクリプト | |
| // https://gist.github.com/arcatdmz/8500521 | |
| // - Amazon で使った金額の合計を出す奴 (2014 年バージョン) | |
| // https://gist.github.com/polamjag/866a8af775c44b3c1a6d |
| require "formula" | |
| class Emacs < Formula | |
| homepage "https://www.gnu.org/software/emacs/" | |
| stable do | |
| url "http://ftpmirror.gnu.org/emacs/emacs-24.4.tar.xz" | |
| mirror "https://ftp.gnu.org/pub/gnu/emacs/emacs-24.4.tar.xz" | |
| sha256 "47e391170db4ca0a3c724530c7050655f6d573a711956b4cd84693c194a9d4fd" |
| !shapers/play/calvinball | |
| accept/human/weak | |
| advance/civilization/pursue/shapers/path | |
| advance/civilization/pursue/shapers/truth | |
| advance/civilization/repeat/failure | |
| advance/enlightenment | |
| advance/future/not/war | |
| advance/human/enlightenment | |
| advance/human/resistance |
| class API::V1::BaseController < ApplicationController | |
| skip_before_filter :verify_authenticity_token | |
| before_filter :cors_preflight_check | |
| after_filter :cors_set_access_control_headers | |
| def cors_set_access_control_headers | |
| headers['Access-Control-Allow-Origin'] = '*' | |
| headers['Access-Control-Allow-Methods'] = 'POST, GET, PUT, DELETE, OPTIONS' |
| Ruby 2.1.0 in Production: known bugs and patches | |
| Last week, we upgraded the github.com rails app to ruby 2.1.0 in production. | |
| While testing the new build for rollout, we ran into a number of bugs. Most of | |
| these have been fixed on trunk already, but I've documented them below to help | |
| anyone else who might be testing ruby 2.1 in production. | |
| @naruse I think we should backport these patches to the ruby_2_1 branch and | |
| release 2.1.1 sooner rather than later, as some of the bugs are quite critical. | |
| I'm happy to offer any assistance I can to expedite this process. |
2013-02-24 22:28:51 -0800: This is not a fixed proposal. See the second version as well: https://gist.github.com/frsyuki/5028082
野心的な新機能案や、互換性等の理由でおよそ採用されないであろう夢を書き連ねています。
Fixnum と Bignum を削除して、Integer クラスに統合する。両者は Flonum のように内部的に切り替えられる。
Integer#/ の結果を Rational で返すようにする。 https://bugs.ruby-lang.org/issues/5512#change-37021
| require 'formula' | |
| require 'hardware' | |
| class Postgresql8 < Formula | |
| homepage 'http://www.postgresql.org/' | |
| url 'http://ftp.postgresql.org/pub/source/v8.4.12/postgresql-8.4.12.tar.gz' | |
| sha1 '53a17cd0f104bcad112925d3c6fc2e29e1f89c8e' | |
| depends_on 'readline' | |
| depends_on 'libxml2' if MACOS_VERSION < 10.6 # Leopard libxml is too old |
| /* | |
| Copyright (c) 2017 Chris Patuzzo | |
| https://twitter.com/chrispatuzzo | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |