Skip to content

Instantly share code, notes, and snippets.

  • Designing Together, Dan Brown
  • Superintelligence, Nick Bostrom
  • About Face, 4th Ed, Alan Cooper et al
  • The Trusted Advisor, David Maister
  • Practical Empathy, Indi Young
@stonehippo
stonehippo / inspect_https-tls-ssl_certs.md
Last active March 25, 2025 18:53
A couple of ways to look at web server HTTPS/TLS/SSL certificate data via the command line

Inspecting HTTPS (TLS, SSL) certificates from the command line

I needed to inspect an HTTPS site's current certs and wanted to do it from the command line. Here are a couple of commands that I used that worked quite well.

With nmap

nmap -p 443 --script ssl-cert [hostname]
@stonehippo
stonehippo / team_tools.md
Last active September 25, 2019 14:16
Some tools for working in teams

Team Tools

I'm always looking for new team tools. In particular, I want simple, clean tools that support visual, pattern-based processes for managing work and communication.

@stonehippo
stonehippo / README.md
Last active July 4, 2019 18:33
Custom PlatformIO board definition for ATTiny85

Custom PlatformIO ATTiny85 Board Definition

This PlatformIO custom board definition was created to include a default set of fuse values for the ATTiny85. It's derived from the standard ATTiny85 board definition. It originally came from troubleshooting some issues with setting fuses on Atmel AVR targets in PlatformIO.

The reason I created this board definition was to be able to use the pio run -t fuses command at default to set an ATTiny85 to run at 8mHz (rather than the default of 1mHz). This is helpful, because I've got a bunch of bare chips (rather than an breakout or dev board like the Adafruit Trinket).

The fuse settings are:

fuse value
@stonehippo
stonehippo / nodejs_raspberry_pi.md
Last active March 2, 2025 19:33
Methods for installing Node.js on Raspberry Pi

Setting Up Node.js On Raspberry Pi

There are several ways that you can set up Node.js on a Raspberry Pi when running Raspbian/Rapberry Pi OS. Depending on your needs, the version of the RPi that you're using, and how you like to manage installs, you have a lot of options.

Node.js from source

Do not do this if you can avoid it, it's super slow. If you insist on doing it and have the time, you can start at https://nodejs.org. But really, don't do this.

If you have tons of time on your hands, don't need Node anytime soon, and insist on building from source for some reason, here's a guide you can try out that covers building Node.js on an ARMv6 Raspberry Pi.

Side note: unless you have a need for the latest and greatest features, I recommend developing using the most recent Long Term Support (LTS) version of Node available, especially for anything you plan to put into production for any length of time.

@stonehippo
stonehippo / BLE-programming-Raspberry-Pi.md
Last active April 23, 2025 22:21
Bluetooth LE Programming On Raspberry Pi

Bluetooth LE Programming On Raspberry Pi

I'm looking at building up some Bluetooth LE programming expertise on Linux, specifically for use with Raspberry Pi 3 B+ and Pi Zero W models.

This is a compendium of libraries and tools that I'm looking at to build that skill on.

DON'T FORGET!!!

On the Raspberry Pi Zero W, a user must be a member of the bluetooth group to work with tools like bluetoothctl. Set this up with:

@stonehippo
stonehippo / vpn-and-secure-internet-communcations.md
Last active October 3, 2020 21:37
VPN and secure communications options

Private VPNs and VPN-alikes

I like to keep my Internet traffic secure and private when I'm on the road or at home, and I want to be able to connect to servers in my private network.

I do use a commerial VPN provider, but of course there's flaw: I have to trust them, as all of my traffic goes through their tunnel. I generally am OK with this. In general, a commercial VPN provider's interest is to keep user data private and unlogged, though there have been exceptions (looking at you, Facebook).

There are good reasons to run my own VPN, including as a way to connect back to resources in my private network. I can and do use SSH for some things, but sometimes it's nice to be able to work remotely as is if I'm within my own network. And that's where a VPN can come in handy.

Running a VPN can be hard to do. Fortunately, there are some tools that can make it easier.

@stonehippo
stonehippo / arm-toolchains.md
Last active April 25, 2023 16:15
ARM Embedded Toolchains

ARM Embedded Toolchains

GNU toolchain from ARM

This is the canonical place to get the GNU GCC toolchain for ARM Embedded. For detailed info, see https://developer.arm.com/open-source/gnu-toolchain. Installers for Windows, Linux 64 bit and MacOS 64 bit, plus a source tarball.

https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads (this page has been deprecated, but is still available and has older versions)

https://developer.arm.com/Tools%20and%20Software/GNU%20Toolchain (newer page)

Notes on AVRDUDE, Arduino, and Raspberry Pi

I ran into some issues getting AVRDUDE and Arduino IDE working with my Raspberry Pis running Raspbian.

General Reference

Don't forget to add youself to the dialout group

@stonehippo
stonehippo / working-copy_ipad_rpi_and_git.md
Last active May 21, 2022 20:26
Managing my Working Copy/iPad dev with Github and local repos

Working Copy + iPad + Github + Raspberry Pi == My Dev Setup!

I've been using my iPad Pro as my daily driver at home for a bit. It's a great little computer and I find that it covers many of my needs. But one area where it doesn't quite match what I do is hardware hacking. The iPad doesn't really have the right hardware or software for working with stuff like Arduinos and other microcontrollers. But I've worked around that to that I can still do a lot of my coding on the iPad, while still being able to work with hardware.

With A Little Help From My Friend