curl -L https://github.com/txthinking/brook/releases/latest/download/brook_linux_amd64 -o /usr/bin/brook
chmod +x /usr/bin/brook
nano /etc/systemd/system/brook-socks5.service
—– BEGIN LICENSE —– | |
Mifeng User | |
Single User License | |
EA7E-1184812 | |
C0DAA9CD 6BE825B5 FF935692 1750523A | |
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA | |
1C25BE4D 25B1C4CC 5110C20E 5246CC42 | |
D232C83B C99CCC42 0E32890C B6CBF018 | |
B1D4C178 2F9DDB16 ABAA74E5 95304BEF | |
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576 |
> * Go to [hexed.it](https://hexed.it/) | |
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1 | |
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1 | |
> * Click "Find next" then "Replace" | |
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9 | |
> * Click "Save as" then name it: sublime_text | |
> * Copy your modified sublime_text.exe to directory Sublime Text |
# $OpenBSD: pf.conf,v 1.52 2013/02/13 23:11:14 halex Exp $ | |
# | |
# See pf.conf(5) for syntax and examples. | |
# | |
# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 | |
# in /etc/sysctl.conf if packets are to be forwarded between interfaces. | |
### Macros | |
# system |
[Unit] | |
Description=Clash service | |
After=network.target | |
[Service] | |
[Service] | |
Type=simple | |
StandardError=journal | |
User=clash |
I am not responsible for any damages, loss of data, system corruption, or any other mishap you may somehow cause by following this guide.
This is mainly a step-by-step reminder/log for myself of how I installed Arch on my laptop. I am putting this out there in case it is useful for someone else, it is not intended to be an official guide. As a result, you may find that this guide is very tedious or lists a lot of unnecessary/intuitive steps or just straight up does things in a way that is considered bad practice. Apart from the latter, this is intentional, as I did not find these steps intuitive at all when
I try to avoid using the GUI to configure/run barrier so I created a simple bash script barrier-client.sh
to launch my barrier client. It reads from a .config/barrier.cfg
file I created to determine the client name and server to connect to.
cat ~/.config/barrier.cfg
BARRIER_CLIENT_NAME=${HOSTNAME}
BARRIER_SERVER=gilbert.lan:24800
This expects the client to already be configured to trust the server. That trust is managed by the ~/.local/share/barrier/SSL/Fingerprints/TrustedServers.txt
which should have the fingerprint of the server.
{ | |
"window:devtools": "command+alt+i", | |
"window:reload": "command+r", | |
"window:reloadFull": "command+shift+r", | |
"window:preferences": "command+,", | |
"zoom:reset": "command+0", | |
"zoom:in": "command+plus", | |
"zoom:out": "command+-", | |
"window:new": "command+n", | |
"window:minimize": "command+m", |
#!/usr/bin/env bash | |
# starts (or restarts) a 1password cli session, sets 30 minute countdown variable | |
# use: OP_CLOUD_ACCOUNT="[your-account-name]" source /path/to/op_session.sh command | |
# e.g.: OP_CLOUD_ACCOUNT="familyname" source ~/op_session.sh get account | |
check_session(){ | |
# attempt sign in if session is not active |
/usr/share/GeoIP
.http://example.com
for current GeoIP and http://example.com/ip
for current IP onlyhttp://example.com/x.x.x.x
to query any IP.http://example.com/domain-name
for GeoIP of domain-name and http://example.com/domain-name/ip
to return IP of domain-name only. If multiple IPs are set to single domain-name, all of them will be returned. Only A record
will be used.$ curl http://example.com/
x.x.x.x
Country, Region, City
ASN number