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
| #!python2 | |
| #ps4 related changes -oct0xor | |
| import sys, os, struct | |
| from io import BytesIO | |
| from pprint import pprint | |
| def read_cstring(f): | |
| bytes = [] |
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
| /// write to file | |
| var txtFile = "c:/test.txt"; | |
| var file = new File(txtFile); | |
| var str = "My string of text"; | |
| file.open("w"); // open file with write access | |
| file.writeln("First line of text"); | |
| file.writeln("Second line of text " + str); | |
| file.write(str); | |
| file.close(); |
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
| <?php | |
| /* | |
| Made by Kudusch (blog.kudusch.de, kudusch.de, @Kudusch) | |
| --------- | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> |
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
| #!/bin/bash | |
| if [ $# -lt 2 ]; then | |
| echo "format: git_cleanup <repo name> [-x/--expunge <directory 1> -l/--keeplatest <directory 2> ...]" | |
| exit | |
| fi | |
| PROJ="$1" | |
| shift |
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
| #!/bin/bash | |
| # author Marek Vavrecan (vavrecan@gmail.com) | |
| # show usage | |
| [ $# -eq 0 ] && { echo "Usage: $0 [apk path] [source namespace] [target namespace]"; exit 1; } | |
| APK_PATH="$1" | |
| NAMESPACE_FROM="$2" | |
| NAMESPACE_TO="$3" |