test.yml
test.yml This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleSuper simple Node.js IPC with Unix domain sockets
node-ipc.js This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleNext.js Dockerfile
Dockerfile This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View Articlenextjs-custom-server.md
nextjs-custom-server.mdSome pain points:HMR is not always practical for server side development. For example HMR interferes with the initialisation of prom-client (and probably other libs), and there's...
View ArticleMaking Apple Developer certificates on Linux
Making Apple Developer certificates on Linux This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor...
View ArticleClearing the Cache of your React Native Project
React Native Clear Cache This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden...
View Article.vimrc
.vimrc This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleApple M1 workarounds
workaround.mdFor npm packages that don't provide arm binaries:npm i --target_arch=x64For gradle packages that don't provide arm binaries:// for apple m1, please add protoc_platform=osx-x86_64 in...
View ArticleClear react native cache
gistfile1.txt This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleSome tips to working with react-native 0.64 on an Apple M1 Silicon chip
react-native-apple-m1.mdMy env:cocoapods 1.10.1xcode 12.4macos big sur 11.2.3react-native 0.64iOSThe iOS simulator build won't "just work". If you get errors like ld: library not found for... or swift...
View Articlestart an android emulator with screen dimensions (specifically for use in CI)
android_emulator_cli_ci.md# Install AVD files yes |$ANDROID_HOME/tools/bin/sdkmanager --install 'system-images;android-29;default;x86' yes |$ANDROID_HOME/tools/bin/sdkmanager --licenses # Create...
View Articleportainer docker swarm CD (GitHub Actions)
deploy.yml This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View Article.gitconfig
.gitconfig This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View Articleiterm2 prefs
iterm2.plist This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleSetup the android emulator on Azure Devops Pipelines
android-emulator-setup.yml This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals...
View Articlebuild-ios.sh
build-ios.sh This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View Articleclean.sh
clean.sh This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleGenerate an S3 ETAG for multipart uploads in Node.js
s3Etag.ts This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleGenerate an S3 ETAG for a multipart upload file, on MacOS
s3etag.sh This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View ArticleStorybook webpack 5 typescript ESM
instructions.mdstorybook-webpack5-esm-typescriptThe following instructions are collated from storybookjs/storybook#14877mkdir storybook-esm-react-webpack5cd storybook-esm-react-webpack5npm init -y #...
View Article