Skip to content

Instantly share code, notes, and snippets.

View kbutti's full-sized avatar

kbutti kbutti

View GitHub Profile
@mala
mala / note_vuln.md
Last active August 12, 2021 08:15
noteとインシデントハンドリングと広報の仕事

noteとインシデントハンドリングと広報の仕事

前提

  • この文章はmalaが書いています。個人の見解であり所属している企業とは関係ありません。
  • noteには知り合いが何人かいるし、中の人と直接コンタクトも取っているし相談もされているが、(10月2日時点で)正規の仕事としては請け負っていない。

10月2日追記

  • 正規の仕事として請け負う可能性もありますが、自身の主張や脆弱性情報の公開に制限が掛かるのであれば引き受けないつもりです。
@mattn
mattn / README.md
Last active February 8, 2024 04:58
blacklist/whitelist master/slave に関する情報集め

blacklist/whitelist master/slave に関する情報集め

blacklist/whitelist、master/slave という単語は相応しくないという意見に OSS がどの様に対応すべきかを自身で考える為の情報集めです。見つけ次第、逐次更新していきます。

僕(mattn) 自身は black lives matter に同意をしています。blacklist/whitelist、master/slave という単語を廃止する事が、歴史的背景を持たない文化圏では特定の意味を持たなかった為、個人的には若干思う所はありますが、廃止自身に反対するつもりはありません。

昔から、主副を表す物には master/slave という単語が使われてきました。ハードディスクの IDE、仮想端末(pty)、色々あります。またネットワークの IP フィルタリングに関しては blacklist/whitelist と表記した物が今でも沢山あります。

我々日本人が意識せずに使っていた blacklist/whitelist、master/slave という単語が、人々にどの様に影響しうるのか、今後 OSS としてどの様に関わっていけば良いかを理解する上で、自分なりの情報集めをしたいと思っています。

@JUNKI555
JUNKI555 / DotNetCore.flt
Created June 24, 2019 05:28
WinMergeでgit管理の.Net Coreプロジェクトを比較するときの除外フィルタ設定
## This is a directory/file filter template for WinMerge
name: exclude for dotnet core
desc: exclude
## Select if filter is inclusive or exclusive
## Inclusive (loose) filter lets through all items not matching rules
## Exclusive filter lets through only items that match to rule
## include or exclude
def: include
@hogashi
hogashi / scroll-sync.js
Last active July 27, 2024 18:13
scroll original window -> new window will be scrolled synchronously
javascript:(() => {
let adjX = 0,
adjY = 0;
const NORMAL = 'NORMAL',
CHECK = 'CHECK',
ADJUST = 'ADJUST';
const MODES = {
NORMAL: {
nextKey: CHECK,
message: 'press Ctrl-key once more for adjust-mode',
@gaearon
gaearon / modern_js.md
Last active September 29, 2024 07:57
Modern JavaScript in React Documentation

If you haven’t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:

  • We define variables with let and const statements. For the purposes of the React documentation, you can consider them equivalent to var.
  • We use the class keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value of this in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav
@mono0926
mono0926 / commit_message_example.md
Last active September 30, 2024 14:07
[転載] gitにおけるコミットログ/メッセージ例文集100
@kbutti
kbutti / paiza_jp_poh_enkoi.rb
Last active October 12, 2017 02:41
エンジニアでも恋がしたい!~転職初日にぶつかった女の子が同僚だった件~ 回答例
# エンジニアでも恋がしたい!~転職初日にぶつかった女の子が同僚だった件~
# パイザオンラインハッカソン4・Lite エン恋
# https://paiza.jp/poh/enkoi
# Q1
total = 0
total_line = gets.chomp.to_i
total_line.times do
m = gets.chomp
@repeatedly
repeatedly / msgpack_issue_121.md
Last active November 30, 2021 02:09
MessagePackが文字列とバイナリをわけないのは問題?

MessagePackが文字列とバイナリをわけないのは問題?

msgpack/msgpack#121

Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案

(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう

そもそもMessagePackとは

@shapeshed
shapeshed / unicorn
Created September 16, 2011 10:12
Unicorn / Monit setup
#!/bin/sh
set -e
# Example init script, this can be used with nginx, too,
# since nginx and unicorn accept the same signals
# Feel free to change any of the following variables for your app:
TIMEOUT=${TIMEOUT-60}
APP_ROOT=/path/to/your/app/current
PID=$APP_ROOT/tmp/pids/unicorn.pid
ENVIRONMENT=production