Skip to content

Instantly share code, notes, and snippets.

@mry
mry / docker-compose.yml
Created July 28, 2017 22:07
docker-compose file for Let's Encrypt on a Synology
version: '2'
services:
proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- '30080:80'
- '4343:443'
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
@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
@rys
rys / l2tp-ipsec-edgerouter-x.txt
Created March 11, 2016 21:47
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
set vpn l2tp remote-access authentication local-users username <user> password <password>
set vpn l2tp remote-access client-ip-pool start <starting IP>
set vpn l2tp remote-access client-ip-pool stop <end IP>
set vpn l2tp remote-access dns-servers server-1 <DNS server IP>
set vpn l2tp remote-access ipsec-settings authentication mode pre-shared-secret
@simonpo
simonpo / README.md
Last active July 22, 2022 11:54
Windows 10 dev box setup with winget

Winget is a command line tool that allows discovery and installation of applications, which will eventually make its way to mainline Windows 10. As I set up a new machine every couple of weeks, it's handy to have a batch file to run from the command line and install a bunch of tools, utilities and languages I use all the time.

You can install the winget preview appx here, and there are more options described here if you want to go the Windows Insider route.

@jgamblin
jgamblin / gist:2441964a1266764ed71f3243f87bbeec
Created May 8, 2016 00:02
Install Raspi-Config and rpi-update on Kali.
sudo apt-get update
sudo apt-get install lua5.1 alsa-utils triggerhappy curl libcurl3
wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20160322_all.deb
wget http://archive.raspberrypi.org/debian/pool/main/r/rpi-update/rpi-update_20140705_all.deb
dpkg -i raspi-config_20160322_all.deb
dpkg -i rpi-update_20140705_all.deb
@cdleon
cdleon / macbook-pro-2011-defective-gpu-fix.md
Last active February 15, 2024 10:24
Macbook Pro 2011 GPU Defect fix macOS Sierra and High Sierra
@sudocarlos
sudocarlos / cloudflare_tunnels.sh
Last active April 30, 2024 03:28
Download, configure and run Cloudflare tunnels for Start9 services
#!/usr/bin/env bash
# Warn and prompt
read -p "Note, this script is reckless! You should not be exposing your Start9 the
Internet like this. This will allow Cloudflare to read all processed data.
Do you really want to continue?? [Y/N]" -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
# Variables
TUNNEL_NAME=start9