Skip to content

Instantly share code, notes, and snippets.

@hi-ogawa
hi-ogawa / README.md
Last active August 29, 2023 07:49
Reading React

todo / summary

  • dev setup (debugger, testing, ...)
  • build system and package organization
    • patching ReactFiberHostConfig and ReactSharedLibrary (cf. scripts/shared/inlinedHostConfigs.js)
    • rollup, babel, jest configurations
  • hook and rendering lifecycle
    • mount
    • update
    • unmount
@wayou
wayou / emscripten vscode setup.md
Last active February 13, 2025 03:49
setup emscripten for vscode intelli sense

install emscripten

$ brew install emscripten

and setup by following the instruction after the installation.

get the location of emscripten header files

@PARC6502
PARC6502 / OpenSourceBaas.md
Last active May 30, 2025 15:40
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Supabase - ~52K stars

  • Designed explicitly as an open source firebase alternative
  • Typescript based
  • Docker support

Appwrite - ~32K stars

  • Written in JavaScript and PHP
  • Docker based
  • Realtime support across all services
@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active May 29, 2025 10:31
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub
@billryan
billryan / [email protected]
Last active April 22, 2021 12:52
科学上网相关配置文件
[Unit]
Description=ChinaDNS Service
After=network.target
[Service]
Type=simple
User=nobody
ExecStart=/usr/bin/chinadns -s %i,8.8.8.8,208.67.222.222:443 -m -p 5353 -y 0.3 -d -c /etc/chnroute.txt
[Install]
@QuantumGhost
QuantumGhost / example.puml
Last active September 21, 2024 19:19
A simple template for PlantUML to draw ER diagram.The basic idea comes from http://plantuml.sourceforge.net/qa/?qa=331/database-modeling
@startuml
' uncomment the line below if you're using computer with a retina display
' skinparam dpi 300
!define Table(name,desc) class name as "desc" << (T,#FFAAAA) >>
' we use bold for primary key
' green color for unique
' and underscore for not_null
!define primary_key(x) <b>x</b>
!define unique(x) <color:green>x</color>
!define not_null(x) <u>x</u>
@beci
beci / gcc 5 on ubuntu 14.04
Created October 15, 2015 07:18
use gcc 5.x on ubuntu 14.04
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
@hydrargyrum
hydrargyrum / ycmd.md
Last active November 17, 2015 14:09
ycmd protocol documentation draft

Running YCMD

Command-line options

--host ADDRESS
    ... If not specified, 127.0.0.1 is used.

--port PORT
    Listen on PORT. If not specified, will use any available port.

###预备条件

  1. BIOS 升级至 2.15,开启 ACHI,启用 F12 选择启动项
  2. GPT 分区,UEFI 引导的 win8.1 系统
  3. 预留最小约 40GB 磁盘空间,且未格式化
  4. 无线网卡是AR9287

###制作安装U盘

  1. 下载远景论坛U盘版.10.9.2.13C64.20140303.dmg并使用TransMac刻录到U盘
  2. 拔插U盘,删除EFI文件
  3. 拷贝此处提供的EFI文件至刚才位置
@tracker1
tracker1 / 01-directory-structure.md
Last active May 3, 2025 04:36
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used