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
# Author: rix <[email protected]> | |
pkgname=mr | |
pkgver=1.0 | |
pkgrel=1 | |
pkgdesc="A tool tomanage all your version control repositories" | |
arch=('any') | |
url="https://myrepos.branchable.com" | |
license=(GPL) | |
makedepends=('git') |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC20UK6XEvgeGYz2od/EHemjLIYH6xTrXRGIY6WyEkadm3JUQ2kfG1iDs2n2dPmogdJc9gNawyorhz3EQXvNoXDTps3Ge/hKL7AqC8nP0ZgEQSQfHzbjWuMXiNIizEodnIkbt07BCKrSnBv6/KH2mg8SdBCtFXFkrZz6ZAZmXYYi0Bk8rj2+Hkz1NM/4kfVU4fFj+H4u6BgSp0rhwtdxYzcvsz6aW6chK8kBFIygl7/PezeTDOIEW3NAax6Y4JYgFo+Nh2nQr8pskbsUCikFWaHSEHLXzDQUfAbs/a1Z2cPHf/IDEKTprT1vucrUPhac9DTDYFGfHOrJcihIj5tkQcCg9LFnZvZHtr5273VFvI+YBF1yr3U7oHeMhn4DNnF8iy729bZ5HGVFJ415YbG1OMclvTPpxl6zG/V9dKarZonSLjgMQ8eWX5iMjWhmRJPg99CSWYqOUSlMguoj2iCBZVgnCRSzQvwTGVEOrKuKXxdw6JKI9x0cnj7b1hCY5T40BOrsXv7V4i946CE4fHFYC0tnTkMwTYSgA+f71Lo5hSjkPnTKgVexDHHTP9TKOkajcDvIsfoDFVCkfiavguo7STXKbcD3tbHKUCjDWwBtze1BfTao4nBguklTxbst7DZ5r1ShOPmeGA7pirDTT5oiVA7wWem+enV2GJ1ul8V5bUDUQ== rix@rx |
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 | |
find "$0" -type f -name "*.ass" -o -name "*.srt" -o -name "*.ssa" -o -name "*.sub" -o -name "*.sbv" -exec enconv -L chinese -x UTF8 "{}" \; |
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
@echo off | |
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbX+wzQU6/Jq2Ot9XvPEgMOCsLw60I4xDW+hiUQBcRwwZ6EW1WGF+za5PNLCbdzxlpFRHRoDd2lef6ZvC5i4sPVX94Yn9pdpCoqVp5cnvny53IsWCHabx+JzLHbCFakIeHla2VksxXKUnUW6by+E1IWkUi4QqRBowcjb7v5oqsfz36xdLs3SHN0LQFloquLAGnd1H5IF7itTD1vOBTHherKIsmBKCB4sQz38M113d8GWkSzIaa2ZbaAVwpMxl1ppMERsOTh4kycFhs4DXNfMWWRj28y5BRT948oziZ4wpsQ2KD2p0e4jcpY0Ho/9ikqVYXLQgNNCBP3IDlGLYZeEfRH+aVfpqXHfXezAT2FA9U0gHGZkyFqcJ4iPaihWhbLxEnpixFLKxm0RKqzNV7+le7jDC5mrhDBLfbnbkzRSDDCVutpUGfLKUonLc2XKYYBM3Pr+UjpwCpBaskNcnzuly42NmoYKNjQpQzcIGFKddWxX5MOeyrtno1NDZy4DnjLHRSvUjLBfOoJTSjVF2lHTGuaE0/bXvvF9Y77D6rNYQZen34H/DiDklKyxbmBJsqCFSokqRR0HCR8IPXJ2BS4DiMbtYGclWVnoQm17e2rS1PI1tbQadSbwjSHudBUP9oUr7JVL+htkZVxbRGzpjyMbRmSB1fZQ2qME6+bjJ/mBlFUw== rix@RixMac |
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 [ -z "$1" ]; then | |
SRC="." | |
else | |
SRC="$1" | |
fi | |
if [ -z "$2" ]; then | |
ENCODING="gb18030" |
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/zsh | |
# ------------------------------------------------------------------ | |
# [Rix] Bemuse.ninja BMS Convertor | |
# Converts the Japanese encoded BMS and reorder folders. | |
# ------------------------------------------------------------------ | |
VERSION=0.1.0 | |
SUBJECT=bemuse | |
USAGE="Usage: bemuse DIR" |
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
// USB Vendor ID: 0x05AC | |
// USB Product ID: 0x0251 | |
/* The upper label indicates the key's function. | |
* The lower label indicates the USB/HID Keyboard report value. | |
* The keyboard report (endpoint 0x81) has the following data structure: | |
* ``` | |
* struct kdb_report { | |
* uint8_t modifier; | |
* uint8_t reserved; |
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
.data | |
scanf_fmt: | |
.asciz "%d" | |
printf_fmt: | |
.asciz "%d\n" | |
.text | |
.global main | |
main: |
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
Get-ChildItem .\* -Include *.ass | Rename-Item -NewName { $_.Name -replace '^.*?(\d+).*(\.\w+)$','$1$2' } |