This file contains 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
# clear-history | |
rm -rf .git | |
git init | |
git add . | |
git commit -m "initial commit" | |
git remote add origin [repoUrl] | |
git push --force origin master | |
# pull | |
rm -rf * .git* |
This file contains 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
# editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
This file contains 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
{ | |
"eslint.validate": [ | |
"javascript", "javascriptreact", "html", | |
{ "language": "vue", "autoFix": true } | |
], | |
"eslint.autoFixOnSave": true, | |
"editor.tabSize": 2, | |
"prettier-eslint.eslintIntegration": true, | |
"telemetry.enableTelemetry": false, | |
"telemetry.enableCrashReporter": false, |
This file contains 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
## A folder into B | |
rsync -avu --delete "/home/user/A" "/home/user/B" | |
## Contents of folder A and B | |
rsync -avu --delete "/home/user/A/" "/home/user/B" |
This file contains 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
" Syntax Highlighting | |
if has("syntax") | |
syntax on | |
endif | |
set autoindent | |
set cindent | |
set nu |
This file contains 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
sudo dpkg --purge $(dpkg --get-selections | grep deinstall | cut -f1) |
This file contains 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
gpg --keyserver 'hkp://keyserver.ubuntu.com:80' --recv C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 | |
gpg --export --armor C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 | gpg --dearmor > ros.gpg | |
sudo sh -c 'cat ros.gpg > /etc/apt/trusted.gpg.d/ros.gpg' | |
rm ros.gpg | |
rm -r ~/.gnupg |
NewerOlder