I hereby claim:
- I am schm1tz1 on github.
- I am schmitzi (https://keybase.io/schmitzi) on keybase.
- I have a public key whose fingerprint is 736E CFAF C0EB 8648 EFF0 5DD4 E283 0684 D324 F864
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
STD_PREFIX="/opt/radio" | |
HERE=$PWD | |
bold(){ | |
echo -e \\033[1m$*\\033[0m | |
} | |
boldn(){ |
Vagrant.configure("2") do |config| | |
config.vm.box = "timveil/centos7-hdp-base" | |
config.vm.network "forwarded_port", guest: 8080, host: 18080, host_ip: "127.0.0.1" | |
config.vm.provision "shell", inline: <<-SHELL | |
echo '******* updating packages' | |
yum update -y | |
yum install patch -y |
public void nestedSchemaTest() throws IOException, NoSuchAlgorithmException { | |
Schema.Parser parser = new Schema.Parser(); | |
// nested schemas as union | |
parser.parse(new File("schemaUnion.avsc")); | |
// load dependent first, then "derived" schema | |
parser.parse(new File("schema1.avsc")); | |
parser.parse(new File("schema2.avsc")); |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.schm1tz1</groupId> | |
<artifactId>TestProjectNew</artifactId> | |
<version>1.0-SNAPSHOT</version> |
# | |
# put this in /usr/lib/systemd/system/ folder | |
# | |
[Unit] | |
Description=Jupyter Notebook | |
[Service] | |
Type=simple | |
PIDFile=/run/jupyter.pid | |
# Step 1 and Step 2 details are here.. |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.github.schm1tz1</groupId> | |
<artifactId>JsonSimpleSerde</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<build> |
// | |
// ESP32 in DeepSleep reading a BME280 every few seconds | |
// | |
#include <Arduino.h> | |
#include <Wire.h> | |
#include <HardwareSerial.h> | |
#include <Adafruit_BME280.h> | |
#define SERIAL_BAUD 9600 |
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{serial}=="0001", SYMLINK+="ttyVitoIR" |
// -------------------------------------- | |
// i2c_scanner | |
// | |
// Version 1 | |
// This program (or code that looks like it) | |
// can be found in many places. | |
// For example on the Arduino.cc forum. | |
// The original author is not known. | |
// Version 2, Juni 2012, Using Arduino 1.0.1 | |
// Adapted to be as simple as possible by Arduino.cc user Krodal |