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
| GOOS=windows GOARCH=386 go build -o hello.exe hello.go | |
| #Supported architecture: https://golang.org/doc/install/source#environment |
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-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12} |
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 com.google.common.base.Charsets; | |
| import java.util.UUID; | |
| public class OfflineUUID { | |
| public static void main(String[] test) throws Exception { | |
| UUID.nameUUIDFromBytes(("OfflinePlayer:" + "playerName").getBytes(Charsets.UTF_8)); | |
| } |
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
| java -Xdebug -XX:+UnlockDiagnosticVMOptions -Xrunjdwp:transport=dt_socket,address=1000,server=y,suspend=n -jar fileName.jar |
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
| SELECT | |
| COLUMN, COUNT(*) | |
| FROM | |
| TABLE | |
| GROUP BY | |
| COLUMN | |
| HAVING | |
| COUNT(*) > 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
| INSERT INTO premium (Name, Premium, LastIp, UUID) SELECT | |
| name AS Name, | |
| /* Enable premium authentication only for those who want to be auto logged in, so | |
| they have their cracked protection disabled */ | |
| !protection AND premium AS Premium, | |
| /* Not used at the moment */ | |
| '' AS LastIp, | |
| /* Remove the dashes - returns null if puuid is null too */ | |
| REPLACE(puuid, '-', '') AS UUID | |
| FROM gt_nicknames |
NewerOlder