Enabling R8 code obfuscation:
App > build.gradle
debug {
signingConfig signingConfigs.debug
}
release {
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| #!/bin/bash | |
| npx react-native init RnSBSixAlpha --template react-native-template-typescript; | |
| cd RnSBSixAlpha; | |
| yarn add @storybook/react-native@next \ | |
| @react-native-async-storage/async-storage \ | |
| @storybook/addon-ondevice-actions@next \ | |
| @storybook/addon-ondevice-controls@next \ | |
| @storybook/addon-ondevice-backgrounds@next \ | |
| @storybook/addon-ondevice-notes@next \ |
| # 1. install Android Studio from https://developer.android.com/studio/?hl=ja | |
| # 2. add PATH for the Android SDK | |
| cat << 'EOS' >> ~/.zshrc | |
| export ANDROID_HOME=$HOME/Library/Android/sdk | |
| export PATH=$PATH:$ANDROID_HOME/tools | |
| export PATH=$PATH:$ANDROID_HOME/tools/bin | |
| export PATH=$PATH:$ANDROID_HOME/platform-tools | |
| export PATH=$PATH:$ANDROID_HOME/build-tools/29.0.3 | |
| EOS |
| # create assets folder in the current project | |
| $ mkdir android/app/src/main/assets | |
| # create bundle script | |
| $ react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | |
| # execute command to run android to create debug apk | |
| $ react-native run-android | |
| # change to android folder |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
| #!/bin/bash | |
| set -euo pipefail | |
| xcrun altool --upload-app --type ios --file "path/to/foo.ipa" --username "$ITC_USER" --password "$ITC_PASSWORD" |