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
#!/bin/bash | |
# https://github.com/jomo/imgur-screenshot | |
# https://imgur.com/tools | |
if [ "${1}" = "--debug" ]; then | |
echo "########################################" | |
echo "Enabling debug mode" | |
echo "Please remove credentials before pasting" | |
echo "########################################" | |
echo "" |
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
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
public class ScenePreloader : MonoBehaviour | |
{ | |
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] | |
static void OnBeforeSceneLoad() | |
{ | |
LoadPreloaderScene(); | |
} |
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
# Usage: cd <project_root> && python ./ezdeps.py | |
# Add "include(ezdeps/CMakeLists.txt)" at the top of the root CMakeLists.txt | |
# Add needed dependencies in ezdeps/conanfile.py | |
import os | |
import urllib.request | |
from builtins import print | |
cwd = os.getcwd() |
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
PreventRepeating() { | |
KeyWait, Alt | |
KeyWait, Ctrl | |
KeyWait, Shift | |
KeyWait, LWin | |
KeyWait, RWin | |
KeyWait, %A_ThisHotkey% | |
} | |
SetCapsLockState, AlwaysOff |