Skip to content

Instantly share code, notes, and snippets.

༼ つ ◕_◕ ༽つ 📶

Josh Schmelzle joshschmelzle

༼ つ ◕_◕ ༽つ 📶
Block or report user

Report or block joshschmelzle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
joshschmelzle / .vimrc
Last active Feb 21, 2020
WLAN Pi Tricks
View .vimrc
" global yanking with the OS clipboard
set clipboard=unnamed
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
joshschmelzle /
Last active Feb 18, 2020
Remove the Xbox Game Bar with Powershell on Windows 10

You've probably stumbled upon this researching how to remove the Xbox Game Bar. This gist includes a few different methods you can try. Please note that you might not have some of these options depending on the version of Windows 10 you're using.

Uninstalling/Removing the Game Bar (old Windows 10 build GUI options)

(this does not seem to be an option on any recent Windows 10 build)

  1. Press Windows Key or click on the Start menu.
  2. Start typing Xbox or Game Bar, until you get the Xbox Game Bar app to appear in the results.
  3. Right-click on the app and pick Uninstall. Answer Yes to the prompt, and wait for the process to finish.

ZeroTier (ZT) is open source and free to use for most cases (commercial/proprietary use makes it not free).

It's a network virtualization platform that lets you connect to your devices with automatic end-to-end encryption. Think of it conceptually like a VPN, SDN, and SD-WAN all in one.

Getting Started

  1. Create and verify an account over at

  2. Create a network

joshschmelzle /
Last active Feb 13, 2020
List all connected SSH sessions

How to list all connected SSH sessions

I was curious how to view sessions on a Linux box I had at my desk. Similar to the session table on an Aruba controller (show loginsessions). Here are some ways you can list active SSH sessions; some commands return more output than others. This applies to most modern Linux boxes or say a WLAN Pi.

All examples below are using 2 MobaXterm user sessions from a Windows machine to a Linux 4.14.42-sunxi64 aarch64 (NanoPi NEO2).


wlanpi@wlanpi:~$ w
joshschmelzle /
Last active Feb 6, 2020
Remap Caps Lock to Control on Windows 10

Create a new binary value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout named Scancode Map

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00

or use PowerShell (run as Admin)

joshschmelzle /
Last active Feb 4, 2020

Important Specs


SoC: Rockchip RK3399
CPU: big.LITTLE,Dual-Core Cortex-A72(up to 2.0GHz) + Quad-Core Cortex-A53(up to 1.5GHz)
RAM: Dual-Channel 4GB LPDDR4
Onboard Networking:
  Ethernet: Native Gigabit Ethernet
joshschmelzle /
Last active Jan 25, 2020
Linux Notes and Cheatsheet

network engineer essentials

sudo apt install git tshark lshw tmux vim ipcalc sipcalc tcpdump whois traceroute tracepath ip route dhclient wget


  • tmux is a terminal multiplexer. useful for resuming work later.
  • ipcalc -a
  • sipcalc -a
  • whois
joshschmelzle /
Last active Jan 19, 2020
running tftp server on ubuntu

Using tftpd-hpa - HPA's tftp server on Ubuntu 18.04.3 LTS to host a tftp server.

install tftp server

$ sudo apt install tftpd-hpa

configure tftp server

create new directory for tftp.

joshschmelzle /
Last active Jan 16, 2020
coding and terminal fonts to consider using

A few fonts for coding or your terminal to consider using:


  • JetBrains Mono - A typeface for developers
  • Hack - A typeface designed for source code
  • FiraCoda - Monospaced font with programming ligatures



Keybase proof

I hereby claim:

  • I am joshschmelzle on github.
  • I am schmelzle ( on keybase.
  • I have a public key ASBqdviB8Y4bLU8jeqMnEw_-kZmXcFg4DceO7iAzKScpXAo

To claim this, I am signing this object:

You can’t perform that action at this time.