.editorconfig
root = true
[*]
charset = utf-8
insert_final_newline = true
end_of_line = lf
git init my-cdk-app | |
cd my-cdk-app | |
npx cdk@latest init app --language typescript | |
This will: | |
1. initialize an empty git repository | |
1. initialize a new cdk app using the latest CDK version | |
Note that there is no initial commit created if we initialize the repo this way. |
connect iphone to pc | |
dmesg | |
get the serial number | |
``` | |
usb 1-1: new high-speed USB device number 4 using xhci_hcd | |
usb 1-1: New USB device found, idVendor=05ac, idProduct=12a8, bcdDevice=10.06 | |
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | |
usb 1-1: Product: iPhone |
macos ventura 13.4 on hackintosh vm | |
ios 16.4 on iphone x | |
on vm host | |
make udev rule file /etc/udev/rules.d/39-usbmuxd.rules: | |
# filename is chosen to overwrite /usr/lib/udev/rules.d/39-usbmuxd.rules | |
# see RULES FILES section in udev(7) | |
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/8600/*", MODE="0666", TAG+="systemd" |
https://qemu-project.gitlab.io/qemu/system/devices/usb.html | |
no need to use port number if only one xhci controller is connected | |
$ qemu -device qemu-xhci | |
(qemu) device_add usb-tablet,bus=usb-bus.0,port=1,id=my-tablet | |
(qemu) device_del my-tablet | |
(qemu) device_add driver, | |
vendorid=<hexnr> -- Specifies the vendor ID of the device. |
https://unix.stackexchange.com/questions/426652/connect-to-running-qemu-instance-with-qemu-monitor | |
$ qemu-system-i386 [..other params..] -monitor unix:qemu-monitor.socket,server,nowait | |
$ qemu-system-i386 -monitor telnet:127.0.0.1:55555,server,nowait; | |
$ socat -,echo=0,icanon=0 unix-connect:qemu-monitor-socket | |
$ telnet 127.0.0.1 55555 | |
$ nc -N 127.0.0.1 55555 | |
quit socat with ctrl-c |
https://github.com/yzhang-gh/vscode-markdown/issues/283 |
Ventura, Big Sur, Catalina, Mojave: | |
7z e -so BaseSystem.dmg 'macOS Base System/System/Library/CoreServices/SystemVersion.plist' | |
Monterey: | |
7z e BaseSystem.dmg 5.hfs | |
7z e -so 5.hfs 'macOS Base System/System/Library/CoreServices/SystemVersion.plist' | |
High Sierra: | |
7z e -so BaseSystem.dmg 'OS X Base System/System/Library/CoreServices/SystemVersion.plist' |
how to migrate windows 10 vm from libvirt to proxmox:
qm importdisk 103 /home/user/freenas/ubuntu.raw local --format qcow2
https://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#Importing_to_Proxmox_VE
how to migrate windows 10 vm disk from sata to virtio:
Register an Azure account
Create a new organization on Azure DevOps