qemu-img create -f qcow2 alpine.qcow2 16G
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 ubuntu:jammy | |
RUN \ | |
apt update \ | |
&& apt install -y kmod linux-tools-virtual usbutils | |
# docker run -it --cap-add=ALL --privileged -v /lib/modules/`uname -r`/kernel/drivers/usb/usbip:/lib/modules/`uname -r` usbip:latest | |
# modprobe usbip-core | |
# modprobe vhci-hcd | |
# usbip list -r <server> | |
# sudo usbip attach -r <server> -b <bus ID> |
This list is focused on programmers and debuggers.
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
asyncapi: 2.0.0 | |
info: | |
title: Example CoREAPI based on AsyncAPI | |
version: 0.0.0 |
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
#!/bin/bash | |
# demo scripted based on https://github.com/paxtonhare/demo-magic | |
######################## | |
# include the magic | |
######################## | |
. demo-magic.sh | |
# hide the evidence |
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
/********************************************************************** | |
/* Copyright 2017 Jonathan Beri | |
/* | |
/* Licensed under the Apache License, Version 2.0 (the "License"); | |
/* you may not use this file except in compliance with the License. | |
/* You may obtain a copy of the License at | |
/* | |
/* http://www.apache.org/licenses/LICENSE-2.0 | |
/* | |
/* Unless required by applicable law or agreed to in writing, software |
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
1. Flash Raspberry OS with Raspberry Pi Imager (make sure to use the [Settings](https://www.raspberrypi.org/blog/raspberry-pi-imager-update-to-v1-6/)!) | |
2. ssh pi@hostname.local | |
3. sudo apt update & sudo apt full-upgrade | |
4. sudo apt install sqlite | |
5. curl https://dl.min.io/server/minio/release/linux-arm/minio --create-dirs -o $HOME/minio-binaries/minio | |
6. chmod +x $HOME/minio-binaries/minio | |
7. export PATH=$PATH:$HOME/minio-binaries/ | |
8. minio --help | |
9. export MINIO_ROOT_USER=minioadmin \ | |
export MINIO_ROOT_PASSWORD=minioadmin \ |
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
package main | |
import ( | |
"context" | |
"log" | |
"os" | |
"time" | |
"github.com/plgd-dev/go-coap/v2/udp" | |
) |
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
#!/bin/bash | |
# place in folder and add folder to $PATH | |
# also add $BIN to path | |
BIN=~/bin/gcc-arm/gcc-arm-bin | |
OPTIONS="4.9.3 5.4.1 6.2.1" | |
select opt in $OPTIONS; do | |
if [ "$opt" = "4.9.3" ]; then | |
echo 4.9.3 20150529 | |
if [ -L $BIN ]; then | |
rm $BIN |
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
coreapi: 0.0.0 #!OAS | |
servers: | |
- url: '{scheme}://example.com' | |
variables: | |
scheme: | |
enum: | |
- 'coap' | |
- 'coaps' | |
- 'coap+tcp' | |
- 'coaps+tcp' |
NewerOlder