Skip to content

Instantly share code, notes, and snippets.

View jamespfinn's full-sized avatar
☘️
☘️ ☘️ ☘️ ☘️ ☘️ ☘️ ☘️

Jim Finn jamespfinn

☘️
☘️ ☘️ ☘️ ☘️ ☘️ ☘️ ☘️
View GitHub Profile
@jamespfinn
jamespfinn / keybase.md
Created March 25, 2021 20:58
keybase.md

Keybase proof

I hereby claim:

  • I am jamespfinn on github.
  • I am jamespfinn (https://keybase.io/jamespfinn) on keybase.
  • I have a public key ASA8kR8P07SDW6lXeGMQYZlqnNjysR40VMktJ35QbwlmCwo

To claim this, I am signing this object:

@jamespfinn
jamespfinn / castnow-fork.sh
Last active November 9, 2016 16:03
This wrapper script will fork castnow. It accepts all castnow options and forks the process to the background.
#!/bin/bash
# 2016.10.08 - jamespfinn@gmail.com
# https://github.com/jamespfinn
#
# This script will fork an instance of castnow (https://github.com/xat/castnow).
# All options passed to this script will be passed to castnow
# e.g.:
# $ ./castnow-fork.sh file1.mp3 file2.mp3 --address 192.168.1.44
#
# This script has only been tested on Linux
/*
02.26.2015 - jfinn -
We will drive the 24V DC motor w/ an H-bridge composed of 4 2n2222 transistors.
+12V --------+------------------------+
| |
PIN 1k / c c \ 1k PIN
13 --/\/\/---| 2N2222 2N2222 |--/\/\/--- 11
\> e e </
| + - |
@jamespfinn
jamespfinn / jfBlockAds.sh
Created May 1, 2013 13:12
simple script for blocking adds. add it to cron to keep your hosts file up to date. seems to work very well
#!/bin/bash
#
# 05.31.12 JamesPFinn aT gmail DoT cOm
#
# Script meant to be run from cron will update hosts file
# with contents from http://someonewhocares.org/hosts/hosts
# the contents will serve to block ads and other undesirables.
#
# Do not make customizations to the host file between: