Skip to content

Instantly share code, notes, and snippets.

@alvr
alvr / packages.md
Last active March 21, 2025 09:05
Available Packages

Available Packages:

Path Version Description
add-ons;addon-google_apis-google-15 3 Google APIs
add-ons;addon-google_apis-google-16 4 Google APIs
add-ons;addon-google_apis-google-17 4 Google APIs
add-ons;addon-google_apis-google-18 4 Googl
@Kudo
Kudo / Steps_for_WebkitGTK_2_24_2.md
Last active September 5, 2023 10:16
Steps to integrate experimented JSC

Intro

Here are the steps to integrate experimented JavaScriptCore. Hopefully this could solve the JSC crash issue on RN 0.59.

Steps (for RN 0.59)

  1. yarn add 'jsc-android@next'
  2. Modify build.gradle files.
diff --git a/android/app/build.gradle b/android/app/build.gradle
@co3moz
co3moz / lock.ts
Last active July 17, 2019 02:47
Locking mechanism for critical tasks with basic deadlock prevention and acquire timeout features
export class Lock {
private chain: Promise<any> = Promise.resolve(null);
busy = false;
acquire(deadlockSafeTimeout = 0, acquireTimeout = 0) {
let acquireTimeoutId: any = null;
let acquireFailed = false;
let unlock: () => void;
let unlockingPromise = new Promise(r => unlock = r);
@wojtekmaj
wojtekmaj / .gitignore
Last active July 6, 2025 14:08
How to upgrade Yarn to Yarn Modern (v4 at the moment) seamlessly
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions