Create some badges using the https://github.com/avermeulen/api-tutor API
Use:
Create some badges using the https://github.com/avermeulen/api-tutor API
Use:
| function buildQuery(sql, fields) { | |
| // get all the fields needed in the where clause | |
| let field_names = Object.keys(fields); | |
| // check if a where clause is needed | |
| if (field_names.length > 0) { | |
| sql += ' where ' |
| class Person { | |
| private String lastName; | |
| private String firstName; | |
| public Person(String firstName) { | |
| this.firstName = firstName; | |
| } |
| const fruits = [ | |
| 'apples', | |
| 'pears', | |
| 'grapes', | |
| 'peaches', | |
| 'oranges' | |
| ]; | |
| var list = []; |
Create a new maven project in IntelliJ called MyFirstJavaWebApp (ArtifactId) use a root package name of - net.myfirst.webapp (GroupId).
Configure SparkJava in your project using maven:
| package net.greet.web; | |
| import java.math.BigDecimal; | |
| import java.math.RoundingMode; | |
| public class CompoundInterest { | |
| public static void main(String[] args) { | |
| double pv = 28000; | |
| double interestRate = 7/100d; |
This app help learners to find a tutor that you fits their pocket.
It's simple for tutors to get going. Select a subject to tutor, your hourly rate and your name and your ready to go.
This app will store it's data in PostgreSQL. And it will be an ExpressJS web app.
Create new folder called tutor-finder. Change into it. Open the folder in VS Code.
| public class AppleStockCount { | |
| public static void main(String[] args) { | |
| if (args.length == 0) { | |
| System.out.println("Please give me a qty!"); | |
| return; | |
| } | |
| int qty = Integer.parseInt(args[0]); | |
| double cost = 4.50; |