akshaymittal143
I hereby claim:
- I am akshaymittal143 on github.
- I am akshaymittal143 (https://keybase.io/akshaymittal143) on keybase.
- I have a public key ASDQVxUV8nIBoTjNpcCcb2j9dZrxhW0WPwoRNmvvC7n7xAo
To claim this, I am signing this object:
akshaymittal143
I hereby claim:
To claim this, I am signing this object:
| npx npm-check-updates -u |
| add this into `.bash_profile` | |
| alias git-pull-all="find . -maxdepth 3 -name .git -type d | rev | cut -c 6- | rev | xargs -I {} git -C {} pull" |
| static String longestEvenWord(String sentence) { | |
| //splitting words by space | |
| String words[] = sentence.split(" "); | |
| //sorting descending | |
| Arrays.sort(words, (b, a)->Integer.compare(a.length(), b.length())); | |
| for(String word: words) { | |
| if(word.length() % 2 == 0) { |
| const https = require('https'); | |
| /* | |
| * Complete the function below. | |
| * Use console.log to print the result, you should not return from the function. | |
| */ | |
| function getMovieTitles(substr) { | |
| pageNum = 1; | |
| let url = 'https://jsonmock.hackerrank.com/api/movies/search/?Title=' + substr + "&page=" + pageNum; | |
| https.get(url, (res) => { | |
| res.setEncoding('utf8'); |
| { | |
| "/server": { | |
| "target": "http://localhost:8080", | |
| "secure": false, | |
| "changeOrigin": true, | |
| "logLevel": "debug", | |
| "pathRewrite": { | |
| "^/server" : "" | |
| } | |
| } |
| # Install docker-compose | |
| COMPOSE_VERSION=`git ls-remote https://github.com/docker/compose | grep refs/tags | grep -oP "[0-9]+\.[0-9][0-9]+\.[0-9]+$" | tail -n 1` | |
| sudo sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose" | |
| sudo chmod +x /usr/local/bin/docker-compose | |
| sudo sh -c "curl -L https://raw.githubusercontent.com/docker/compose/${COMPOSE_VERSION}/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose" |
| It is recommended that every repository include a README, LICENSE, and .gitignore. | |
| # create a new repository on the command line | |
| * echo "# Angular-First-Project" >> README.md | |
| * git init | |
| * git add README.md | |
| * git commit -m "first commit" | |
| * git remote add origin https://github.com/akshaymittal143/Angular-First-Project.git | |
| * git push -u origin master |
| db.books.insert([ | |
| { | |
| title: 'War and Peace', | |
| genre: 'Historical Fiction', | |
| author: 'Lev Nikolayevich Tolstoy', | |
| read: false | |
| }, | |
| { | |
| title: 'Les Misérables', | |
| genre: 'Historical Fiction', |