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
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
View zerotier-basics.md

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 Jan 19, 2020
running tftp server on ubuntu
View tftp-server-installation.md

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 Jan 16, 2020
coding and terminal fonts to consider using
View fonts.md

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:

View 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 Dec 9, 2019
tshark'n 802.11 on macos notes and cheatsheet
View tshark-802.11-macos-notes.md

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
View tmux-notes-and-cheatsheet.md

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 Dec 10, 2019
basic vimrc
View .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
View install-python3.8-on-wlanpi.md

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

@joshschmelzle
joshschmelzle / tools-to-install.md
Last active Jan 25, 2020
Linux Notes and Cheatsheet
View tools-to-install.md

network engineer essentials

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

examples:

  • tmux is a terminal multiplexer. useful for resuming work later.
  • ipcalc -a 192.168.0.1/24
  • sipcalc -a 192.168.0.1/24
  • whois google.com
You can’t perform that action at this time.