設定兩張網路卡

1. 停用所有網卡

2. 啟用內部網卡

3. 清除全部路由

route delete 0.0.0.0

4. 內網路由設定

(10.97.99.1為閘道IP)
台日

route add 10.97.0.0 mask 255.255.0.0 10.97.99.1 metric 10

桃廠

route add 10.121.0.0 mask 255.255.0.0 10.97.99.1 metric 10

開門檢查

route add 10.125.0.0 mask 255.255.0.0 10.97.99.1 metric 10
route add 10.108.0.0 mask 255.255.0.0 10.97.99.1 metric 10

5. 啟用外部網卡


使用ForceBindIP綁定Firefox使用指定網卡

C:\Windows\System32\ForceBindIP.exe -i 1.2.3.4 "C:\Program Files\Mozilla Firefox\firefox.exe"

Ref

view raw step.md hosted with ❤ by GitHub

ES6 Proxy

// LANG
view raw 1.js hosted with ❤ by GitHub
let log = new Proxy({}, {get: (x, k) => (...pass) => console.log(`%c${pass.join(' ')}`, `color: ${k}`)});
log.tomato('I am tomato');
log.chocolate('I am chocolate');
log.noExistColor('I am no exist color');

Ref

view raw proxy.md hosted with ❤ by GitHub

Firefox Awesome Bar

  • Add ^ to search for matches in your browsing history.
  • Add * to search for matches in your bookmarks.
  • Add + to search for matches in pages you've tagged.
  • Add % to search for matches in your currently open tabs.
  • Add ~ to search for matches in pages you've typed.
  • Add # to search for matches in page titles.
  • Add @ to search for matches in web addresses (URLs).
  • Add $ to search for matches in suggestions.

Awesome Bar - Search your Firefox bookmarks, history and tabs from the address bar | Firefox Help