Skip to content

Instantly share code, notes, and snippets.

Avatar

Dzmitry Bradnitski Kamrad117

  • Leaseplan
  • Amsterdam, Netherlands
View GitHub Profile
@Kamrad117
Kamrad117 / index.html
Last active Apr 16, 2018
Mongoose os example of toggling led using index.html
View index.html
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<div id="notifications"></div>
<a href="/rpc/Control" >Toggle Led</a>
<script>
$('a').click(function(event) {
event.preventDefault();
$.ajax({
View nexus_upload.sh
#!/bin/bash
# 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: