Skip to content

Instantly share code, notes, and snippets.

View dockerlead's full-sized avatar
🎯
I may be slow to respond.

dockerlead dockerlead

🎯
I may be slow to respond.
View GitHub Profile
@dockerlead
dockerlead / ffsend
Last active February 21, 2022 05:11
ffsend - An awesome tool to send files securely over the internet, provided by firefox team!
git clone https://github.com/dockerlead/ffsend
cd ffsend
chmod +x ffsend
echo $PATH #Check your system path, which is different from one OS to another
sudo mv ffsend /usr/sbin/ #In case of Ubuntu
ffsend upload filename [some cool options are available if you have a paid account]
ffsend download filename
@dockerlead
dockerlead / dashboard-ingress.yaml
Created November 2, 2020 19:30
Minikube Dashboard Ingress Config
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dashboard-ingress
namespace: kubernetes-dashboard
spec:
rules:
- host: dashboard.com
http:
paths:
@dockerlead
dockerlead / multi-container-pod-example.yaml
Created November 4, 2020 03:17
Nginx as main container, Curl as sidecar container, making a multiple container pod.
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx-container
image: nginx
@dockerlead
dockerlead / Tutorial.md
Created November 16, 2020 05:04
Wireguard on CentOS 7/8

Set Up Your Own WireGuard VPN Server on CentOS

This tutorial is going to show you how to set up your own WireGuard VPN server on CentOS. WireGuard is made specifically for the Linux kernel. It runs inside the Linux kernel and allows you to create fast, modern, and secure VPN tunnel. TL;DR

Prerequisites

This tutorial assumes that the VPN server and VPN client are both running CentOS operating system.

Step 1: Install WireGuard on CentOS Server and Desktop

Log into your CentOS server, then run the following commands to install WireGuard.

# CentOS 8
@dockerlead
dockerlead / docker-compose.yaml
Created June 17, 2021 21:39
Monero Miner with resources limited
version: "3.8"
services:
miner:
image: giansalex/monero-miner
container_name: monero-miner
privileged: true
cap_add:
- ALL
volumes:
- "/lib/modules:/lib/modules"