Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View sanemat's full-sized avatar
🍢

Matt Murahashi Kenichi sanemat

🍢
View GitHub Profile
@mala
mala / 202012_smooz.md
Last active October 6, 2022 14:28
Smoozサービス終了に寄せて

Smoozサービス終了に寄せて

前置き

  • この文章と、それに含まれる考察や各サービスへの脆弱性報告などはmala個人の活動であり、所属している企業とは関係ありません。
  • 一方で私は、企業が閲覧履歴を収集して何をしたいのか、所属してる企業や他社事例について、ある程度詳しい当事者でもあります。
  • 一般論として書けることは書けるが、(業務上知り得た知識で開示されてないものなど)個別具体的なことは書けないこともあり、また観測範囲に偏りがある可能性もあります。

Smoozに報告した脆弱性2件

@laggardkernel
laggardkernel / startup-time-of-zsh.md
Last active April 12, 2024 13:24
Comparison of ZSH frameworks and plugin managers

Comparison of ZSH frameworks and plugin managers

Changelog

  • update 1: add a FAQ section
  • update 2: benchmark chart and feature comparison table
  • update 3:
    • improve the table with missing features for antigen
    • new zplg times result

TLDR

@ymmt2005
ymmt2005 / neco_skills.md
Last active September 24, 2023 10:59
Neco プロジェクトのスキルシート

Neco プロジェクトのスキルチェックシート

Neco は大量の物理サーバーを効率的に管理・運用することを目的とした開発プロジェクトです。 Kubernetes を中心に高度な自律運用の実現を目指しています。

本文書はプロジェクトに参加しているメンバーが身に着けている要素技術を並べたものです。

応募時点ですべてを身に着けている必要はまったくありません。 社内にはチュートリアル資料が多数用意されていますので、必要に応じて学べます。

@alexsasharegan
alexsasharegan / pattern-matching.ts
Created August 15, 2018 20:08
A guide to pseudo pattern matching in TypeScript.
/**
* Step 1:
* Create a string enum. This can be done with a TS enum type,
* or a sum type (union of strings).
*/
// enum style
enum TokenType {
Text = "Text",
UserMention = "UserMention",
h1 = {}
h1.default= []
h1[:a] = h1[:a] << "hi"
h1[:b] = h1[:b] << "ho"
p h1 #=> {:a=>["hi", "ho"], :b=>["hi", "ho"]}
h2 = {}
h2.default_proc = ->(hash, key){ [] }
h2[:a] = h2[:a] << "hi"
h2[:b] = h2[:b] << "ho"

transpiler-lite

So, you need to transpile classes to ES5 for some reason, but you need to do it in the browser.

Could we use a gross regular expression to get that done? Yes.

Should we? No, but it's far too late for that now.

JSFiddle Demo

@gghatano
gghatano / 2015年打席結果.csv
Last active November 13, 2015 23:35
2015年打席結果.csv: 試合ID, チーム名, ホームかアウェイか, イニング, 選手名, 打席結果というデータです。
We can't make this file beautiful and searchable because it's too large.
試合ID,チーム,ホーム_アウェイ,回,選手,結果
2015032701,巨人,home,1,坂本 勇人,左安
2015032701,巨人,home,1,井端 弘和,遊ゴロ
2015032701,巨人,home,1,長野 久義,中2
2015032701,巨人,home,1,阿部 慎之助,捕邪飛
2015032701,巨人,home,1,村田 修一,中飛
2015032701,巨人,home,2,坂本 勇人,右飛
2015032701,巨人,home,2,井端 弘和,遊併打
2015032701,巨人,home,2,高橋 由伸,四球
2015032701,巨人,home,2,亀井 善行,右本
@mtsmfm
mtsmfm / README.md
Last active October 26, 2015 07:33
ESM オフラインどう書く

行列のできるラーメン屋 ESM オフラインどう書く (2015/10/22)

オフラインリアルタイムどう書く という、 @Nabetani さん主催のイベントを模したものを ESM の社内向けに行ったものです。

出題者: @mtsmfm スペシャルサンクス: @mattsan

問題

@chantastic
chantastic / on-jsx.markdown
Last active March 20, 2024 01:03
JSX, a year in

Hi Nicholas,

I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:

The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't

@MrOrz
MrOrz / README.md
Last active July 22, 2018 15:36
Cross-device BrowserSync with webpack demo