The following are instructions for connecting a Bluetooth device for serial communication on Arch Linux using BlueZ 5.31.
The following packages are required:
bluez:bluetoothdbluez-utils:bluetoothctl,rfcomm
| FROM debian:jessie | |
| ENV USER=boatswain USER_ID=1000 USER_GID=1000 | |
| # now creating user | |
| RUN groupadd --gid "${USER_GID}" "${USER}" && \ | |
| useradd \ | |
| --uid ${USER_ID} \ | |
| --gid ${USER_GID} \ | |
| --create-home \ |
| # Installing | |
| qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 2048 -cdrom ~/Downloads/Win10_English_x64.iso -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -drive file=~/Downloads/virtio-win-0.1.105.iso,index=1,media=cdrom | |
| # Running | |
| qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 4096 -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -usbdevice tablet -rtc base=utc |
| #!/usr/bin/env python3 | |
| import asyncio | |
| import multiprocessing | |
| import os | |
| import ssl | |
| from time import sleep | |
| port = 9000 |
Testing qemu 2.1 arm64 support
qemu-system-aarch64 -m 1024 -cpu cortex-a57 -nographic -machine virt -kernel trusty-server-cloudimg-arm64-vmlinuz-generic -append 'root=/dev/vda1 rw rootwait mem=1024M console=ttyAMA0,38400n8 init=/usr/lib/cloud-init/uncloud-init ds=nocloud ubuntu-pass=ubuntu' -drive if=none,id=image,file=trusty-server-cloudimg-arm64-disk1.img -netdev user,id=user0 -device virtio-net-device,netdev=user0 -device virtio-blk-device,drive=image
qemu-system-aarch64 -m 1024 -cpu cortex-a57 -nographic -machine virt -kernel trusty-server-cloudimg-arm64-vmlinuz-generic -append 'root=/dev/vda1 rw rootwait mem=1024M console=ttyAMA0,38400n8 init=/usr/lib/cloud-init/uncloud-init ds=nocloud' -drive if=none,id=image,file=trusty-server-cloudimg-arm64-disk1.img -netdev user,id=user0 -device virtio-net-device,netdev=user0 -device virtio-blk-device,drive=image
[A Quick'n'Dirty Set-up of an Aarch64 Ubuntu 14.04 VM with QEMU]
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)| export SDL_GAMECONTROLLERCONFIG="0600000057696920552047616d655000,Wii U GamePad (libdrc),platform:Linux,x:b12,a:b14,b:b15,y:b13,back:b2,guide:b1,start:b3,dpleft:b11,dpdown:b8,dpright:b10,dpup:b9,leftshoulder:b5,lefttrigger:b7,rightshoulder:b4,righttrigger:b6,leftstick:b23,rightstick:b22,leftx:a0,lefty:a1,rightx:a2,righty:a3," |
| /* SDL_DeckLink - OpenGL DeckLink A/V Playback for GNU/Linux | |
| * Written by Ethan "flibitijibibo" Lee | |
| * http://www.flibitijibibo.com/ | |
| * | |
| * Build Instructions: | |
| * g++ -O2 -o SDL_DeckLink SDL_DeckLink.cpp -lSDL2 -lGL -ldl -pthread | |
| * | |
| * Released under public domain. | |
| * No warranty implied; use at your own risk. | |
| * |
| #!/bin/bash | |
| # git pre-commit hook that runs an clang-format stylecheck. | |
| # Features: | |
| # - abort commit when commit does not comply with the style guidelines | |
| # - create a patch of the proposed style changes | |
| # modifications for clang-format by [email protected] | |
| # This file is part of a set of unofficial pre-commit hooks available | |
| # at github. |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/signal" | |
| "syscall" | |
| ) | |
| func main() { |