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
Show hidden characters
| { | |
| "shell_cmd": "C:\\msys64\\usr\\bin\\env MSYSTEM=MINGW64 c:\\msys64\\usr\\bin\\bash -l -c \"cd \\$(cygpath -u '${folder:${project_path:${file_path}}}') && make\"", | |
| "file_regex": "^(..[^:\n]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
| "working_dir": "${folder:${project_path:${file_path}}}", | |
| "selector": "source.makefile", | |
| "syntax": "Packages/Makefile/Make Output.sublime-syntax", | |
| "keyfiles": ["Makefile", "makefile"], | |
| "variants": | |
| [ |
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
| # Push commits to LOS Gerrit | |
| git push ssh://<gerrit-user-id>@review.lineageos.org:29418/LineageOS/<repo-name> HEAD:refs/for/<branch> | |
| # Install change-id hooks first: | |
| gitdir=$(git rev-parse --git-dir); scp -O -p -P 29418 <gerrit-user-id>@review.lineageos.org:hooks/commit-msg ${gitdir}/hooks/ |
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 pathlib import Path | |
| import io | |
| import sys | |
| data = Path(sys.argv[1]).read_bytes() | |
| l = len(data) | |
| for index, b in enumerate(data): | |
| if (b == 0x42 and data[index+1] == 0x4D): | |
| x = int.from_bytes(data[index+2:index+6], byteorder="little", signed=False) |
OlderNewer