I hereby claim:
- I am stv0g on github.
- I am stv0g (https://keybase.io/stv0g) on keybase.
- I have a public key ASB_Rx0hyS2Pj9_BFWN5TZHhQ3VvgUAUDKsVjfyfgDcplwo
To claim this, I am signing this object:
/** @brief Sign extending a integer */ | |
size_t sign_extend(ssize_t addr, int bits) | |
{ | |
return (addr << -bits) >> -bits; // sign bit is maintained during arithmetic right shift | |
} |
/** @brief Jump back to user code | |
* | |
* This function runs the user code after stopping it just as if | |
* it was a return from a procedure. | |
* | |
* @return 0 in any case | |
*/ | |
static inline int jump_to_user_code(size_t ep, size_t stack) | |
{ | |
#ifdef CONFIG_X86_64 |
(GP)GPU (General-purpose) Graphic Processing Unit | |
AHB Advanced High-performance Bus | |
ALAP As Late As Possible | |
AMAT Average Memory Access Time | |
AMBA Advanced Microcontroller Bus Architecture | |
APB Advanced Peripherial Bus | |
APU Application Processing Unit | |
ARM {Acorns,Advanced} RISC Machines | |
ASAP As Soon AS Possible | |
ASIC Application Specific Integrated Circuit |
/** | |
* Compile: gcc fd.c -o fd_copy | |
* Usage: fd_copy 3< input_file 4> output_file | |
* Result: Copies contents of input_file to output_file | |
*/ | |
#include <stdio.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> |
; NASM quick reference | |
;; Format der Instruktionen NASM | |
label: opcode dest, src | |
; vgl GNU Assembler | |
label: opcode src, dest | |
;; NASM Pseudoinstruktionen |
https://joelw.id.au/FPGA/CheapFPGADevelopmentBoards |
I hereby claim:
To claim this, I am signing this object:
license: gpl-3.0 | |
height: 600 |
This script can be added to your bash startup script in order to remind you to do weekly / daily backups.
#!/bin/bash | |
# Install jq!!! | |
# | |
# | |
command -v jq >/dev/null 2>&1 || echo >&2 'Please install "jq": apt-get install jq' | |
NETNS="blue" | |
# Create docker networks if they not exist yet |