Skip to content

Instantly share code, notes, and snippets.

View Drvanon's full-sized avatar
😀
Ready to get working

Robin Alexander Dorstijn Drvanon

😀
Ready to get working
  • Groningen
View GitHub Profile
@Drvanon
Drvanon / vanon1.py
Created September 1, 2021 18:17 — forked from erezsh/vanon1.py
LALR try for vanon (1)
from lark import Lark
grammar = r"""
start: _NL* _section+
_section: _HEADER _content* _HEADER
_HEADER: "--- SECTION ---" _NL
_content: number_list
| assign
| _other
number_list: NUMBER+ _NL
@Drvanon
Drvanon / mine.cpp
Last active August 29, 2015 14:08 — forked from anonymous/mine.cpp
#include <EEPROM.h>
float tempC;
int reading;
int tempPin = 0;
int EAdress = 0;
void setup () {
analogReference(INTERNAL);
}
function isTouchDevice(){
try{
document.createEvent("TouchEvent");
return true;
}catch(e){
return false;
}
}