Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Variables
podPath="/opt"
echo && echo "🚀 Setting up RTX 3090 AI System..." && echo
# Test GPU
nvidia-smi
sleep 3
@sysvar
sysvar / gist:543c03fa483d0312f983eb26101f2033
Last active August 18, 2025 22:11
quickpod_port_3000_test.sh
#!/bin/bash
set -e
# Update system
apt update
apt install sudo ca-certificates gnupg lsb-release gpg apt-utils htop nano curl -y
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
# Create project directory
@sysvar
sysvar / extract_exe_dn.sh
Created July 18, 2025 15:54
Extract Full Distinguished Name (DN) or Common Name (CN) from .exe files on using Linux
#!/bin/bash
# Script to extract Distinguished Name (DN) from .exe files
# Usage: ./extract_exe_dn.sh file.exe
if [ $# -ne 1 ]; then
echo "Usage: $0 <exe_file>"
exit 1
fi
@sysvar
sysvar / clamd-setup.md
Created January 9, 2022 20:21 — forked from johnfedoruk/clamd-setup.md
Setting up ClamAV

ClamAV Setup Notes

Context

ClamAV can be used in a few different ways. Most importantly, it provides the ability to scan files in realtime (on-access) or to scan the file system periodically.

I tried configuring ClamAV to both perform on-access virus scanning and to perform nightly full filesystem scanning. Using the on-access option did not prove to be very useful, however a scheduled full system scan seems to be of value.

Here is my story.