Skip to content

Instantly share code, notes, and snippets.

View jurgonaut's full-sized avatar

Jurij Srebrnič jurgonaut

  • Nova Gorica, Slovenija
View GitHub Profile
@soubrunorocha
soubrunorocha / install_mysql8_silent.sh
Created July 27, 2018 14:31
Installing MySQL 8 in silent mode on Ubuntu ( Without prompting )
#update and install some dependencies
sudo apt-get update && apt-get upgrade -y;
sudo apt-get install -y debconf-utils zsh htop libaio1;
#set the root password
DEFAULTPASS="rootpass"
#set some config to avoid prompting
sudo debconf-set-selections <<EOF
mysql-apt-config mysql-apt-config/select-server select mysql-8.0
@barendb
barendb / run_script.tf
Created May 21, 2021 02:07
Run Bash script in Terraform
/*
example of executing a bash script in tf
*/
locals {
tables = [
aws_dynamodb_table.organization.name
]
}
@NatElkins
NatElkins / cloud-init.yaml
Created March 8, 2025 22:09
cloud-init script for VPS
#cloud-config
# Enable automatic package updates and upgrades during cloud-init execution
package_update: true
package_upgrade: true
packages:
# Security and Hardening
- ufw
- fail2ban