Me on a bike (2022 Season)
Return of the Zombie Goat Enduro – Flat Rock Ranch, Comfort, TX
Dino Enduro – Dinosaur State Park, Glen Rose, TX
Published on January 23, 20222021 Top Listens
-
Wilco
319 - Sturgill Simpson
279 - Paul Simon
278 - Wally Clark
249 - Steely Dan
225 - Sault
221 - Jazz Spastiks
220 - My Morning Jacket
220 - Band of Horses
210 - our Old Droog
197 - Benny the Butcher
196 - Yo La Tengo
184 - Michael Bublé
173 - Enzo Carella
172 - Ultramarine
165 - Burrito Brown
164 - MF DOOM
162 - Larry June
153 - Westside Gunn
148 - Miles Davis
146 - The Magnetic Fields
144 - Delvon Lamarr Organ Trio
142 - Always Proper
139 - Berner
139 - White Denim
139 - The Shins
133 - Emma-Jean Thackray
127 - Richard “Groove” Holmes
127 - Modest Mouse
126 - David Bowie
125 - PUP
123 - Richard Swift
120 - Lucky Brown
115 - Moses Boyd
115 - emune
113
- Kurt Vile
112
- Mocky
107
- Adrian Younge
105
- Conway the Machine
105
- Nick Drake
104
- Built to Spill
103
- Wun Two
102
- Bruno Pernadas
100
- Fleet Foxes
99
- Hot Snakes
99
- Rhye
98
- Theon Cross
97
- Bright Eyes
96
- Ted Hawkins
95
- The Deli
95
Marc is 100% awesome
It’s on the internet, so it’s a thing.
Sorry, this is only here to illustrate a point. Just because something is on the internet doesn’t necessarily make it true, except for this case, in which it’s 100% true.
Published on August 13, 2021Yard Birds
Birds that have hatched and/or fledged in my yard.
Published on June 7, 2021Power
W = V * A
V = W / A
A = W / V
W = watts
V = volts
A = amperes
Me on a bike (2021 Season)
Zombie Goat Enduro – Flat Rock Ranch
DNF this race — injury crash
O’Rock Epic Enduro – Big Cedar, OK – Ouachita National Forest
Published on January 27, 20212020 Top Listens
- Derrick Harriott
455 - Billy Swan
393 - Sault
348 - Harry Nilsson
226 - Jazz Spastiks
219 - The Deli
219 - Lee Dorsey
211 - Richard “Groove” Holmes
207 - Fiona Apple
182 - Wilco
168 - Burrito Brown
153 - Saib
149 - Ted Hawkins
149 - Sweeps
146 - emune
139 - The Menzingers
139 - Alphonse Mouzon
137 - Jim Ford
137 - Bully
123 - Gene Harris & The Three Sounds
121 - The Sea and Cake
121 - Built to Spill
120 - Run the Jewels
115 - Rush
114 - Wun Two
114 - Hot Snakes
112 - Shabazz Palaces
112 - Moses Boyd
111 - Eddie Henderson
110 - Yussef Kamaal
108 - Dr. Lonnie Smith
107 - Maggie Rogers
107 - Always Proper
103 - Pkew Pkew Pkew
103 - Tender Leaf
101 - Mose Allison
100 - New Tutenkhamen
100 - Ikebe Shakedown
95 - Real Estate
95 - Justin Townes Earle
94 - Smoke Trees
94 - FloFilz
93 - Adrian Younge
91 - Fastlife
91 - Undagawds
89 - Ronnie Foster
88 - Nathaniel Rateliff & the Night Sweats
86 - Brother Noland
82 - PUP
82 - PENPALS
81
Process CSV file and curl request with its contents
#!/bin/bash # Purpose: Read Comma Separated CSV File and cURL using contents INPUT=$1 OLDIFS=$IFS IFS=',' [ ! -f $INPUT ] && { echo "Please provide a CSV file"; exit 99; } while read user_email first_name last_name Level start_issue start_date do # curl request with contents from CSV and write output to file curl -m 10 -X POST --data API_Key=KEY_GOES_HERE --data Email=$user_email --data Program_Data=PROGRAM_DATA_GOES_HERE --data FirstName=$first_name --data LastName=$last_name https://API_ENDPOINT.TLD >> curl_output.json done < $INPUT IFS=$OLDIFS
Run this as, if saved as curl-csv.sh:
$ ./curl-csv.sh curl-csv.csv
If you get the “/bin/bash^M: bad interpreter: No such file or directory” error message you probably created the .sh file in Windows and are running in a Linux shell. Run the following command to rectify.
$ sed -i -e 's/\r$//' curl-csv.shPublished on December 3, 2020
gulp.watch not firing with changed files when run in WSL
Using WSL Debian for dev and gulp.watch
is not running when files are changed on the Windows side. Solution is to add {interval: 1000, usePolling: true}
to the gulp.watch
event.
For example, here’s the styles portion of my gulp.watch task.
gulp.watch([path.source + 'styles/**/*'], {interval: 1000, usePolling: true}, gulp.series('styles'));Published on August 19, 2020
Match and replace content in WordPress the_title()
In a situation where content in the_title()
needed to be italicized.
function fix_the_title( $title ) { $new_title = $title; $pattern = '/Content to Match/'; $replace = '<em>$0</em>'; $new_title = preg_replace($pattern, $replace, $new_title); return $new_title; } add_filter( 'the_title', 'fix_the_title' );
Add that to functions.php and you’re good.
Published on July 1, 2020