Skip to content

Instantly share code, notes, and snippets.

View shanduur's full-sized avatar
:shipit:

Mateusz Urbanek shanduur

:shipit:
View GitHub Profile
@shanduur
shanduur / 101.conf
Created September 23, 2020 11:49
Configuration file for MacOS (Catalina 10.15.6) on Proxmox 6.2 with NVMe SSD pass-thorugh.
args: -set device.hostpci0.x-msix-relocation=bar2 -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -cpu host,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc
balloon: 0
bios: ovmf
bootdisk: ide2
cores: 4
cpu: Penryn
efidisk0: storage-1:vm-101-disk-1,size=1M
hostpci0: 02:00,pcie=1
ide0: data:iso/Catalina-Installer.iso,cache=unsafe,size=2086412K
ide2: data:iso/OpenCore.iso,cache=unsafe,size=150M
@shanduur
shanduur / conf.sh
Last active September 10, 2020 16:25
config='https://github.com/Shanduur/simple-linux-configuration.git'
if [ -e ~/tmp ]; then
rm -rf ~/tmp
fi
pkg install -y openssh rsync git make neovim clang golang htop neofetch man tsu
if [ -e ~/.config ]; then
echo "[WARNING] Directory .config exists."
@shanduur
shanduur / windows.ps1
Last active August 10, 2020 12:38
Extensions used while working with Pro*C and JCL (z/OS and HP-UX).
code --install-extension bitlang.cobol
code --install-extension dunstontc.dark-plus-syntax
code --install-extension ms-vscode.cpptools
code --install-extension PKief.material-icon-theme
code --install-extension shanduur.c-embedded-sql
code --install-extension bitbelt.converttoasciiart
code --install-extension cseitel.open-in-npp
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Open Terminal here"
"Icon"="%USERPROFILE%\\OneDrive\\Pictures\\icons\\terminal.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="C:\\Users\\mateu\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -d ."

Look at the two files below. One works on Windows, second on MacOS and Linux.