git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
As configured in my dotfiles.
start new:
tmux
start new with session name:
Make your Arch fonts beautiful easily! This is what I do when I install Arch Linux to improve the fonts.
You may consider the following settings to improve your fonts for system-wide usage without installing a patched font library packages (eg. Infinality):
Install some fonts, for example:
sudo pacman -S ttf-dejavu ttf-liberation noto-fonts
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math| from datetime import datetime | |
| from typing import List, Optional | |
| from pydantic import BaseModel, create_model, validator | |
| import toml | |
| class User(BaseModel): | |
| id: int | |
| name = "John Doe" |
| """ | |
| Simple example of building your own context manager. | |
| Resources: | |
| - http://preshing.com/20110920/the-python-with-statement-by-example/ | |
| - https://docs.python.org/3/library/contextlib.html | |
| - PEP 343 -- the "with" statement: https://www.python.org/dev/peps/pep-0343/ | |
| """ |
| // Add the following to your preferences file | |
| "folder_exclude_patterns":[".git","node_modules"] |