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
sudo nix profile install github:NixOS/nixpkgs#gnome.gnome-shell --show-trace --no-write-lock-file | |
installing new nix package, under a package | |
sudo nix profile install github:NixOS/nixpkgs#gnome.gnome-shell --show-trace --no-write-lock-file | |
nix profile install git+ssh://git@github.com/nix-community/fenix#latest.cargo | |
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
https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/linux-install-manually?view=o365-worldwide#ubuntu-and-debian-systems | |
wget https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/mde-netfilter/mde-netfilter_100.69.45.amd64.deb | |
apt install ./mde-netfilter_100.69.45.amd64.deb | |
apt install mdatp | |
apt-get install gpg curl apt-transport-https curl | |
curl -o microsoft.list https://packages.microsoft.com/config/ubuntu/22.04/prod.list |
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
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa | |
sudo apt install gcc-10 g++-10 libgccjit0 libgccjit-11-dev libjansson4 libjansson-dev libmagickwand-dev | |
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig | |
export CC=/usr/bin/gcc-10 CXX=/usr/bin/gcc-10 | |
git clone git@github.com:emacs-mirror/emacs.git && cd emacs | |
./autogen.sh | |
./configure --prefix=/usr/local --with-gameuser=:games --with-sound=alsa --with-modules --without-libotf --without-m17n-flt --without-gconf --without-gsettings --with-native-compilation --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no --without-gpm --without-compress-install --program-transform-name=s/\([ec]tags\)/\1.emacs/ | |
make -j$(nproc) | |
sudo make install |
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
source from host: | |
docker run --rm -it -e RTSP_PROTOCOLS=tcp -p 8554:8554 -p 1935:1935 aler9/rtsp-simple-server | |
ffmpeg -re -stream_loop -1 -i Downloads/jellyfish-110-mbps-hd-h264.mkv -c copy -f rtsp rtsp://localhost:8554/mystream | |
receive from rpi4 | |
gst-launch-1.0 rtspsrc location=rtsp://192.168.18.87:8554/mystream ! rtph264depay ! h264parse ! v4l2h264dec capture-io-mode=4 ! kmssink sync=false |
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
cat /boot/firmware/config.txt | |
``` | |
[pi4] | |
max_framebuffers=2 | |
[all] | |
kernel=vmlinuz | |
cmdline=cmdline.txt | |
initramfs initrd.img followkernel |
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
;; -*- mode: emacs-lisp; lexical-binding: t -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Layer configuration: | |
This function should only modify configuration layer settings." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory | |
;; `+distribution'. For now available distributions are `spacemacs-base' |
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
ratbag debug: Logitech Gaming Mouse G502 is device '/dev/hidraw0'. | |
ratbag debug: Logitech Gaming Mouse G502 is device '/dev/hidraw1'. | |
ratbag debug: report ID 01 | |
ratbag debug: report ID 03 | |
ratbag debug: report ID 04 | |
ratbag debug: report ID 10 | |
ratbag debug: report ID 11 | |
ratbag raw: hidpp write: 11 ff 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
ratbag raw: hidpp read: 11 ff 00 18 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
ratbag raw: hidpp write: 11 ff 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
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
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_CFLAGS := -Wall | |
LOCAL_CPPFLAGS := -Wno-write-strings -Wall -std=c++11 -fexceptions -frtti | |
LOCAL_SRC_FILES := \ | |
test.cpp |