Skip to content

Instantly share code, notes, and snippets.


Dzmitry Bradnitski Kamrad117

  • Leaseplan
  • Amsterdam, Netherlands
View GitHub Profile
Kamrad117 / index.html
Last active Apr 16, 2018
Mongoose os example of toggling led using index.html
View index.html
<script src=""></script>
<div id="notifications"></div>
<a href="/rpc/Control" >Toggle Led</a>
$('a').click(function(event) {
# Set of all jars, that script will manage
jars=( test1.jar test2.jar )
# Group id parsed to uri format com.asd => com/asd
GROUP_URI=$(echo $GROUP | tr . /)
echo Parameters: