Skip to content

Instantly share code, notes, and snippets.

Michael Bornholdt Nielsen jarryDk

Block or report user

Report or block jarryDk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Love-O-Metyer.h
const int sensorPin = A0;
const float baselineTemp = 25.0;
void setup(){
Serial.begin(9600); // open a serial port
for(int pinNumber = 2; pinNumber<5; pinNumber++){
pinMode(pinNumber,OUTPUT);
digitalWrite(pinNumber, LOW);
}
}
View PrettyPrintedJson.java
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
/**
* License : Apache License 2.0
*
* @author Michael Bornholdt Nielsen mni@jarry.dk
*
*/
public class PrettyPrintedJson {
View FormAuthenticator.java
import java.io.IOException;
import java.util.ArrayList;
import java.util.Map;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.ClientRequestContext;
import javax.ws.rs.client.ClientRequestFilter;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
You can’t perform that action at this time.