Skip to content

Instantly share code, notes, and snippets.

Avatar
🤘

Zack Whipkey zerkz

🤘
View GitHub Profile
@mattbell87
mattbell87 / remote-wsl.md
Last active June 1, 2023 06:15
VSCode Remote: Connect to WSL2 from another machine
View remote-wsl.md

VSCode Remote: Connect to WSL2 from another machine

Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.

Change your OpenSSH shell

SSH to your Windows host (SSH Server must be installed in Windows Features)

ssh user@windowshost
@nomaster
nomaster / config.boot
Last active April 16, 2023 05:35
EdgeRouter: DNS forwarding to CloudFlare with DNSSEC
View config.boot
set service dns forwarding name-server 1.1.1.1
set service dns forwarding name-server 1.0.0.1
set service dns forwarding name-server '2606:4700:4700::1111'
set service dns forwarding name-server '2606:4700:4700::1001'
set service dns forwarding options dnssec
set service dns forwarding options trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5
set service dns forwarding options trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D
set service dns forwarding options dnssec-check-unsigned
set service dns forwarding options dnssec-timestamp=/config/dnsmasq/dnsmasq.time
@veuncent
veuncent / docker_debugging.md
Last active November 22, 2022 01:26
Debugging Django apps running in Docker using ptvsd - Visual Studio (Code)
View docker_debugging.md

Remote debugging in Docker (for Django apps)

In order to enable debugging for your Django app running in a Docker container, follow these steps using Visual Studio (Code):

  1. Add ptvsd to your requirements.txt file
ptvsd == 4.3.2
  1. To your launch.json, add this:
@tikolakin
tikolakin / fish_alias.md
Last active March 3, 2023 09:20
Create alias in Fish shell and save this as a permanent function
View fish_alias.md

Directly from CLI

alias x='exit'
funcsave x

or create a file in

~/.config/fish/functions 

with name

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active June 6, 2023 03:19
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)
View iterm2-solarized.md

Default

Default

Powerlevel10k

Powerlevel10k

@malarkey
malarkey / Contract Killer 3.md
Last active May 5, 2023 08:46
The latest version of my ‘killer contract’ for web designers and developers
View Contract Killer 3.md

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………