Skip to content

Instantly share code, notes, and snippets.

View joshschmelzle's full-sized avatar
👻
༼ つ ◕_◕ ༽つ🛜

jsz joshschmelzle

👻
༼ つ ◕_◕ ༽つ🛜
View GitHub Profile
@joshschmelzle
joshschmelzle / iperf3-server-on-ubuntu.md
Last active October 6, 2020 14:29
iperf3 server install

installing iperf3 and make it start at boot on a ubuntu server.

install iperf3:

sudo apt-get install iperf3

start iperf3 server at startup

@joshschmelzle
joshschmelzle / Remote-PCAP-Daemon.md
Last active December 15, 2021 16:06
WLAN Pi Tricks

Remote PCAP

Requirements:

  • Windows 10, or newer
  • Wireshark 3.0, or newer (installed with Sshdump component)
  • WLAN Pi or SBC (assumption is rpcapd is setup and running)
  • SSH Client

Can leverage rpcap (remote packet capture) protocol supported by Wireshark to capture raw wireless frames from the WLAN NIC used by the WLAN Pi. This can be leveraged to do a packet capture from a WLAN Pi in a remote location.

@joshschmelzle
joshschmelzle / zerotier-basics.md
Last active May 5, 2025 21:06
Zero Tier Basics

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 https://my.zerotier.com/

  2. Create a network https://my.zerotier.com/network

@joshschmelzle
joshschmelzle / tftp-server-installation.md
Last active April 16, 2025 10:00
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
joshschmelzle / fonts.md
Last active January 16, 2020 02:05
coding and terminal fonts to consider using

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

Fonts:

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

Resources:

@joshschmelzle
joshschmelzle / keybase.md
Created January 14, 2020 15:53
keybase.md

Keybase proof

I hereby claim:

  • I am joshschmelzle on github.
  • I am schmelzle (https://keybase.io/schmelzle) on keybase.
  • I have a public key ASBqdviB8Y4bLU8jeqMnEw_-kZmXcFg4DceO7iAzKScpXAo

To claim this, I am signing this object:

@joshschmelzle
joshschmelzle / tshark-802.11-macos-notes.md
Last active December 9, 2019 13:58
tshark'n 802.11 on macos notes and cheatsheet

Prep:

Create a symlink to the AirPort command in Terminal:

ln -s /System/Library/PrivateFrameworks/Apple80211.framework/
Versions/Current/Resources/airport /Usr/bin/airport

# test utility
airport -I
@joshschmelzle
joshschmelzle / tmux-notes-and-cheatsheet.md
Last active December 10, 2019 14:11
tmux notes and cheatsheet

tmux

it's a terminal multiplexer that allows access to multiple terminal sessions in a single window. so, you can split terminals into panes. you can move, resize, and switch between them.

it's also useful for detaching processes from the controlling terminal. so, a SSH session can remain active without actually being visible. i recommend using tmux if you're doing remote work via ssh.

tmux hotkeys to help with remote ssh dev

install tmux with sudo apt install tmux.

@joshschmelzle
joshschmelzle / .vimrc
Last active December 10, 2019 12:37
basic vimrc
" global yanking with the OS clipboard
set clipboard=unnamed
" make the arrow keys do something useful, resize the viewports accordingly.
nnoremap <Left> :vertical resize +2<CR>
nnoremap <Right> :vertical resize -2<CR>
nnoremap <Up> :resize -2<CR>
nnoremap <Down> :resize +2<CR>
syntax on " enable syntax highlighting
@joshschmelzle
joshschmelzle / install-python3.8-on-wlanpi.md
Last active December 30, 2019 14:59
python3.8 on wlanpi

Steps to install Python 3.8 on wlanpi.

WLAN Pi build used in this writing (release 1.9.0-beta3b).

Host OS:

Linux wlanpi 4.19.66-sunxi64 #5.93.190815 SMP Thu Aug 15 23:19:53 CEST 2019 aarch64 GNU/Linux

Update before installing python