Skip to content

Instantly share code, notes, and snippets.

View cguldogan's full-sized avatar
💭
😼 This is the way

Can GULDOGAN cguldogan

💭
😼 This is the way
View GitHub Profile
@cguldogan
cguldogan / mongo-install.sh
Created April 19, 2025 18:59
Mongo-Ubuntu22.04-Install-Bash
#!/bin/bash
set -e
echo "Installing prerequisites..."
sudo apt-get update
sudo apt-get install -y gnupg curl wget
echo "Importing MongoDB public GPG key..."
curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
@cguldogan
cguldogan / install-dev-stack.sh
Last active April 20, 2025 13:30
install-dev-stack
#!/bin/bash
set -e
# Function to check if a package is installed
is_installed() {
dpkg -s "$1" &> /dev/null
}
echo "🔄 Updating package list..."
sudo apt-get update
@cguldogan
cguldogan / vram.txt
Created April 25, 2025 00:56
Update Apple Silcon VRAM allocation M1,M2,M3,M4
sudo sysctl iogpu.wired_limit_mb=DESIRED_VRAM_MB"