-
git config --global alias.al al_things
-
git config --global alias.alist 'config --global --get-regexp alias'
-
git config --global alias.s status
-
git config --global alias.ss 'status -s'
-
git config --global alias.pm 'push origin master'
-
git config --global alias.pu 'push origin'
-
git config --global alias.ac '!git add -A && git commit -am'
-
git config --global alias.pgh 'subtree push --prefix dist origin gh-pages'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For: @musaid | |
// https://twitter.com/musaid/status/1039688749205020672 | |
// Ligatures built into Operator Mono as "Operator Mono Lig" with https://github.com/kiliman/operator-mono-lig | |
// VS Code Extensions: vscode-icons, indent-rainbow, Rainbow Brackets, Git Lense and Prettier (require config file with requireConfig) | |
// VS Code Theme: Night Owl -- custom colors for a bit higher contrast | |
{ | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"window.zoomLevel": 1, | |
"editor.fontSize": 18, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body * { | |
color: #434343 !important; | |
/* background: hsla(210, 100%, 50%, 0.33) !important; */ | |
outline: 1px solid #353535 !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* debug.css | MIT License | zaydek.github.com/debug.css */ if (!("is_debugging" in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(g):not(path) { color: hsla(210, 100%, 100%, 0.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color1: #35BCE6; | |
color2: #FF742E; | |
color3: #FFE270; | |
color4: #F8F8F8; | |
color5: #FF6E6E; | |
color6: #0F98E0; | |
color7: #1abc9c; | |
color8: #3498db ; | |
color9: #9b59b6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List just aliases | |
$ git config --get-regexp alias | |
List all config parameters | |
$ git config --list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
- Install ubuntu from store and set it up Instruction
sudo apt-get update
sudo apt-get upgrade -y
sudo do-release-upgrade -d
- Setup Node and git in ubuntu Node Instruction
sudo apt-get install -y nodejs
and for git :sudo apt install git
- Install ZSH
sudo apt-get install zsh
- Open your bash profile
nano ~/.bashrc
- Add this to set it to use ZSH as default in
nano ~/.bashrc
:
Increases indentation on the file tree and adds some lines to each directory/file.
Works 15 levels deep, but you can expand it by just adding more of each line thats repeating, i.e.:
- add another box shadow
(n*-20px) 0 0 0 rgba(255, 255, 255, 0.4)
- add another padding-left
.monaco-tree-row[aria-level="n"] { padding-left: ((n-1)*20)px; }
- add another :before & :after with left positioning
.monaco-tree-row[aria-level="n"]:before { left: (((n-1)*20)-9)px; }
.monaco-tree-row[aria-level="n"]:after { left: (((n-1)*20)-9)px; }
- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
NewerOlder