Skip to content

Instantly share code, notes, and snippets.

James Hagerman JamesHagerman

Block or report user

Report or block JamesHagerman

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
JamesHagerman /
Last active Oct 22, 2019
Custom Pihole DNS mappings for some domain names

Custom Pihole DNS mappings for some domain names

vim /etc/pihole/my_custom_routes.list

Add something like ipaddress fqdn hostname, e.g.:  server2

Tenor Sax Mouthpieces I own

Selmer S-80 C*

  • Facing Length: 24.00
  • Tip Opening: 1.80mm
  • Square chamber

It is characterized by its very warm, grained, broad and full toned sound.

JamesHagerman /
Created Aug 28, 2019 — forked from jhaddix/
The Web Application Hacker's Handbook - Task Checklist - Github-Flavored Markdown
export DEBIAN_FRONTEND=noninteractive;
echo "[*] Starting Install... [*]"
echo "[*] Upgrade installed packages to latest [*]"
echo -e "\nRunning a package upgrade...\n"
apt-get -qq update && apt-get -qq dist-upgrade -y
apt full-upgrade -y
apt-get autoclean
echo "[*] Install stuff I use all the time [*]"
JamesHagerman / Quimat 3.5in TFT on Kali
Last active Jul 14, 2019
[Work in Progress!] 3.5 Inch TFT Touch Screen, Quimat 320x480 Resolution LCD
View Quimat 3.5in TFT on Kali
JamesHagerman /
Created Jun 14, 2019
Autodesk Eagle laptop support command I always need and always forget

Using Autodesk Eagle without a three button mouse

By default, panning the view in Eagle is painful on computers with touchpads, trackpads, thinkpad nubs, or whatever their called on Apple laptops.

The following command can enable the Ctrl (or Cmd on an Apple) key as an alternative way of panning the view. Just hold the key and move the mouse around (without clicking any mouse button).

This is very useful, difficult to remember, difficult to Google, and difficult to save in a "dotfile" configuration file. At least it sticks between runs of Eagle...

SET Interface.UseCtrlForPanning 1
View markdown reference link
JamesHagerman /
Last active Oct 16, 2019
My notes about running srsLTE

srslte notes

These are my notes about getting srslte up and running.

Install stuff

I'm running linux.

  • Install all your SDR stuff first. I'm using a BladeRF, a LimeSDR, and a LimeSDR-Mini. That means I had to install all the stuff for each of those including soapy and the pothos stack since that's what was to implement limesdr support
  • Compile from source. rtfm

Keybase proof

I hereby claim:

  • I am jameshagerman on github.
  • I am jhagerman ( on keybase.
  • I have a public key ASARFYz-Cj8HbLghrTj45FCqIG4AkLCNW1REPG_1WAhXmwo

To claim this, I am signing this object:

JamesHagerman / usb_to_uart.ino
Created Sep 21, 2018 — forked from monkbroc/usb_to_uart.ino
Particle Photon USB to UART passthrough
View usb_to_uart.ino
/* Pass through all data from USB serial to UART serial (TX/RX pins)
void setup() {
You can’t perform that action at this time.