Skip to content

Instantly share code, notes, and snippets.

@dmtrong
dmtrong / rdp-cycle.ahk
Created November 11, 2022 09:30 — forked from paweljasinski/rdp-cycle.ahk
autohotkey script to cycle through remote desktop client windows in full screen mode
; When working with more than one remote desktop on windows
; switching between the remote desktop windows in full screen mode is a horror.
; This scripts let you change the remote desktop window in a Ctrl-Tab or better Cmd-` way
; Ctrl-Shift-Tab switches to local desktop (minimizes all remote desktop windows)
;
; The key combination is Ctrl-CapsLock and due to nature of remote desktop difficult to change
; inspired by http://superuser.com/a/305788
^Capslock:: ; Ctrl+Caps Lock cycles through active remote desktop clients
@dmtrong
dmtrong / raspberry_python.sh
Created October 28, 2022 08:36 — forked from miditkl/raspberry_python.sh
A shell script for installing Python 3.10.2 on your Raspberry Pi.
#!/bin/bash
# A bash script for installing Python 3.10.2 on your Raspberry Pi.
# (c) 2022 Valentin B. / Midian T. E.
#
# Open your terminal and type the following command:
# sudo wget https://gist.githubusercontent.com/realSnosh/cfe29370d2205bd1ad296e7bc7c9b9ea/raw/raspberry_python.sh && chmod +x raspberry_python.sh && ./raspberry_python.sh
sudo apt-get update -y
sudo apt-get upgrade
@dmtrong
dmtrong / WSL2_VPN_Workaround_Instructions.md
Created June 3, 2021 09:07 — forked from machuu/WSL2_VPN_Workaround_Instructions.md
Workaround for WSL2 network broken on VPN

Overview

Internet connection and DNS routing are broken from WSL2 instances, when some VPNs are active. The workaround breaks down into two problems:

  1. Network connection to internet
  2. DNS in WSL2

This problem is tracked in multiple microsoft/WSL issues including, but not limited to: