Skip to content

Instantly share code, notes, and snippets.

View JakWai01's full-sized avatar
🏕️

Jakob Waibel JakWai01

🏕️
View GitHub Profile
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\section{Graphical Time-Demand Analysis}
\begin{tikzpicture} % Scale the graph for better visibility
\begin{axis}[
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows.meta}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[auto, node distance=1.5cm,>=Stealth]
\begin{figure}
\centering
\begin{tikzpicture}[auto, node distance=1.5cm,>=Stealth]
% Define node styles
\tikzstyle{node} = [circle, draw, minimum size=8mm]
\tikzstyle{source} = [circle, draw, minimum size=8mm, fill=black!20]
\tikzstyle{sink} = [circle, draw, minimum size=8mm, fill=black!20]
\tikzstyle{edge} = [->, thick]
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows.meta}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[auto, node distance=1.5cm,>=Stealth]
https://cmput229.github.io/229-labs-RISCV/RISC-V-Examples_Public/01-Basics/01c-System_Calls.html
"Two registers and a single instruction are involved in a system call in RISC-V. The idea is to store important pieces of information into registers a0and a7, and then run the instruction ecall to perform the system call. The register a7 specifies the type of system call. Each type of system call has a number associated with it. To specify the type of system call the assembly program simply puts the corresponding number into a7. If the call needs a value, this value must be put into a0. For instance, to print an integer value, the value of the integer must be put into a0. For a system call that allocates memory, the number of bytes that will be allocated is put into a0."
/usr/include/aarch64-linux-gnu/sys
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
{
"detectorModelName": "sensorDetectorModel",
"detectorModelDefinition": {
"states": [
{
"stateName": "Normal",
"onEnter": {
"events": [
{
"eventName": "init",
[jakob@fedora ~]$ journalctl -S "2022-12-16 18:00" -U "2022-12-17 20:00"
Dec 16 18:00:45 fedora wpa_supplicant[1506]: wlp3s0: PMKSA-CACHE-ADDED 1c:1d:86:52:a7:c0 0
Dec 16 18:02:15 fedora mullvad-daemon[1410]: [mullvad_relay_selector::updater][DEBUG] Relay list is up-to-date
Dec 16 18:05:17 fedora kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Dec 16 18:05:17 fedora kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Dec 16 18:05:17 fedora ModemManager[1362]: <info> [sleep-monitor] system is about to suspend
Dec 16 18:05:17 fedora NetworkManager[1395]: <info> [1671210317.4407] manager: sleep: sleep requested (sleeping: no enabled: yes)
Dec 16 18:05:17 fedora NetworkManager[1395]: <info> [1671210317.4412] device (enp2s0f0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Dec 16 18:05:17 fedora NetworkManager[1395]: <info> [1671210317.4513] manager: NetworkManager state is now ASLEEP
Dec 16 18:0
# Sender
gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! jpegenc ! rtpjpegpay ! udpsink host=127.0.0.1 port=5200
# Receiver
gst-launch-1.0 udpsrc port=5200 ! application/x-rtp, encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec ! autovideosink