Skip to content

Instantly share code, notes, and snippets.

View caasi's full-sized avatar
🏝️
Spiritual Homeland

Isaac Huang caasi

🏝️
Spiritual Homeland
View GitHub Profile
@neolaw84
neolaw84 / install_rocm_on_ubuntu_20.04.2_radeon_rx570.md
Last active March 31, 2024 18:32
Installing rocm on Ubuntu 20.04.4 + Radeon RX570

Install ROCm on Ubuntu 20.04.4 and Radeon RX570

Situation

Installing by closely following ROCm Installation Guide because :

  • it misses to install libnuma-dev and libncurses5
  • installing dkms breaks ROCm after reboot

Actions

@rishitells
rishitells / Jest_GitLab_CI.md
Last active May 7, 2024 12:30
Setting up Jest tests and coverage in GitLab CI

Configuring Jest Tests in GitLab CI

1. Add GitLab CI configuration file in the root

In the root of your project, add .gitlab-ci.yml with the configuration below.

image: node:latest

stages:
@iansu
iansu / README.md
Last active April 5, 2022 17:21
Using React 17 and the new JSX transform with Create React App 4.0 Alpha

Using React 17 and the new JSX transform with Create React App 4.0 Alpha

Create React App 4.0 is currently in alpha and supports using React 17 and the new JSX transform. To use it, follow these instructions.

Create a new app

Create a new app with npx create-react-app@next --scripts-version=@next --template=cra-template@next my-js-app

Update to React 17

@tomhicks
tomhicks / plink-plonk.js
Last active March 18, 2024 02:23
Listen to your web pages
@MiyacoGBF
MiyacoGBF / 01_NieR_FAR.md
Last active May 9, 2024 20:17
How to Install FAR, HD Texture Pack, and ReShade (GShade) for NieR:Automata on Linux
{-
A program searching for solutions of a board puzzle
given by a friend.
The aim is to fill in a 8 by 8 square using the
given 8 pieces. Each piece has a particular shape and
can be rotated and flipped.
I am not satisfied with this program yet. The program
@wildjcrt
wildjcrt / 無架構的暴政文摘.txt
Last active October 9, 2018 15:16
《無架構的暴政》一文重點整理
# 《無架構的暴政》文摘
Digest of "THE TYRANNY of STRUCTURELESSNESS by Jo Freeman a.k.a. Joreen"
http://blog.roodo.com/dkchen10/archives/4728841.html
## tl;dr
任何組織或團體在草創期多半都是無架構,但隨著組織團體規模變大,它們必須要制定出適合自己團體的架構,才能有所作為、確保成員共同參與,同時避免混亂。
* 團體架構的基本原則,可以參考第 6 段。
* 團體內產生一個或多個小群體是正常的,群體之間彼此競爭是健康的,可以參考第 4 段。
34. to/lo po/lo' i/ra ko se/pat.
Mi/sa/lof,
Mi/sa/nga’,
Mi/pa/la/sa/wad to
Ma/le/ka/ya/tay to/na Ri/ke/c
O ci/to/do/ngay a
mi/ko/wa/nay i,
i la/lo/ma’ no
to/lo a mih/ca/an
@ncochard
ncochard / babel-webpack.md
Last active September 29, 2023 05:15
The correct way to compile ES6 using babel...

When you create a npm package, remember it might be used in a browser or a server, or even a command line utility… For each package you create, please pay attention at what it will be used for:

  1. Is it going to be used as a dependency to a nodejs application that is not bundled? (e.g. command line utilities)
  2. Is it going to be used as a dependency to a nodejs application that is bundled? (e.g. AWS Lambdas)
  3. Is it going to be used as a dependency to a browser application (always bundled)?.
  • In cases 2) and 3) you want to allow for tree shaking.
  • In cases 1) and 2) you want to benefit from the "ES6"/"ES next" features supported natively by nodejs.
  • In case 3) you also want to benefit from the native support of "ES6" from your browser.
@weihanglo
weihanglo / days-with-internet-explorer.md
Last active January 11, 2022 09:39
與 IE 相處的日子

與 IE 相處的日子

近幾年來,JavaScript 可謂風生水起,從後端到前端,從 mobile 到 desktop,各種 module 滿天飛,信手拈來就是一個 web app。不過,「沒碰過 IE,別說你會做前端」,本人從超新手的角度出發,整理最近修正 IE 相容性遇到的坑與解法,給自己日後留個參考。

(撰於 2017-07-15,基於 IE 11/Edge 15)

Contents