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
Mix.install([ | |
{:ortex, "== 0.1.9"}, | |
:req, | |
{:nx, "== 0.7.0"}, | |
{:membrane_core, "~> 1.0"}, | |
{:membrane_file_plugin, "~> 0.17.0"}, | |
{:membrane_portaudio_plugin, "~> 0.19.2"}, | |
{:membrane_ffmpeg_swresample_plugin, "~> 0.20.2"}, | |
{:membrane_mp3_mad_plugin, "~> 0.18.3"}, | |
{:membrane_mp3_lame_plugin, "~> 0.18.2"} |
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
(function(a,b){"function"==typeof define&&define.amd?define([],function(){return b(a)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=b(a):a.KioskBoard=b(a)})("undefined"==typeof global?"undefined"==typeof window?this:window:global,function(a){'use strict';if("undefined"!=typeof a||"undefined"!=typeof a.document){var b,c,d=function(){return"#KioskBoard-VirtualKeyboard{box-sizing:border-box!important;position:fixed;z-index:2000;width:100%;max-width:1440px;background:#e3e3e3;background:linear-gradient(to right bottom,#eee,#ebebeb,#e8e8e8,#e6e6e6,#e3e3e3);-webkit-box-shadow:inset 1px 1px 0 rgba(255,255,255,.25),0 0 20px -8px rgba(0,0,0,.15);box-shadow:inset 1px 1px 0 rgba(255,255,255,.25),0 0 20px -8px rgba(0,0,0,.15);padding:25px 20px 20px;left:0;right:0;margin:auto}#KioskBoard-VirtualKeyboard.kioskboard-placement-bottom{top:unset;bottom:0;border-radius:10px 10px 0 0}#KioskBoard-VirtualKeyboard.kioskboard-placement-top{top:0;bottom:unset;border-radius:0 0 10px 10px}#KioskBoard-VirtualK |
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
RPi: BOOTLOADER release VERSION:e608a69d DATE: 2024/04/15 TIME: 14:12:14 | |
BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1713186734 serial 2f2a72cf boardrev b03141 stc 477024 | |
PM_RSTS: 0x00001000 | |
part 00000000 reset_info 00000000 | |
uSD voltage 3.3V | |
Initialising SDRAM 'Samsung' 16Gb x1 total-size: 16 Gbit 3200 | |
DDR 3200 0 0 16 152 | |
Boot mode: SD (01) order f2564 |
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
RPi: BOOTLOADER release VERSION:e608a69d DATE: 2024/04/15 TIME: 14:12:14 | |
BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1713186734 serial 2f2a72cf boardrev b03141 stc 477024 | |
PM_RSTS: 0x00001000 | |
part 00000000 reset_info 00000000 | |
uSD voltage 3.3V | |
Initialising SDRAM 'Samsung' 16Gb x1 total-size: 16 Gbit 3200 | |
DDR 3200 0 0 16 152 | |
Boot mode: SD (01) order f2564 | |
SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276 |
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
defmodule UnderjordWeb.LiveLive do | |
use UnderjordWeb, :live_view | |
@impl true | |
def mount(%{"name" => name}, session, socket) do | |
index_path = Path.join(["/livestream", name, "index.m3u8"]) | |
local_path = Path.join("priv/static/", index_path) | |
started? = case File.stat(local_path) do | |
{:ok, _} -> true | |
_ -> false |
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
set hidden | |
set hlsearch | |
set mouse=a | |
set wildignorecase | |
set wildmenu | |
set wildmode=longest,list,full | |
set signcolumn=yes | |
set tabstop=4 | |
set expandtab | |
set shiftwidth=4 |
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
1 dl wheat flour | |
1/2 dl coconut flour | |
1 dl cane sugar (called raw cane sugar in swedish) | |
1 dl coconut sugar | |
3-4 tablespoons, cocoa powder | |
1-2 dl oat cream (or some similar cream replacement, soy might work) | |
100 gram dark chocolate (70% or more is often vegan, cocoa butter is vegan) | |
100 gram coconut oil | |
1 teaspoon, vanilla powder (the stuff from vanilla beans) | |
1 teaspoon, baking soda/powder (the one that is not pure bicarbonate, not sure of translation) |
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
from newrelic import agent as nr | |
class ReqRepClient(object): | |
def send(self, tracking_id, method, data): | |
transaction = nr.current_transaction() | |
with nr.ExternalTrace(transaction, 'reqrep', url=self.server_endpoint, method=method): | |
return self._send(tracking_id, method, data) | |
def _send(self, tracking_id, method, data): | |
pass |