Short description of your project
- Node.js > 12 and npm (Recommended: Use nvm)
- Watchman
- Xcode 12
- Cocoapods 1.10.1
Start your branch_b from branch_a, i.e.: | |
git checkout branch_a | |
git checkout -b branch_b | |
Whenever branch_a changes while it is waiting to get merged into master, you rebase branch_b on it: | |
After branch_a has been merged into master, you simply get the new master and rebase branch_b onto it: | |
git checkout master |
Short description of your project
alias status="git status" | |
alias co="git checkout" | |
alias fetch="git fetch" | |
alias save="git save" | |
alias pull="git pull" | |
alias push="git push" | |
alias cm="git add . && git commit -am " | |
alias stash="git stash" | |
alias pop="git stash pop" | |
alias check="git check" |
[alias] | |
check = remote show origin | |
up = !git pull --rebase --prune $@ && git submodule update --init --recursive | |
save = !git add -A && git commit -m 'SAVEPOINT' | |
undo = reset HEAD~1 --mixed | |
done = push origin | |
co = checkout | |
cob = checkout -b | |
cm = commit -am | |
cm4 = "!f() { git commit -am \"$(git branch-name) $1\"; }; f" |
const array = [2, 9, 1, 3] | |
const sortedArray = array | |
.concat() | |
.sort((x, y) => Math.sign(x - y)); |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
username: vagrant | |
password: vagrant | |
sudo apt-get update | |
sudo apt-get install build-essential zlib1g-dev git-core sqlite3 libsqlite3-dev | |
sudo aptitude install mysql-server mysql-client | |
sudo nano /etc/mysql/my.cnf |
@mixin circle($width, $border-width, $color) { | |
width: $width; | |
height: $width; | |
border: $border-width solid $color; | |
-webkit-border-radius: $width/2; | |
-moz-border-radius: $width/2; | |
border-radius: $width/2; | |
} |