Skip to content

Instantly share code, notes, and snippets.

@sindresorhus
sindresorhus / esm-package.md
Last active March 9, 2025 10:50
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@voluntas
voluntas / sora_momo_av1.md
Last active September 12, 2020 14:29
Sora と Momo で WebRTC の AV1 を試す

Sora と Momo で WebRTC の AV1 を試す

前提

Sora Labo と Momo の使い方は把握している前提の資料です

@isaoshimizu
isaoshimizu / cndt2019_slides.md
Last active July 25, 2019 07:51
CloudNative Days Tokyo 2019 / Open Stack Days Tokyo 2019 スライド資料リスト #CNDT2019 #OSDT2019

CloudNative Days Tokyo 2019 / Open Stack Days Tokyo 2019 スライド資料リスト

[Wantedly] 理想的なマイクロサービスアーキテクチャを目指す継続的改善

https://speakerdeck.com/south37/re-architecturing-of-microservices-number-cndt2019

[Wantedly] k8s - Kubernetes 8 Factors

https://speakerdeck.com/potsbo/k8s-kubernetes-8-factors

[ZOZOテクノロジーズ] 今からでも遅くない!アプリケーションエンジニアが知っておきたい、Dockerコンテナの基礎知識

https://speakerdeck.com/inductor/the-basic-of-docker-container-for-developers

@niku
niku / slide.org
Last active June 1, 2019 05:00
Slide for Erlang & Elixir Fest 2019 -- https://elixir-fest.jp/

Protocol Buffers implementation with using Elixir

Agenda

  • How to parse a binary 00001000_10010110_00000001 to %{1 => 150}
use std::collections::HashMap;
use std::fmt;
use std::io;
use std::num::ParseFloatError;
use std::rc::Rc;
/*
Types
*/
y=201904;eval(c=(%w(c=("y=#{y^1};eva
l(c=(%w(#{c})*'').gsub(/#{92.chr}x1B
.7?m/,''))").chars;370.times{|i|x=27
.chr;$><<(i%37==36?$/:[x+"[7m%s"+x+"
[m",'%s']['t97hors0ui06fp5kk6ug8vdyd
oklqdkjbg8mtphndhtu3q9c31wxne49wpe6m
rkconuqfjo85ezlffy7zga7m6eagpkyij5bf
cfg9yn1jb8vyynfkv2y3noz9jc4f1t3lkf17
ehg3nk0pa7'.to_i(36)[(y&1)*370+i]]%[
c.shift])})*'').gsub(/\x1B.7?m/,''))
@voluntas
voluntas / erlang_webrtc_quic.rst
Last active July 1, 2024 23:17
Erlang/OTP で WebRTC と QUIC
@kinu
kinu / how_i_got_into_google.md
Last active January 16, 2025 08:17
Google に入るまでの話

Google に入ったときの話 (Kinuko)

祭っぽいので私も書いてみることにした!お手軽に gist で。

コンテキスト:https://togetter.com/li/1331865

対策とか(特になし)

と書き出したはいいが、私が受けたときは本も情報もあまりなく、かつ競プロ的なものの存在も知らなかったので、とりあえず家にあったアルゴリズムの本を2回くらい読み直した。そして受かった。最初っから情報があまりない方のパターンで申し訳ない 😄

@mala
mala / CVE-2019-5418_is_RCE.md
Last active February 7, 2021 04:25
Rails の CVE-2019-5418 は RCE (Remote code execution) です