Skip to content

Instantly share code, notes, and snippets.

View jeroendeswaef's full-sized avatar

Jeroen De Swaef jeroendeswaef

View GitHub Profile
@jeroendeswaef
jeroendeswaef / Hello.g4
Last active August 29, 2015 14:05
Antlr 4 + Python setup on ubuntu
// Define a grammar called Hello
grammar Hello;
r : 'hello' ID ; // match keyword hello followed by an identifier
ID : [a-z]+ ; // match lower-case identifiers
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines

Android 2.3

Change inputs absolute when selected only switch between visible fields (prev/next) unable to scroll down to third field when kb on page scrolled down when deselect kb unable to hide kb
orig OK ?
scrolling="no" on panel OK OK
remove "panel" class on panel
change input type="password" OK OK ?
remove position absolute OK OK ?
@jeroendeswaef
jeroendeswaef / compile_espeak.md
Last active July 31, 2016 02:00
compiling espeak on fresh ubuntu install

First download the source of espeak and unzip it in this directory: ~/Downloads/espeak-1.48.04-source/src

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" 
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libportaudio-dev
sudo apt-get install portaudio19-dev

cd ~/Downloads/espeak-1.48.04-source/src

cp portaudio19.h portaudio.h