Creating the user index.
curl -XPUT http://localhost:9200/user?pretty=true -H 'Content-Type: application/json' -d ' {
| { | |
| "env": { | |
| "node": true, | |
| "es6": true | |
| }, | |
| "ecmaFeatures": { | |
| "arrowFunctions": true, | |
| "blockBindings": true, | |
| "classes": true, | |
| "defaultParameters": true, |
| # install dotnet core sdk | |
| wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | |
| sudo dpkg -i packages-microsoft-prod.deb | |
| sudo apt update | |
| sudo apt -y install apt-transport-https | |
| sudo apt update | |
| sudo apt -y install dotnet-sdk-3.1 dotnet-sdk-3.0 dotnet-sdk-2.1 dotnet-sdk-2.2 | |
| #install mono | |
| sudo apt install gnupg ca-certificates |
| { | |
| "env": { | |
| "browser": true, | |
| "node": true, | |
| "es6": true | |
| }, | |
| "plugins": ["react"], | |
| "ecmaFeatures": { |
Creating the user index.
curl -XPUT http://localhost:9200/user?pretty=true -H 'Content-Type: application/json' -d ' {
| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
git log --oneline -1 <PR-BRANCH>git push -f origin :| [user] | |
| name = rajmani1995 | |
| email = rajmani1995@gmail.com | |
| [credential] | |
| helper = cache --timeout=3600 | |
| [alias] | |
| aliases = config --get-regexp '^alias\\.' | |
| br = branch | |
| branch-name = rev-parse --abbrev-ref HEAD | |
| ci = commit -m |