Skip to content

Instantly share code, notes, and snippets.

View spiritphyz's full-sized avatar
🔥

Tony Le spiritphyz

🔥
View GitHub Profile
@newhavengill
newhavengill / 1-macOS-10.15-catalina-setup.md
Last active October 9, 2020 19:28
3-macOS 10.15 Catalina Fresh Install

macOS 10.15 Catalina Mostly-Automated Setup

An easy to refer to document for regularly setting up macOS 10.15 Catalina.

Previous Setup Gists

I have a long history of creating these gists... one for every major version of the OS.

My previous macOS / OSX setup gists:

@bbqtd
bbqtd / macos-tmux-256color.md
Last active May 2, 2024 04:41
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

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.

The Fast Blazing Solution

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):

@malob
malob / Fira Code Nerd Font.css
Last active May 2, 2023 23:52
Fira Code Nerd Font form importing into Blink Shell
@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;
@miguelmota
miguelmota / tmux.conf
Created November 24, 2018 07:40
Tmux fix reattach-to-user-namespace unsupported new OS error
# 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"
@riipandi
riipandi / _readme.md
Last active January 1, 2024 07:29
Personal Development Environment Setup

Personal Development Environment Setup

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

Get installed VSCode extensions

  • UNIX : code --list-extensions | xargs -L 1 echo code --install-extension > vscode-extensions.txt
  • Windows : code --list-extensions | % { "code --install-extension $_" }
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 7, 2024 21:31
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active April 7, 2024 22:55
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

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

@cashweaver-zz
cashweaver-zz / coverLetterCustomizer.gs
Created December 8, 2016 19:30
Cover Letter Customizer (Google App Script)
/*
* 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();
@NathanGiesbrecht
NathanGiesbrecht / noip2.service
Last active February 24, 2024 01:32
Systemd Service file for no-ip.com dynamic ip updater
# 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`
@wesbos
wesbos / tab-trigger.js
Created November 16, 2015 19:33
How to properly get a TAB trigger working with Emmet inside of JSX
{
"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": [
{