Skip to content

Instantly share code, notes, and snippets.

@ashleykleynhans
ashleykleynhans / README.md
Last active September 25, 2024 08:36 — forked from dlage/README.md
Namecheap DNS to zone file
@dlage
dlage / update_pve_and_containers.sh
Last active February 8, 2021 16:24
Bash script to update the Proxmox Virtualizer and all the running containers using their respective package manager. Supports apt-get, yum and dnf. Log everything to file as well.
#!/bin/bash
#
# Update PVE machine
# Update all running containers
set -x
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3 RETURN
exec 1>${0}.log 2>&1 1>&3
# list of container ids we need to iterate through
@andrew-nuwber
andrew-nuwber / README.md
Last active December 29, 2023 00:26
Namecheap DNS to zone file
@martijnvermaat
martijnvermaat / ssh-agent-forwarding-screen.md
Created December 21, 2013 15:06
SSH agent forwarding and screen

SSH agent forwarding and screen

When connecting to a remote server via SSH it is often convenient to use SSH agent forwarding so that you don't need a separate keypair on that server for connecting to further servers.

This is enabled by adding the

ForwardAgent yes

option to any of your Host entries in ~/.ssh/config (or alternatively with the -A option). Don't set this option in a wildcard Host * section since any user on the remote server that can bypass file permissions can now als use keys loaded in your SSH agent. So only use this with hosts you trust.

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active November 10, 2024 03:45
A badass list of frontend development resources I collected over time.
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 15, 2024 09:51
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname