Skip to content

Instantly share code, notes, and snippets.

View tgfjt's full-sized avatar
🐈

Takashi Fujita tgfjt

🐈
View GitHub Profile
@voluntas
voluntas / saikyo.rst
Last active September 13, 2023 02:33
ぼくのかんがえたさいきょうの超低遅延大規模配信

ぼくのかんがえたさいきょうの超低遅延大規模配信

更新:2018-08-20
作者:@voluntas
バージョン:18.8.3
URL:https://voluntas.github.io/
@voluntas
voluntas / sora_labo.rst
Last active May 29, 2024 02:33
時雨堂 Sora Labo 開発ログ
@kamiyam
kamiyam / README.md
Last active November 23, 2021 23:35
Windows npm install時のエラー解決

環境

Windows10 Home
(環境によっては他のバージョンも適用されるかも

Node.js インストール

https://nodejs.org/en/

確認

> node -v
@y0za
y0za / preact-redux-build-size.md
Last active January 11, 2018 11:34
preact redux build size

.babelrc

{
  "presets": ["es2015", "stage-0"],
  "plugins": [
    ["transform-react-jsx", { "pragma": "h" }],
    "transform-runtime"
  ]
}
@DmitrySoshnikov
DmitrySoshnikov / es6-list-negative-indices.js
Last active August 17, 2016 05:19
ES6 List negative indices
/**
* Reverse indices of Lists/Arrays in ES6.
*
* by Dmitry Soshnikov <dmitry.soshnikov@gmail.com>
* MIT Style License
*/
'use strict';
class List extends Array {
@kosamari
kosamari / _ServiceWorker_for_github_pages.md
Last active April 1, 2024 05:44
ServiceWorker for github pages.

ServiceWorker for github pages

This is a ServiceWorker template to turn small github pages into offline ready app.

Why ?

Whenever I make small tools & toys, I create github repo and make a demo page using github pages (like this one).
Often these "apps" are just an index.html file with all the nessesary CSS and JavaScript in it (or maybe 2-3 html/css/js files). I wanted to cache these files so that I can access my tools offline as well.

Notes

Make sure your github pages have HTTPS enforced, you can check Settings > GitHub Pages > Enforce HTTPS of your repository.

@Layzie
Layzie / chrome-tech-night-8.md
Last active August 29, 2015 14:25
Chrome Tech Night #8 メモ
@azu
azu / Incremental DOM.md
Last active July 13, 2022 16:07
Incremental DOM ざっと見たやつ。追記: 初期バージョンのコードなので最新では異なる場合があります。

Incremental DOM

Introducing Incremental DOM — Google Developers — Medium

Reactやvirtual-dom、Glimmer(Ember)などVirtual DOMの実装は色々あるが、これらのVirtual DOM実装には2つの問題がある

  • 既存のテンプレート言語を利用していない(しにくい)
  • モバイルでのパフォーマンス、特にメモリに関しては大きすぎる

これらを解決するためにIncremental DOMと言うものを作っている(WIP)

@p3t3r67x0
p3t3r67x0 / prefixed-office-properties.md
Last active February 20, 2024 19:15
MS Office prefixed style properties can be used for older versions of MS Excel, MS PowerPoint or MS Word when you want to save a document, presentation, workbook, or worksheet as a web document, or even in older versions for MS Outlook.

MS Office prefixed style properties

mso-ansi-font-size

Note: Office only

mso-ansi-font-size: large | larger | <length> | medium | <percentage> | small | smaller | x-large | x-small | xx-large | xx-small
@kevincennis
kevincennis / v8.md
Last active May 6, 2024 05:25
V8 Installation and d8 shell usage

Installing V8 on a Mac

Prerequisites

  • Install Xcode (Avaliable on the Mac App Store)
  • Install Xcode Command Line Tools (Preferences > Downloads)
  • Install depot_tools
    • $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
    • $ nano ~/.zshrc
    • Add path=('/path/to/depot_tools' $path)