Super 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 Articlereact native build benchmarks
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 ArticleAzure pipelines install dotnet on mac mini arm64
azure-pipelines.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...
View ArticleCreate multiple repositories visualization video using gource and ffmpeg
multiple-gource.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...
View Articleexample dotnet 6 code to sign an apple JWT from p8 certificate file
example.cs 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 Articlegist:ec21555281411ac13683d597bc10f9a7
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 Articlec# predicate builder, useful for constructing linq predicates
ExpressionWhereFinder.cs 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 ArticleFast & Flexible TypeScript dot notation key extraction that supports nested...
paths.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 ArticleReact Native, React Query Offline Persisted Queries & Mutations
README.mdThese files demonstrates how to persist queries and mutations to offline state with the following behaviour:Serve from query cache if offlinePersist mutations if offline, and resume mutations...
View Articlereact native cloc
cloc.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 ArticleReact Navigation hook to check if the current (nested) route has an ancestor...
useHasAncestorRoute.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...
View Articleremove dotnet bin and obj
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 Article