Skip to content

Instantly share code, notes, and snippets.

View pimpelsang's full-sized avatar

Eero Koplimets pimpelsang

  • Private
  • Tallinn, Estonia
View GitHub Profile
@pimpelsang
pimpelsang / funderbeam.gs
Last active August 24, 2022 08:19
Funderbeam to google sheets
/*
Load funderbeam instruments latest price info into google sheets
1. Open google sheets
2. Open scripts editor from "extensions" menu -> Apps Script
3. in code editor replace the example function by with the function below
4. in code editor click save button and close the window
5. in google sheets write this formula into cell: =FUNDERBEAM("ampler")
after some loading you should see the latest ampler price value.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Välgu tee 3D päikese vari</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gl-matrix/2.6.1/gl-matrix-min.js" integrity="sha512-5gjtrbkSzY8jdrVyMSiXO+0AERPMGYpUueFLkBMITgfPL+2qAfZnQyW2YWJkXS4ELmFJLhDZu1WbK8UKFjmC/A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://static.sketchfab.com/api/sketchfab-viewer-1.10.1.js"></script>
<style type="text/css">
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sketchfab Viewer API example</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gl-matrix/2.6.1/gl-matrix-min.js" integrity="sha512-5gjtrbkSzY8jdrVyMSiXO+0AERPMGYpUueFLkBMITgfPL+2qAfZnQyW2YWJkXS4ELmFJLhDZu1WbK8UKFjmC/A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://static.sketchfab.com/api/sketchfab-viewer-1.10.1.js"></script>
@pimpelsang
pimpelsang / two-motors-universal.html
Last active October 30, 2021 19:46
wedo universal two motor remote
<html>
<head>
<title>two motors car remote</title>
<meta name="mobile-web-app-capable" content="yes">
<link rel="shortcut icon" href="
" type="favicon/ico" />
<script src="https://cdn.jsdelivr.net/npm/node-poweredup@latest/dist/browser/poweredup.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<style type="text/css">
#connect {
<html>
<head>
<title>wedo2 - distance sensor => speed camera</title>
<script src="https://cdn.jsdelivr.net/npm/node-poweredup@latest/dist/browser/poweredup.js"></script>
<style type="text/css">
#speed {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
<html>
<head>
<title>wedo 2 piezo speaker test</title>
<script src="https://cdn.jsdelivr.net/npm/node-poweredup@latest/dist/browser/poweredup.js"></script>
<style type="text/css">
#controls {
display: none;
}
#controls > button {
font-size: 50pt;
<html>
<head>
<title>one motor wedo remote</title>
<script src="https://cdn.jsdelivr.net/npm/node-poweredup@latest/dist/browser/poweredup.js"></script>
<style type="text/css">
#forward {
position: fixed;
width: 100%;
height: 50%;
font-size: 50pt;
@pimpelsang
pimpelsang / index.html
Last active December 13, 2025 14:40
Example code for wedo 2.0 car remote
<html>
<head>
<title>two motors tank remote</title>
<script src="https://cdn.jsdelivr.net/npm/node-poweredup@latest/dist/browser/poweredup.js"></script>
<style type="text/css">
#controls {
display: none;
}
button{
position: fixed;