redirect to awesome-hust
This file contains 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
// ==UserScript== | |
// @name FUCK BankOfChina By USD from CNY 30 seconds wait. | |
// @namespace https://recolic.net/ | |
// @version 0.1 | |
// @description If you buy other concurrency on www.boc.cn, you have to wait 30 seconds to read a document. I fucked it. | |
// @author Recolic Keghart <root@recolic.net> | |
// @match https://ebsnew.boc.cn/boc15/welcome.html* | |
// @grant none | |
// ==/UserScript== |
This file contains 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
/* | |
* | |
* string.hpp: string process utility. | |
* Recolic Keghart <root@recolic.net> | |
* MIT License | |
* | |
* Minified version: works on C++11. | |
* | |
*/ |
use branch manyuser
.
This file contains 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/env python3 | |
# by Recolic Keghart, Nov 16 | |
import sys | |
import os | |
import subprocess | |
if len(sys.argv) < 2: | |
print('Error: go-get-for-china <pkg path>') | |
exit(1) |
I bought a cheap motherboard and realized that, I have no cable for 10pin(motherboard) to 15pin vga. And things went worse after I realized that my USB2TTL cable is not working for RS232 serial port.
Then... I have to install archlinux WITHOUT monitor. But, fortunately, I have a KEYBOARD!
I was too lazy to modify ArchISO. I just plug the ARCHISO usb stick and a blank harddisk, and boot,
Please refer to my blog: https://recolic.net/blog
I have migrated everything in this gist, into my new blog.
请到我的blog: https://recolic.net/blog
This file contains 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 | |
# Prevent the fucking wine to add mime file association. | |
# Implements https://askubuntu.com/questions/323437/how-to-prevent-wine-from-adding-file-associations | |
set -o xtrace | |
rm -f ~/.local/share/mime/packages/x-wine* | |
rm -f ~/.local/share/applications/wine-extension* | |
rm -f ~/.local/share/icons/hicolor/*/*/application-x-wine-extension* | |
rm -f ~/.local/share/mime/application/x-wine-extension* |
This file contains 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
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/ |