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
import sys | |
from time import sleep | |
if __name__ == "__main__": | |
i = 0 | |
x = 0 | |
d = 1 | |
print('\033[36m') | |
while 1: |
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
# Switch between stable and beta version of Xcode in the same folder. | |
# Useful when you need to work with Xcode beta to try the latest APIs | |
# and Xcode stable for production on the same machine. | |
# Folder where Xcode resides. | |
FOLDER="/Applications" | |
# Names of the different versions of Xcode. | |
APP="$FOLDER/Xcode.app/" | |
APP_BETA="$FOLDER/Xcode-beta.app/" |
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
/// <summary> | |
/// Unregisters all delegates from an EventHandler. | |
/// </summary> | |
/// <param name="eventHandler">EventHandler to clear.</param> | |
public static void UnregisterAllDelegates(ref EventHandler eventHandler) | |
{ | |
// Cancel if already cleared. | |
if (eventHandler == null) | |
return; |
NewerOlder