C4Context
Person(user, "Operator")
System_Boundary(sys, "Industrial IoT Platform") {
Container(api, "API Gateway", "Nginx/Envoy", "Routes requests")
This file contains hidden or 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
| def on_button_ab(): | |
| serial.write_line("cmd: setup_file(measurements.csv(temperature light acceleration_x acceleration_y acceleration_z noise))") | |
| input.on_button_event(Button.AB, input.button_event_click(), on_button_ab) | |
| acceleration_z = 0 | |
| acceleration_y = 0 | |
| acceleration_x = 0 | |
| noise = 0 | |
| env_light = 0 | |
| temperature = 0 |
This file contains hidden or 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
| import datetime | |
| import serial | |
| import time | |
| file_name = '' | |
| file_initialized = False | |
| def parse_command(xs): |
This file contains hidden or 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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: deep-blue; icon-glyph: magic; | |
| let storeId = 178 | |
| let country | |
| let param = args.widgetParameter | |
| if (param != null && param.length > 0) { | |
| storeId = param | |
| } |
I hereby claim:
- I am magomi on github.
- I am marcogrunert (https://keybase.io/marcogrunert) on keybase.
- I have a public key whose fingerprint is 1D87 7948 450F 63D1 C207 61CA EC4D B86A A32F 67DC
To claim this, I am signing this object:
This file contains hidden or 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
| tell application "AppleScript Runner" | |
| set temp to display dialog "new status" default answer "away, ..." | |
| end tell | |
| set newStat to the text returned of temp | |
| set AppleScript's text item delimiters to {","} | |
| set statusType to the first text item of newStat | |
| set statusMessage to the second text item of newStat | |
| tell application "Adium" |
This file contains hidden or 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
| GM_xmlhttpRequest({ | |
| method: 'GET', | |
| url: 'http://localhost:8080/dst/webservices/ticket/getTickets?wicketpath=' wicketComponents[i].getAttribute('wicketpath'), | |
| onload: function(response) { | |
| var tickets = JSON.parse(response.responseText); | |
| for (var j = 0; j < tickets.ticket.length; j++) { | |
| GM_log(tickets.ticket[j].url); | |
| } | |
| } | |
| }); |
This file contains hidden or 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
| package de.prkongresse.timekeeper; | |
| import org.mortbay.jetty.Connector; | |
| import org.mortbay.jetty.Server; | |
| import org.mortbay.jetty.bio.SocketConnector; | |
| import org.mortbay.jetty.webapp.WebAppContext; | |
| public class Start { | |
| public static void main(String[] args) throws Exception { | |
| Server server = new Server(); |
This file contains hidden or 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
| package nl.topicus.onderwijs.dashboard.modules.standard; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import java.util.List; | |
| import nl.topicus.onderwijs.dashboard.datasources.Commits; | |
| import nl.topicus.onderwijs.dashboard.datatypes.Commit; | |
| import nl.topicus.onderwijs.dashboard.keys.Key; | |
| import nl.topicus.onderwijs.dashboard.modules.DataSource; |