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
| docker run -v /dev/bus:/dev/bus:ro -v /dev/serial:/dev/serial:ro -i -t --entrypoint /bin/bash debian:amd64 | |
| echo 'c 189:* rwm' > /sys/fs/cgroup/devices/docker/$A*/devices.allow |
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
| VBoxManage internalcommands createrawvmdk -filename "</path/to/file>.vmdk" -rawdisk /dev/sda |
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
| sudo iw phy phy0 interface add wlan0 type managed |
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
| CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --disable-quic --enable-tcp-fast-open --disable-gpu-compositing" |
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
| export vblank_mode=0 |
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
| # https://github.com/vfdev-5/qemu-rpi2-vexpress | |
| qemu-system-arm \ | |
| -kernel qemu-rpi2-vexpress/kernel-qemu-4.4.1-vexpress \ | |
| -dtb qemu-rpi2-vexpress/vexpress-v2p-ca15-tc1.dtb \ | |
| -m 2048M -M vexpress-a15 -cpu cortex-a15 -smp cpus=4,maxcpus=4 \ | |
| -serial stdio \ | |
| -append "rw console=ttyAMA0 root=/dev/mmcblk0p2 rootfstype=ext4 loglevel=8 rootwait fsck.repair=yes memtest=1" \ | |
| -sd ${IMG} \ | |
| -redir tcp:5022::22 \ | |
| -no-reboot |
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
| sudo apt install crossbuild-essential-armhf && sudo apt install crossbuild-essential-arm64 | |
| sudo dpkg --add-architecture arm64 | |
| sudo dpkg --add-architecture armhf | |
| sudo dpkg --print-foreign-architectures | |
| -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ | |
| -DCMAKE_CXX_FLAGS:STRING="-Wno-unused-variable -Wno-unused-parameter" -DCMAKE_C_FLAGS:STRING="-Wno-unused-variable -Wno-unused-parameter" |
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
| $ aplay -l | |
| $ aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Left.wav | |
| ~/.asoundrc | |
| pcm.!default { | |
| type hw | |
| card 1 | |
| device 3 | |
| } |
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
| dconf write /org/gnome/terminal/legacy/profiles:/:<id>/allow-bold 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
| [general] | |
| version = 4 | |
| name = Anet A6_settings | |
| definition = custom | |
| [metadata] | |
| setting_version = 5 | |
| type = definition_changes | |
| [values] |
NewerOlder