Skip to content

Instantly share code, notes, and snippets.

{
"title": "适合 HHKB 和 Vim 用户的键盘映射",
"rules": [
{
"description": "短按 Control_L -> ESC 并切换英文输入法",
"manipulators": [
{
"conditions": [
{
"input_sources": [
@kxccc
kxccc / vpn-hotspot.sh
Created March 7, 2020 07:31 — forked from ShapeShifter499/vpn-hotspot.sh
vpn hotspot script
#!/storage/xbin/bash
# This script should help forward VPN over any tethered connection on a Android device. Turn on tethering, then enable VPN, then run this script.
# Inital variable setup
tethering=0
# Setup iptables before forwarding VPN
iptables -A POSTROUTING -o tun0 -j MASQUERADE -t nat