An easy to refer to document for regularly setting up macOS 10.15 Catalina.
I have a long history of creating these gists... one for every major version of the OS.
My previous macOS / OSX setup gists:
macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.
Instead of tmux-256color
, use screen-256color
which comes with system. Place this command into ~/.tmux.conf
or ~/.config/tmux/tmux.conf
(for version 3.1 and later):
@font-face { | |
font-family: "Fira Code Nerd Font"; | |
font-style: normal; | |
font-weight: 200; | |
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Light/complete/Fura%20Code%20Light%20Nerd%20Font%20Complete.ttf') format('truetype'); | |
} | |
@font-face { | |
font-family: "Fira Code Nerd Font"; | |
font-style: normal; | |
font-weight: 400; |
# how to fix the error: | |
# warning: reattach-to-user-namespace: unsupported new OS, trying as if it were "10.10" Mojave | |
# replace | |
bind-key -T copy-mode-vi 'y' send -X copy-pipe "reattach-to-user-namespace pbcopy" | |
# with | |
bind-key -T copy-mode 'y' send -X copy-pipe-and-cancel "pbcopy" |
Don't forget to add %LOCALAPPDATA%\Yarn\bin
to your PATH if you are using Yarn instead NPM.
Windows Defender exclude: %HOMEPATH%\.Rider2019.2
and %HOMEPATH%\.nuget
code --list-extensions | xargs -L 1 echo code --install-extension > vscode-extensions.txt
code --list-extensions | % { "code --install-extension $_" }
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
/* | |
* Reference: | |
* - https://developers.google.com/apps-script/guides/html/templates | |
* - https://developers.google.com/apps-script/guides/html/ | |
* - https://developers.google.com/apps-script/guides/dialogs#custom_sidebars | |
* - https://developers.google.com/apps-script/reference/document/body#replacetextsearchpattern-replacement | |
*/ | |
function customizeAndDownloadPDF(form) { | |
var ui = DocumentApp.getUi(); |
# Simple No-ip.com Dynamic DNS Updater | |
# | |
# By Nathan Giesbrecht (http://nathangiesbrecht.com) | |
# | |
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin) | |
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file | |
# 3) Copy this file noip2.service to /etc/systemd/system/ | |
# 4) Execute `sudo systemctl daemon-reload` | |
# 5) Execute `sudo systemctl enable noip2` | |
# 6) Execute `sudo systemctl start noip2` |
{ | |
"keys": ["tab"], | |
"command": "expand_abbreviation_by_tab", | |
// put comma-separated syntax selectors for which | |
// you want to expandEmmet abbreviations into "operand" key | |
// instead of SCOPE_SELECTOR. | |
// Examples: source.js, text.html - source | |
"context": [ | |
{ |