Thursday, 4 October 2018

git revert command

https://mijingo.com/blog/reverting-a-git-merge
git revert -m 1 dd8d6f587fa24327d5f5afd6fa8c3e604189c8d4>
git revert {commit_id}'


https://stackoverflow.com/questions/22682870/git-undo-pushed-commits

Wednesday, 3 October 2018

aws lambda weakup time explanation.

https://medium.com/@lakshmanLD/resolving-cold-start%EF%B8%8F-in-aws-lambda-804512ca9b61

Read csv file in java

https://www.mkyong.com/java/how-to-read-and-parse-csv-file-in-java/

use openCSV


http://opencsv.sourceforge.net/

Tuesday, 2 October 2018

git single file reset command

I currently have three modified files in my working directory. However I want one of them to be reset to the HEAD status.

git checkout HEAD -- my-file.txt
https://stackoverflow.com/questions/7147270/hard-reset-of-a-single-file

Monday, 1 October 2018

how to add value into List

how to add value into List<Map<String, Object>>?

https://stackoverflow.com/questions/38876379/how-to-add-value-into-listmapstring-object

https://stackoverflow.com/questions/5763416/how-to-iterate-listmapstring-object-in-java/5763435

java Asynch tutorial

https://www.youtube.com/watch?v=rUbZcRgaSY4


https://www.youtube.com/watch?v=ImtZgX1nmr8

ASync call in java 8

http://www.deadcoderising.com/java8-writing-asynchronous-code-with-completablefuture/

http://www.codingpedia.org/ama/how-to-make-parallel-calls-in-java-with-completablefuture-example