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
mvn archetype:generate \ | |
-DarchetypeGroupId=pt.goncalo \ | |
-DarchetypeArtifactId=java17withJunit \ | |
-DgroupId=pt.goncalo \ | |
-DartifactId=XXXXXX |
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
"PROXY 160.46.203.229:8443" |
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
package pt.goncalo.freeroam.lambda; | |
public class LambdaExpressions { | |
interface Payback<T>{ | |
T apply(T origin, T rate); | |
} | |
static void calculate(Double origin, Double rate, Payback<Double> func){ | |
double payback = func.apply(origin,rate); |
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
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch | |
echo .DS_Store >> .gitignore | |
git add .gitignore | |
git commit -m '.DS_Store banished!' |