Skip to content

Instantly share code, notes, and snippets.

View hfziu's full-sized avatar
🎯
Focusing

HF C hfziu

🎯
Focusing
View GitHub Profile
@hfziu
hfziu / .zshrc
Created November 27, 2019 02:37 — forked from mengyy212/.zshrc
Install Oh my zsh and plugins
# ...
plugins=(git
zsh-syntax-highlighting
zsh-autosuggestions
zsh-completions
osx)
autoload -U compinit && compinit
# ...
@hfziu
hfziu / trrprefs.md
Created September 18, 2018 01:50 — forked from bagder/trrprefs.md
trr prefs

Preferences

All preferences for the DNS-over-HTTPS functionality in Firefox are located under the "network.trr" prefix (TRR == Trusted Recursive Resolver). The support for these are targeted for shipping in release Firefox 62.

network.trr.mode

set which resolver mode you want.

0 - Off (default). use standard native resolving only (don't use TRR at all)

1 - Race native against TRR. Do them both in parallel and go with the one that returns a result first.

@hfziu
hfziu / 0_reuse_code.js
Created September 23, 2016 07:46
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console