-
Disable and stop the systemd-resolved service:
sudo systemctl disable systemd-resolved.service sudo systemctl stop systemd-resolved
-
Then put the following line in the
[main]
section of your/etc/NetworkManager/NetworkManager.conf
:
Please refer to this blogpost to get an overview.
Replace *-INSTANCE
with one of the public instances listed in the scrapers section. Replace CAPITALIZED
words with their corresponding identifiers on the website.
-
Install
Xquartz
to get X11 support on MacOS. You can googleXquartz
and download it from its official site, or install using HomeBrew.brew cask install xquartz
-
Launch
Xquartz
. Go toPreference
->Security
, click the boxAllow connections from clients
. NOTE: You have to lauchXquartz
withAllow connections from clients
enable everytime you want tossh
to remote server with X11 forwarding support.
require 'execjs' | |
module Katex | |
class << self | |
JS_FILENAME = 'vendor/katex/katex.min.js' | |
JS_CTX = ::ExecJS.compile(File.read(JS_FILENAME)) | |
INLINE_REGEX = /\\\((.*?)\\\)/m.freeze | |
DISPLAY_REGEX = /\\\[(.*?)\\\]/m.freeze |
alias l='exa -1a' # Lists in one column, hidden files. | |
alias ll='exa -l' # Lists human readable sizes. | |
alias lr='ll -R' # Lists human readable sizes, recursively. | |
alias la='ll -a' # Lists human readable sizes, hidden files. | |
alias lm='la | "$PAGER"' # Lists human readable sizes, hidden files through pager. | |
alias lx='ll --sort=Extension' # Lists sorted by extension (GNU only). | |
alias lk='ll --sort=size -r' # Lists sorted by size, largest last. | |
alias lt='ll --sort=modified -r' # Lists sorted by date, most recent last. | |
alias lc='lt -m' # Lists sorted by date, most recent last, shows change time. | |
alias lu='lt -u' # Lists sorted by date, most recent last, shows access time. |
- Copy content of
vsix-bookmarklet
, create a bookmark in your browser. - Navigate to the web page of the VS Code extension you want to install.
- Click the bookmark you just created, then click the download button.
- After download finished, rename the file extension to
*.vsix
. - In VS Code, select Install from VSIX... in the extension context menu.
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
# Compile latex files online using https://latexonline.cc | |
# Overleaf | |
# Usage | |
https://latexonline.cc/compile?git=https://git.overleaf.com/{id}&target={filename}.tex | |
# Example | |
https://latexonline.cc/compile?git=https://git.overleaf.com/9212267nmctrvktqxnf&target=main.tex | |
# Github |
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/