Skip to content

Instantly share code, notes, and snippets.

@set321go
set321go / arduino_prototype.ino
Created May 22, 2019 15:35
Accelerometer & SD card proptotype
#include <SD.h>
#include <Lucky.h>
const int chipSelect = 4;
void setup() {
Serial.begin(9600);
while(!Serial);
// Start the accelerometer board
@set321go
set321go / gist:9745900
Created March 24, 2014 18:15
Contract Test Example
@RunWith(Parameterized.class)
public class ApiContractTest {
private UrlValidator urlValidator = new UrlValidator(new String[]{"http","https"});
private Api toTest;
public ApiContractTest(Api impl, String name){
this.toTest = impl;
}
@Parameterized.Parameters(name = "{1}")