Skip to content

Instantly share code, notes, and snippets.

View valorad's full-sized avatar
🤕
è

Valorad the Oneiroseeker valorad

🤕
è
  • SCET
  • Dhirim
  • 05:49 (UTC -04:00)
View GitHub Profile
@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 / 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 / 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 / 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 / macOSFinder.md
Created June 5, 2022 13:14
macOS Finder

Go to path

Command + Shift + G

@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 / 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 / fishOnFedoraLXQT.md
Created December 30, 2021 16:14
Using fish shell on Fedora LXQT Desktop

Using fish shell on Fedora LXQT Desktop

  1. Install fish
sudo dnf install fish
  1. Change default shell to fish
@valorad
valorad / fedora-LXQT-install-xrdp.md
Last active June 5, 2022 13:19
Fedora LXQT set up Remote Desktop (xrdp)
@valorad
valorad / refreshCerts.sh
Last active November 26, 2021 20:42
Regenerate certificates created by my cfssl docker container. Works under caConfig folder.
#!/bin/bash
set -e
caConfigFolder="/path/to/cfssl/caConfig"
sitesToRefresh=("com.mycompany" "site.my")
serverCertFolder="./certs"
for site in ${sitesToRefresh[@]}; do