Lambda Expressions – Java
Advantages of Lambda package com.bell.b11.day19; public class HelloWorld { public static void main(String[] args) { HelloWorld hw = new HelloWorld(); int a =20; Introduction i = new Introduction() { @Override […]
Advantages of Lambda package com.bell.b11.day19; public class HelloWorld { public static void main(String[] args) { HelloWorld hw = new HelloWorld(); int a =20; Introduction i = new Introduction() { @Override […]
Compare the count with last week(at that particular minute) results with now. If there is 10% difference then flush output index=myindex sourcetype=mysourcetype earliest=-7d@m-1m latest=-7d@m | timechart span=1d count | stats […]
steps for aws auto complete 1. which aws_completer 2. complete -C '/Library/Python/3.6/bin/aws_completer' aws Quick Reference on aws cli commands: list all the s3 buckets aws s3 ls List ec2 instance […]
Running shell inside groovy def sout = new StringBuilder(), serr = new StringBuilder() def proc = 'du -s ./workspace/'.execute() proc.consumeProcessOutput(sout, serr) proc.waitForOrKill(1000) println "out> $sout err> $serr" Links: […]
Docker is a platform for developers and sysadmins to develop, deploy, and run applications with containers. Containerization is increasingly popular because containers are: Flexible: Even the most complex applications […]
1. Create a list with elements – "d2", "a2", "b1", "b3", "c" and filter the elements that start with "a" and print the element in uppercase. 2. Create a […]
— Proxy Setup npm set proxy=http://username:password@hostname:port/ npm set https-proxy=http://username:password@hostname :port/ npm config set strict-ssl false npm config set registry http://registry.npmjs.org/ — Commands to keep npm and node in sync sudo […]
https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html working example: https://github.com/teachkoka/jdbctemplate application.property student.db.driver = org.postgresql.Driver student.db.url = jdbc:postgresql://127.0.0.1:5432/b6 student.db.username = postgres student.db.password = abcd12345 Repository Class @Repository public class StudentRepository { public static final String INSERT_STUDENT_QUERY […]
1) Given the daily stock prices of a share during last 30 days, write a program to find out best buying and selling dates for maximum gain. for ex: index […]
We can use this page to start capturing all you doubts and get clarified