Skip to content

Instantly share code, notes, and snippets.

View nomionz's full-sized avatar
🦈
sharker

nikita.efimov nomionz

🦈
sharker
  • 14:16 (UTC +02:00)
View GitHub Profile
@nomionz
nomionz / gist:6f57075de26c9d8f7c3bf858437d72da
Last active July 20, 2023 15:55
vbox macos config. Replace macosMonterey with actual vm name.
VBoxManage modifyvm "macosMonterey" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macosMonterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "macosMonterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macosMonterey" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "macosMonterey" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macosMonterey" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage setextradata "macosMonterey" "VBoxInternal/TM/TSCMode" "RealTSCOffset"
@nomionz
nomionz / qtdep.sh
Created May 4, 2023 19:09
apt-get qt necessarily dependencies
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
@nomionz
nomionz / config.yaml
Last active February 22, 2023 21:56
vbox nat and host only workaround
network:
ethernets:
enp0s3:
dhcp4: true
dhcp4-overrides: {route-metric: 0}
enp0s8:
dhcp4: no
addresses:
- 192.168.56.104/24
routes:
@nomionz
nomionz / vmk3sprereq.sh
Created February 22, 2023 18:07
Prerequisites for k3s local cluster
# Docker
curl -sSL https://nimamahmoudi.github.io/cicd-cheatsheet/sh/install-docker.sh | bash
# Docker Compose
sudo apt-get update && sudo apt install -qy python3-pip && pip3 install docker-compose
# Arkade
curl -SLfs https://dl.get-arkade.dev | sudo sh
# Add tools bin directory to PATH
echo "export PATH=\$HOME/.arkade/bin:\$PATH" >> ~/.bashrc
# Copy bash completion script
arkade completion bash > ~/arkade_bash_completion.sh