"Love never fails!"
View contracts...Gehirn.sol
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4 <= 0.9; | |
/** | |
* @title Gehirn von Thomas Wenzlaff | |
* @dev Mein Smart Contract mit solidity zum Speichern von IQ auf der Blockchain | |
*/ | |
contract Gehirn { | |
View .gitconfig
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
[user] | |
email = email@nospam.de | |
name = Vorname Nachname | |
[alias] | |
tree = log --graph --oneline --all | |
br = branch | |
unstage = reset HEAD -- | |
last = log -1 HEAD | |
aa = add --all |
View CsvView.java
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 de.wenzlaff.ubidots; | |
import com.ubidots.Variable; | |
/** | |
* CSV Objekt für Variablen von Ubidots. | |
* | |
* @author Thomas Wenzlaff | |
* | |
*/ |
View UbidotsClient.java
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 de.wenzlaff.ubidots; | |
import java.util.ArrayList; | |
import java.util.List; | |
import com.ubidots.ApiClient; | |
import com.ubidots.DataSource; | |
import com.ubidots.Variable; | |
/** |
View Co2AmpelResourceTest.java
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 de.wenzlaff; | |
import static io.restassured.RestAssured.given; | |
import static org.hamcrest.CoreMatchers.is; | |
import org.junit.jupiter.api.Test; | |
import io.quarkus.test.junit.QuarkusTest; | |
@QuarkusTest |
View CO2AmpelResource.java
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 de.wenzlaff; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
import javax.ws.rs.core.MediaType; | |
@Path("/v1") | |
public class CO2AmpelResource { |
View MqttCo2Client.java
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 de.wenzlaff; | |
import java.time.LocalDateTime; | |
import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; | |
import org.eclipse.paho.client.mqttv3.MqttCallback; | |
import org.eclipse.paho.client.mqttv3.MqttClient; | |
import org.eclipse.paho.client.mqttv3.MqttException; | |
import org.eclipse.paho.client.mqttv3.MqttMessage; | |
import org.json.JSONArray; |
View Corona.java
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 corona; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.nio.charset.Charset; | |
import org.apache.commons.io.IOUtils; | |
import org.json.JSONException; | |
import org.json.JSONObject; |
View RkiCoronaFallzahlenDeutschland.java
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
import java.io.IOException; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.nodes.Element; | |
import org.jsoup.select.Elements; | |
/** | |
* Beispiel Abfrage Coronavirus vom RKI. |
NewerOlder