Skip to content

Instantly share code, notes, and snippets.

View petamoriken's full-sized avatar
🌐
Proceeding with the Web Standards

Kenta Moriuchi petamoriken

🌐
Proceeding with the Web Standards
View GitHub Profile
@azu
azu / browser-resources.md
Last active June 25, 2020 01:57
ブラウザ/セキュリティ/プライバシー周りの一次情報に近い二次情報の情報源をまとめたもの

一次情報に近い二次情報の情報源をまとめたもの。

ここでの一次情報はコミットとかコードのこと。

Browser

@voluntas
voluntas / spam.md
Last active August 6, 2021 19:30
迷惑メールを送ってきた会社一覧

迷惑メールを送ってきた会社一覧

製品お問い合わせメールアドレスに送ってくるのは本当に迷惑なのでやめてください。

迷惑メールの定義

迷惑メールとは? | 迷惑メール対策 | 迷惑メール相談センター

迷惑メールの種類を大きく分類すると、商品やサービス、サイトの宣伝などの「広告宣伝メール」、お金や情報をだまし取ろうとする詐欺目的の「架空請求メール」、法外なサイト利用料を要求する「不当請求メール」、ウイルス感染を目的とする「ウイルスメール」、かんたんな副業で高額収入が得られるとか、相談者から悩みを聞くだけの仕事など詐欺の「お金儲けのメール」、誰かに転送させようとする「チェーンメール」などがあります。
@developit
developit / *String.prototype.replaceAll() Ponyfill.md
Last active October 11, 2020 23:32
~80b ponyfill for String.prototype.replaceAll()

@developit/replaceall NPM

~80b ponyfill for String.prototype.replaceAll() with good performance.

Why ponyfill? Because this is a proposal for a spec, and polyfilling it in-place before it gets solidified could break code that relies on an incorrect implementation.

Alternate Version
@voluntas
voluntas / open_ayame.rst
Last active February 19, 2024 16:25
OpenAyame プロジェクト
@jakub-g
jakub-g / double-fetch-triple-fetch.md
Last active April 13, 2024 12:22
Will it double-fetch? Browser behavior with `module` / `nomodule` scripts
@uupaa
uupaa / offscreen_canvas_image_decode_and_shapre_detection.md
Last active August 5, 2022 03:58
OffscreenCanvas, image.decode(), createImageBitmap(), WebWorker, transferToImageBitmap(), transferFromImageBitmap(), zero copy, Shape Detection API

個人的に 2012年頃(?)から渇望していた OffscreenCanvas と一連のAPIがついに Chrome に実装されました。

このエントリでは、UIの応答性を改善する OffscreenCanvas の仕組みと、 OffscreenCanvas を有効活用するための周辺APIについて、概要とサンプルコードを紹介していきます。

ネタ元はこちらです https://www.youtube.com/watch?time_continue=159&v=wkDd-x0EkFU

既存の <canvas> は DOM と強く結びついている事から UI Thread(= ブラウザにおける Main Thread) の影響をうけますし、反対に影響を与えてしまいます。

影響: UI Thread で重い処理を走らせてしまうと、アニメーションのフレームスキップが発生し、なめらかにスクロールしなくなり、UIの応答性が悪くなるなどの弊害が発生してしまいます。

@voluntas
voluntas / sora_labo.rst
Last active July 9, 2023 13:05
時雨堂 Sora Labo 開発ログ
@ukyo
ukyo / text.md
Last active November 13, 2018 08:33
mallocとfreeだけ使いたい

wasmのメモリ管理つらい問題

とりあえずmallocとfreeがあればokなんだが・・・。

解決策1 emscripten使う

  • pros: 何も考えなくてもmallocとfreeが手に入る。
  • cons: でかい。

解決策2 https://github.com/dcodeIO/webassembly から取り出す

@kripken
kripken / hello_world.c
Last active January 17, 2024 12:15
Standalone WebAssembly Example
int doubler(int x) {
return 2 * x;
}
@xl1
xl1 / gist:55aa630747d7eb4fa97361baa80bab63
Last active November 27, 2019 04:28
<img> で EXIF の回転情報を考慮して表示したい

<img> で EXIF の回転情報を考慮して表示したい

環境

Windows 10

  • Chrome 55
  • Firefox 50
  • IE 11
  • Edge EdgeHTML 14