Skip to content

Instantly share code, notes, and snippets.

@ndrut
ndrut / my.cnf
Last active October 14, 2022 12:06
wordpress template - nginx (ready for traefik), php-fpm, mysql
[mysqld]
; mysql > 5.6 changes this to sha2 which php doesn't support yet
default_authentication_plugin=mysql_native_password
@ndrut
ndrut / firstboot.sh
Created September 14, 2018 12:46
vultr-ubuntu18-docker-startup
#!/bin/bash
log () {
level=$1
log=$2
t=`date +%F/%T`
echo "[${t} ${level}] ${log}"
}
METADATA=http://169.254.169.254/v1
@ndrut
ndrut / readme.md
Last active July 11, 2022 20:26
This windows batch file opens the steam game sea of thieves and sets cpu priority to maximum

Use

Right click raw to the right of startsot.bat and Save link as

Note: I created this to work around the fact that you can't use a real desktop shortcut to point to a real executable file for a game managed by steam.

Why does it ask for administrator privileges?

In order to set priority of a process you need administrator privileges (especially when setting above high)