Skip to content

Instantly share code, notes, and snippets.

@max-peter
max-peter / 2022-06-25 winget installation packets
Last active November 24, 2022 15:08
2022-06-25 winget installation packets
View 2022-06-25 winget installation packets
winget installation packets
winget list
#Office
Microsoft.Office
Microsoft.Teams
Microsoft.OneDrive
Microsoft.Edge
Microsoft.WindowsTerminal
@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
View 2019-06-03 maswifi.net VPN L2TP
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 / boxstarter-devbox-basics
Last active October 18, 2019 12:07
boxstarter-devbox-basics
View 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
View 2019-05-18 PI-Hole Docker Synology
# 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
View Wordpress-Azure-Docker
# 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