This file contains 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
module ParentView where | |
import Prelude | |
import Halogen as H | |
import Halogen.HTML as HH | |
import Halogen.HTML.Events as HE | |
import Halogen.HTML.Properties as HP | |
import Data.Maybe (Maybe(..)) | |
import Control.Monad.Aff (Aff) |
This file contains 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
from PyPDF2 import PdfFileWriter, PdfFileReader, PdfFileMerger | |
import io | |
from reportlab.pdfgen import canvas | |
from reportlab.lib.pagesizes import letter | |
from reportlab.lib.pagesizes import A4 | |
from reportlab.pdfbase.ttfonts import TTFont | |
import sys | |
if len(sys.argv) < 4: |
This file contains 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
FROM --platform=linux/amd64 zephyrprojectrtos/zephyr-build:latest as runtime | |
# Switch to root for installations | |
USER root | |
WORKDIR /bsim | |
ENV BSIM_OUT_PATH=/bsim/ | |
ENV BSIM_COMPONENTS_PATH=/bsim/components/ |
This file contains 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 urllib3 | |
import sys | |
from datetime import datetime, timezone, timedelta, date | |
import requests | |
#urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | |
# Usage: python3 main.py http://example.org/api <token> <stream_id> 2020-01-01 |
This file contains 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
/* | |
* 3D STA LTA algorithm using moving window and circular buffer | |
* 2024 Patrick Rathje | |
* CC BY-SA 4.0 | |
*/ | |
#include "stalta.h" | |
#include <string.h> | |
#include <math.h> | |
#include <float.h> |