This file contains hidden or 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
// MIT License | |
#include "EnumContainer.h" | |
FString UEnumContainer::GetStringFromE_TileState(E_TileState EnumValue) | |
{ | |
FString EnumName = FString(TEXT("E_TileState")); | |
return EnumToString<E_TileState>(EnumName, EnumValue); | |
} |
This file contains hidden or 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
##################### | |
# | |
# Use this with or without the .gitattributes snippet with this Gist | |
# create a fixle.sh file, paste this in and run it. | |
# Why do you want this ? Because Git will see diffs between files shared between Linux and Windows due to differences in line ending handling ( Windows uses CRLF and Unix LF) | |
# This Gist normalizes handling by forcing everything to use Unix style. | |
##################### | |
# Fix Line Endings - Force All Line Endings to LF and Not Windows Default CR or CRLF |
This file contains hidden or 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
0) starting state, feature is based on master, | |
and depends-on-feature is based on feature | |
o---o---o master @ commit 1 | |
\ | |
o---o---o feature @ commit 2 | |
\ | |
---o depends-on-feature @ commit 3 | |
1) coworker makes several commits to master |
This file contains hidden or 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
FROM --platform=linux/arm64 ubuntu:20.04 as custom-python3.11 | |
## Set timezone to avoid anything too weird/produce builds with correct timestamps | |
RUN rm -rf /etc/localtime | |
RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime | |
#? COPY /usr/bin/qemu-system-aarch64 /usr/bin/qemu-system-aarch64 | |
## Install all dependencies |
This file contains hidden or 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
#!/usr/bin/env bash | |
## Usage: ./available_bytes.sh # checks device where current directory exists | |
## ./available_bytes.sh /boot # checks device where /boot exists | |
if [ $# -lt 1 ]; then | |
TARGET=$PWD | |
else | |
TARGET=$1 | |
fi |