Skip to content

Instantly share code, notes, and snippets.

View 256hz's full-sized avatar

Abe Dolinger 256hz

View GitHub Profile
import cp from 'child_process';
const RED = '\x1b[31m';
const RESET_COLOR = '\x1b[0m';
const REQUIRED_POD_VERSION = '1.11.3';
const check = () => {
if (process.env.GITHUB_ENV || process.env.CI) {
console.log('not checking Cocoapods version in CI');
@256hz
256hz / reanimated_crash_ios_stack
Created March 26, 2022 01:23
reanimated 2 interpolateNode crash iOS stack trace
#0 0x000000018d212454 in JSC::initialize() ()
#1 0x000000018c9955a0 in JSStringCreateWithUTF8CString ()
#2 0x0000000104754bc4 in facebook::jsc::JSCRuntime::createStringFromUtf8(unsigned char const*, unsigned long) at /Users/abe/dev/treecard/app/node_modules/react-native/ReactCommon/jsi/JSCRuntime.cpp:672
#3 0x0000000104754b70 in facebook::jsc::JSCRuntime::createStringFromAscii(char const*, unsigned long) at /Users/abe/dev/treecard/app/node_modules/react-native/ReactCommon/jsi/JSCRuntime.cpp:664
#4 0x0000000104763bb8 in facebook::jsi::String::createFromAscii(facebook::jsi::Runtime&, char const*, unsigned long) at /Users/abe/dev/treecard/app/ios/Pods/Headers/Private/React-jsi/jsi/jsi.h:460
#5 0x0000000104763b78 in facebook::jsi::String::createFromAscii(facebook::jsi::Runtime&, char const*) at /Users/abe/dev/treecard/app/ios/Pods/Headers/Private/React-jsi/jsi/jsi.h:466
#6 0x000000010475f2f0 in facebook::jsi::Object::getProperty(facebook::jsi::Runtime&, char const*) const at /Users/abe/dev/treecard/app/ios/Pods/H
@256hz
256hz / minesweeper.rb
Created June 14, 2019 04:58
its minesweeper boys
map = [
'..*..*...',
'.....*...' ,
'..**.....' ,
'..***....' ,
'..*.*.*..',
'...**....' ,
'.*.*.**..' ,
'...*.....',
'....*..*.' ,