Skip to content

Instantly share code, notes, and snippets.

View valorad's full-sized avatar
🤕
è

Valorad the Oneiroseeker valorad

🤕
è
  • SCET
  • Dhirim
  • 08:09 (UTC -04:00)
View GitHub Profile
@valorad
valorad / redirectStatics.yaml
Created May 14, 2021 03:49
traefik docker redirect statics example
---
version: "3.9"
services:
node:
labels:
- "traefik.enable=true"
# Vue Dev Server
@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
@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 / 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 / mongoBackup.sh
Last active January 8, 2022 00:44
Mongo Backup Collection
mongoContainerOutput="/path/to/container/output/folder"
hostOutput="/path/to/host/output/folder"
mongoUser="root"
mongoPassword='mongo-db-user-password'
mongoHost="127.0.0.1:27017"
mongoCollectionAuth="admin"
mongoCollectionDB="dbCollectionName"
dockerContainer="mongo_5_1"
@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 / arch-KDE-install-rdp.md
Last active June 5, 2022 13:18
Arch Linux KDE set up Remote Desktop (RDP)
@valorad
valorad / fedora-LXQT-install-xrdp.md
Last active June 5, 2022 13:19
Fedora LXQT set up Remote Desktop (xrdp)
@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