- Install Visual Studio Code (not Visual Studio)
- Make sure Xcode / clang is installed per instructions
- Ensure the VS Code extension called "C/C++ for Visual Studio Code" from Microsoft
- Press ++p and type "C/C++: Select IntelliSense Configuration..." - press enter
- Select "Use clang++ found at /usr/bin/"
- Should see a file as above, mostly filled out - add the "includePath" section
- Ensure "autosave" is turned on
- Install Unreal Engine 5.x
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 characters.
Learn more about bidirectional Unicode characters
PROJ=$(find . -name "*.uproject") | |
if [ -z "$PROJ" ]; then | |
echo "Run this from inside the folder containing your Unreal project file - eg \"MyGame.uproject\"." | |
exit 1; | |
fi | |
# Only major version as per pathname | |
UNREAL_VERSION=5.5 | |
PROJ_NAME=$(basename $PROJ .uproject) | |
CUR_DIR=$(pwd) |
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 characters.
Learn more about bidirectional Unicode characters
PROJ=$(find . -name "*.uproject") | |
if [ -z "$PROJ" ]; then | |
echo "Run this from inside the folder containing your Unreal project - eg \"MyGame.uproject\"." | |
exit 1; | |
fi | |
PROJ_NAME=$(basename $PROJ .uproject) | |
CUR_DIR=$(pwd) | |
echo "Regenerating project files for ${PROJ_NAME}..." |
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 characters.
Learn more about bidirectional Unicode characters
/// The file is stored in an encrypted format on disk and | |
/// cannot be read from or written to while the device is locked or booting. | |
Complete Protection (NSFileProtectionComplete) |
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 characters.
Learn more about bidirectional Unicode characters
Name | Development Language | |
---|---|---|
React Native | Javascript | |
Flutter | Dart | |
Xamarin | C# | |
Ionic | Javascript (webviews) |
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 characters.
Learn more about bidirectional Unicode characters
cd ~/src | |
git clone --mirror [email protected]:my-git-name/RepoWithExposedSecrets.git | |
java -jar ~/bin/bfg-1.14.0.jar --delete-files Credentials.json RepoWithExposedSecrets.git |
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 characters.
Learn more about bidirectional Unicode characters
cd ~/src/RepoWithExposedSecrets.git | |
git reflog expire --expire=now --all && git gc --prune=now --aggressive |
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 characters.
Learn more about bidirectional Unicode characters
# Get the SSH clone link from your repo and check it out with a distinctive name | |
mkdir -p ~/src && cd ~/src | |
git clone [email protected]:my-git-name/RepoWithExposedSecrets.git\ | |
freshRepoWithExposedSecrets |
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 characters.
Learn more about bidirectional Unicode characters
curl -O https://repo1.maven.org/maven2/com/madgag/bfg/1.14.0/bfg-1.14.0.jar | |
mkdir -p ~/bin | |
mv -f bfg-1.14.0.jar ~/bin/. | |
java -jar ~/bin/bfg-1.14.0.jar |
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 characters.
Learn more about bidirectional Unicode characters
# Install Android Studio then add these lines to your ~/.bash_profile | |
# Java from Android SDK | |
export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home" | |
export PATH="${JAVA_HOME}/bin:${PATH}" |
NewerOlder