See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.json
file in/etc/docker
:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
# Decompile APK | |
apktool d path/to/app.apk -o output/directory | |
# Remove SSL pinning | |
grep -R "CertificatePinner" . | |
// remove lines like | |
invoke-virtual {v2, v3, v4}, Lokhttp3/CertificatePinner$Builder;->add(Ljava/lang/String;[Ljava/lang/String;)Lokhttp3/CertificatePinner$Builder; | |
move-result-object v2 | |
# Recompile APK |
@echo off | |
setlocal enabledelayedexpansion | |
set "RegistryKey=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services" | |
set "SearchPatterns=Svc_,Service_" | |
for %%S in (%SearchPatterns%) do ( | |
set "SearchPattern=%%S" | |
echo !SearchPattern! |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json
file in /etc/docker
:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
^[a-z0-9](?:(?!\.\.|-\.|\.-)[a-z0-9-.])*\.[a-z]{2,}$ |
for anyone who still find solution
Note: I'm running MacOS 10.15.7 (19H114)
first download react-native-debugger. Then you must open it at least 1 time
npm i -g asar
asar e /Applications/React\ Native\ Debugger.app/Contents/Resources/app.asar /tmp/app
cd /tmp/app
# option 1
declare namespace globalThis { | |
interface Error { | |
code?: number|string | |
data?: any | |
} | |
} |
Push app to testflight, after app processed, download symbols, then run
BUILT_DATE=$(ls -t ~/Library/Developer/Xcode/Archives | head -n1);XARCHIVE=$(ls -t ~/Library/Developer/Xcode/Archives/$BUILT_DATE/ | head -n1);SENTRY_PROPERTIES=./ios/sentry.properties node_modules/@sentry/cli/bin/sentry-cli upload-dif "$HOME/Library/Developer/Xcode/Archives/$BUILT_DATE/$XARCHIVE/dSYMs"
Just run
SENTRY_PROPERTIES=./android/sentry.properties node_modules/@sentry/cli/bin/sentry-cli upload-dif "android/app/build/intermediates/merged_native_libs/release"
For anyone who stuck after run lerna link
, patch-package
will not be executed at lerna bootstrap
lerna.json
), edit package.json
as below// ...
"devDependencies": {
"@lerna/child-process": "^4.0.0",
"@lerna/project": "^4.0.0",
// ...
},
#!/bin/bash | |
# PROJECT ROOT PATH HERE IF YOU DON'T CALL BY scripts IN package.json | |
CURRENT_PATH=$(pwd) | |
IOS_PATH="$CURRENT_PATH/ios" | |
get_version() { | |
MARKETING_VERSION=$(grep 'MARKETING_VERSION' $IOS_PATH/*.xcodeproj/project.pbxproj | head -n1 | rev | cut -d ';' -f2 | cut -d ' ' -f1 | rev) | |
} | |
get_build() { | |
CURRENT_PROJECT_VERSION=$(grep 'CURRENT_PROJECT_VERSION' $IOS_PATH/*.xcodeproj/project.pbxproj | head -n1 | rev | cut -d ';' -f2 | cut -d ' ' -f1 | rev) |
tsconfig-paths
npm i -D tsconfig-paths
ts-node
, baseUrl
to tsconfig.json
// tsconfig.json
{
"ts-node": {