Skip to content

Instantly share code, notes, and snippets.

{
"theme": "dark",
"profiles": [
{
"name": "Command Prompt",
"commandline": "cmd.exe",
"closeOnExit" : true,
"colorScheme" : "RetroAmber",
"cursorColor" : "#fc9505",
"cursorShape": "filledBox",
@JamesHagerman
JamesHagerman / lego-rcx-notes-2020.md
Last active April 10, 2022 13:54
LEGO RCX Notes

Lego RCX Notes

I tested these steps under WSL with Ubuntu.

I no longer have an official LEGO IR Tower, but in 2014 I created one with a simple IR receiver and an IR LED. The Arduino firmware and Eagle files are here: https://github.com/JamesHagerman/HardwareProjects/tree/master/LEGO_RCX_Tower Boards can be ordered from OSHPark here: https://oshpark.com/shared_projects/MtLGHYuW

Big shout out goes to John Holbrook (@johnholbrook on GitHub, @whole_brook on Twitter) for his awesome, up to date article found here: https://www.johnholbrook.us/RCX_guide.html

The following writeup (and my 2014 IR Tower hack) should provide a more complete answer to one of the FAQ's on that page ("Can I send data to the RCX from a [TV remote/IR port on an old laptop/IR LED and an Arduino]?").

@JamesHagerman
JamesHagerman / console-output.log
Created February 20, 2020 00:13
srsLTE running on RPi4
$ sudo srsenb
Built in Release mode using commit f2807205 on branch HEAD.
--- Software Radio Systems LTE eNodeB ---
Reading configuration file /etc/srslte/enb.conf...
Opening 1 RF devices with 1 RF channels...
Soapy has found device #0: addr=24607:1027, driver=lime, label=LimeSDR Mini [USB 3.0] 1D3AD5752F4A5A, media=USB 3.0, module=FT601, name=LimeSDR Mini, serial=1D3AD5752F4A5A,
[INFO] Make connection: 'LimeSDR Mini [USB 3.0] 1D3AD5752F4A5A'
@JamesHagerman
JamesHagerman / dnc-nominations-for-the-2020-convention-standing-committees.md
Last active January 25, 2020 20:21
DNC Chair Perez's Nominations for the 2020 Convention Standing Committees
@JamesHagerman
JamesHagerman / dnc-nominations-for-the-2020-convention-standing-committees
Last active January 25, 2020 20:21
DNC Chair Perez's Nominations for the 2020 Convention Standing Committees
(6)
Chair Perez's Nominations for the
2020 Convention Standing Committees
@JamesHagerman
JamesHagerman / GitHub-blocks-delete.md
Created December 8, 2019 21:08
GitHub has a dangerous and broken docker registry implementation...

GitHub blocks deleting docker tags of public repos

GitHub has a dangerous and broken docker registry implementation...

They block the ability to overwrite existing docker versions. This breaks the pattern of having a latest image that can always be the most up to date.

So to work around this, we have to:

  1. Set the repo as private (blowing away any stars or watchers of that repo in the process)
@JamesHagerman
JamesHagerman / pihole-custom-dns-remapping.md
Last active October 22, 2019 06:41
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.:

192.168.1.4 server2.vesync.com  server2
@JamesHagerman
JamesHagerman / tenor-sax-mouthpieces.md
Last active September 1, 2019 04:24
Tenor sax mouthpieces

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
JamesHagerman / WAHH_Task_Checklist.md
Created August 28, 2019 03:36 — forked from jhaddix/Testing_Checklist.md
The Web Application Hacker's Handbook - Task Checklist - Github-Flavored Markdown
#!/bin/bash
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 [*]"