Skip to content

Instantly share code, notes, and snippets.

NARUSE, Yui nurse

Block or report user

Report or block nurse

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sonots
sonots / fluentd_hacking_guide.md
Last active Aug 18, 2019
Fluentd ソースコード完全解説 (v0.10向け)
View fluentd_hacking_guide.md

Fluentd ソースコード完全解説

英題:Fluentd Hacking Guide

目次

30分しかないため斜線部分は今回省く

  • Fluentd の起動シーケンスとプラグインの読み込み
  • Fluentd の設定ファイルのパース
  • Input Plugin から Output Plugin にデータが渡る流れ
View postMessageLogger.user.js
window.addEventListener("message", function(e){ console.log(e) });
View hateb_avoid_cussion.user.js
// ==UserScript==
// @name hateb_avoid_cussion
// @namespace http://sorah.jp/
// @description avoid cussion
// @include http://b.hatena.ne.jp/entry/*
// ==/UserScript==
var i = null
i = setInterval(function() {
if(document.getElementById("highlighted-bookmark")) {
@mala
mala / safari-like-cookie-policy-is-too-bad.md
Last active Jul 11, 2019
Firefox 22のCookieに関するポリシー変更(予定)についての意見書
View safari-like-cookie-policy-is-too-bad.md
View jruby_mina_sshd_example.rb
# First, download a binary distribution from
# http://mina.apache.org/sshd/sshd-070.html
# and copy lib/*.jar to your cwd
# Load all the jar files
require 'java'
Dir['./*.jar'].each {|jar| require jar }
# Import some Java classes
java_import java.util.EnumSet
@unak
unak / history.txt
Last active Sep 25, 2019
The History of Ruby
View history.txt
* Only the releases of the stable versions are listed in principle. The releases of the unstable versions especially considered to be important are indicated as "not stable."
* The branches used as the source of each releases are specified, and the branching timing of them are also shown. BTW, before subversionizing of the repository, the term called "trunk" was not used, but this list uses it in order to avoid confusion.
* In order to show a historical backdrop, big conferences (RubyKaigi, RubyConf and Euruko) are also listed. About the venues of such conferences, general English notations are adopted, in my hope.
* ruby_1_8_7 branch was recut from v1_8_7 tag after the 1.8.7 release because of an accident.
* 1.2.1 release was canceled once, and the 2nd release called "repack" was performed. Although there were other examples similar to this, since the re-releases were performed during the same day, it does not write clearly in particular.
* Since 1.0 was released with the date in large quantities, the mi
@yhara
yhara / analyze.rb
Created May 10, 2012
Visualization of "ズッ友" relationship, a Japanese twitter meme http://route477.net/d/?date=20120510#p01
View analyze.rb
# coding: utf-8
#
require 'pp'
tomo = {}
File.open(ARGV[0]) do |f|
while line = f.gets
next if line =~ /\A"RT "/
if line =~ /でも…+([^…]*)([^…]*)ゎ…+(ズッ友|ズッ友)/
tomo[$1] = $2
end
You can’t perform that action at this time.