variable | Description |
---|---|
$! | Last process PID |
$? | Last return code |
$@ | All paramaters passed to a script |
$1, $2, $n... | Direct access to parameters starting on 1 |
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
49 Default background color | |
40 Black | |
41 Red | |
42 Green | |
43 Yellow | |
44 Blue | |
45 Magenta | |
46 Cyan | |
47 Light gray | |
100 Dark gray |
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
{"lastUpload":"2020-07-22T15:58:07.481Z","extensionVersion":"v3.4.3"} |
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
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.colorTheme": "Darcula Theme from IntelliJ", | |
"workbench.iconTheme": "vscode-icons", | |
"files.autoSave": "afterDelay", | |
"editor.renderWhitespace": "all", | |
"editor.renderControlCharacters": true, | |
"git.path2": "C:/msys64/usr/bin/git.exe", | |
"git.path": "C:/msys64/home/Carlos/git-wrap.bat", | |
"git.defaultCloneDirectory": "D:/projects", |
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
@echo off | |
setlocal | |
rem If you don't add path for msys2 into %PATH%, enable following line. | |
set PATH=c:\msys64\usr\bin;%PATH% | |
if "%1" equ "rev-parse" goto rev_parse | |
git %* | |
goto :eof |
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
#!/usr/bin/env bash | |
# bin folder | |
cd ~ | |
mkdir -p ~/bin | |
# base apps and upgrade | |
sudo apt-get update | |
sudo apt-get install -y aptitude curl vim git unzip openssl | |
sudo aptitude -y safe-upgrade |
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
- |
NewerOlder