Skip to content

Instantly share code, notes, and snippets.

@zefanja
zefanja / index.html
Last active Jun 8, 2019
My two files for my little robot project
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Robot Project</title>
<script src="/socket.io/socket.io.js"></script>
<script>
//Damit lesen wir den Gyroskopen aus
window.addEventListener("deviceorientation", handleOrientation, true);
@zefanja
zefanja / nut-plugin-client
Created Nov 27, 2017
Check_MK integration for NUT (check plugin for Server and Client)
View nut-plugin-client
#!/bin/sh
if which upsc > /dev/null 2>&1 ; then
echo '<<<nut>>>'
for ups in $(upsc -l)
do
upsc $ups| sed "s,^,$ups ,"
done
fi
@zefanja
zefanja / index.html
Created May 28, 2013
browser implementation
View index.html
<html>
<head>
<script type="text/javascript" src="lib/inflate_stream.min.js"></script>
</head>
<body>
<h2>Sword Browser Version</h2>
<input type="file" id="files" name="files[]"/>
<script type="text/javascript" src="sword.js"></script>
</body>
</html>
You can’t perform that action at this time.