Skip to content

Instantly share code, notes, and snippets.

View valorad's full-sized avatar
🤕
è

Valorad the Oneiroseeker valorad

🤕
è
  • SCET
  • Dhirim
View GitHub Profile
@valorad
valorad / proxmox-NAT.md
Last active January 1, 2022 20:27
Proxmox create NAT network

Version: PVE 7.1

Configure a NAT with Internet access (forwarding to existing interface)

## /etc/network/interfaces

auto lo
iface lo inet loopback
@valorad
valorad / steamASF.md
Created June 5, 2022 13:12
Steam ASF

WebIPC enter 2fa value

In Commands tab, type following:

input [botProfileName] TwoFactorAuthentication [2faValue]
@valorad
valorad / macOSFinder.md
Created June 5, 2022 13:14
macOS Finder

Go to path

Command + Shift + G

@valorad
valorad / InstallingXRDP.md
Created June 5, 2022 13:18
Installing xrdp

Ubuntu:

sudo apt install xrdp 
sudo adduser xrdp ssl-cert 
sudo systemctl restart xrdp

Fedora:

@valorad
valorad / GRUBBootLoader.md
Created June 5, 2022 13:21
GRUB boot loader

Ubuntu set grub timeout

/etc/default/grub should contain: GRUB_RECORDFAIL_TIMEOUT=10

@valorad
valorad / dism-repair-image.md
Created June 5, 2022 13:26
dism repair image

online (meaning repairing current running system):

Admin powershell:

Repair-WindowsImage -Online -ScanHealth
Repair-WindowsImage -Online -RestoreHealth

offline:

@valorad
valorad / changeDriveLetter.ps1
Created June 5, 2022 13:28
Change the drive letter in PowerShell
Get-Disk
Get-Partition
Remove-PartitionAccessPath -DiskNumber YOUR_DISK_NUMBER -PartitionNumber YOUR_PARTITION_NUMBER -Accesspath CURRENT_DRIVE_LETTER:
@valorad
valorad / openSSH-instructions.md
Created June 5, 2022 13:41
OpenSSH Instructions

Linux

ssh-keygen -t ed25519

cat ~/.ssh/id_ed25519.pub > ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 400 ~/.ssh/authorized_keys
@valorad
valorad / mount-cifs-smb.md
Last active June 5, 2022 15:21
linux mount cifs (smb share)

Create credentials

=> /etc/samba/credentials

username=myuser123
password=xxxxxxxx
@valorad
valorad / Powershell-set-alias.md
Last active June 5, 2022 13:53
Powershell set alias

destroyVBox

e.g. Destroy VirtualBox (With Chocolatey already installed)

set-alias -name destroy -value "cuninst"
destroy virtualbox