Skip to content

Instantly share code, notes, and snippets.

# 2018-02-19 cironet.eu Ubuntu Server Docker on Azure with Wordpress MariaDB Letsencrypt
# check status docker
sudo systemctl status docker
 
 
Create swapfile
Create a swap file to prevent your MariaDB or WordPress containers from running out of memory under load.
sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
# Note: 192.168.123.xxx is an example network, you must update all these to match your own.
version: '2'
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
hostname: pihole
domainname: example.com # <-- Update
@max-peter
max-peter / boxstarter-devbox-basics
Last active October 18, 2019 12:07
boxstarter-devbox-basics
# (c) cironet.eu - 19.05.2019
#Set-TimeZone -Name "Eastern Standard Time" -Verbose
Set-TaskbarOptions -Dock Bottom
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showFileExtensions
Enable-RemoteDesktop
Enable-PSRemoting -Force
choco install googlechrome -y
choco install firefox -y
choco install git -y
@max-peter
max-peter / 2019-06-03 maswifi.net VPN L2TP
Last active June 7, 2019 16:49 — forked from rys/l2tp-ipsec-edgerouter-x.txt
L2TP/IPSec VPN configuration on EdgeRouter X
configure
set vpn ipsec ipsec-interfaces interface eth0 # your WAN interface
set vpn ipsec auto-firewall-nat-exclude enable
set vpn ipsec nat-networks allowed-network 0.0.0.0/0 # check that's OK before you set it
set vpn l2tp remote-access authentication mode local
@max-peter
max-peter / 2022-06-25 winget installation packets
Last active November 24, 2022 15:08
2022-06-25 winget installation packets
winget installation packets
winget list
#Office
Microsoft.Office
Microsoft.Teams
Microsoft.OneDrive
Microsoft.Edge
Microsoft.WindowsTerminal
{"app_version":"0.26.1","app_version_int":996,"subscriptions":[{"service_id":0,"url":"https://www.youtube.com/channel/UCDb4InP9mRZR9oogD1b2dOQ","name":"#WalkAway Campaign"},{"service_id":0,"url":"https://www.youtube.com/channel/UCfmod5bOtmmTTFi5rYfGr2g","name":"365 Akademie"},{"service_id":0,"url":"https://www.youtube.com/channel/UC3gJSe50HI67uKN4mO9a91g","name":"3nach9"},{"service_id":0,"url":"https://www.youtube.com/channel/UCITKvry4fW50iU4FSw9WERQ","name":"42"},{"service_id":0,"url":"https://www.youtube.com/channel/UCJWCJCWOxBYSi5DhCieLOLQ","name":"aantonop"},{"service_id":0,"url":"https://www.youtube.com/channel/UCEfEi-IMiB87UsxY3765P6w","name":"ACM SIGCHI"},{"service_id":0,"url":"https://www.youtube.com/channel/UCe5hl70Es-VQ4OWvxssFH4A","name":"acTVism Munich"},{"service_id":0,"url":"https://www.youtube.com/channel/UCz96fAA2tGsOxeodPCeYAPQ","name":"Adopting Bitcoin"},{"service_id":0,"url":"https://www.youtube.com/channel/UCf8uu3IE42b6hRUusufEH8g","name":"Akamai Developer"},{"service_id":0,"url":"https://