This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tabbableElements = 'a[href], area[href], input:not([disabled]),' | |
+ 'select:not([disabled]), textarea:not([disabled]),' | |
+ 'button:not([disabled]), iframe, object, embed, *[tabindex],' | |
+ '*[contenteditable]'; | |
var keepFocus = function (context) { | |
var elements = context.querySelectorAll(tabbableElements); | |
var keyListener = function (event) { | |
var keyCode = event.which || event.keyCode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# configure stuff | |
width=640 | |
height=320 | |
size=$width"x"$height | |
# show help | |
if [[ "$1" == "" || "$1" == "-h" || "$1" == "--help" ]]; then | |
echo "USAGE: "; |