/lib

Projects, fun stuff, etc.

Chevy K10 truck restoration Phase 1: Acquisition & Engine Rehab

After completing my book, I needed some mental rehabilitation. Something therapeutic and relaxing. I also had a (small) wad of cash from the deal so I decided to buy an old truck! I found this old guy, I've named him Hank, someone's old hunting truck. It belonged to an older gentleman in Wyoming and he gave it to his grandson who was entering the marines. The grandson drove it to Missouri and sold it to the guy I bought it from. I have no idea at what point in the truck's life that the engine was swapped out for a 350 and it was converted from 2wd to 4wd! The VIN shows it's a 2wd truck but it is most definitely a 4wd. So it was either converted to 4wd, or a cab with the exact same color scheme was swapped (unlikely). Someone put a lot of money into this truck, and it's kept it's value pretty well. Only a loose bolt and little bit of rust here and there (I'll soon learn just how "little").

I think I wrote a book: Functional Programming in JavaScript

You never know where life will take you. It may take you rock climbing in Argentina, it may take you to a farm in Nebraska, it may take you to a high-rise building in San Jose. Starting in October 2014, life took me (or, my name at least) to a publishing company in Birmingham, United Kingdom. A colleague of mine, Trent Hauck, wrote a book for the same publishing company and asked me to be a technical editor. I said sure! Little did I know that the experience would end up with me writing a book of my own.

Functional Programming in JavaScript by Dan Mantyla

Free! Honda CB200 CL200 Owners Manual and Workshop Service Manual free downloads

Don't know why I didn't share this sooner! The Factory Service Manual (FSM) is a MUST!! It's also called the Workshop Service Repair Manual. The owners manual is nice to have too. It's also fun (for lack of better word) to find that the two documents contradict each other on a few things. For example, the owners manual says to tighten the cam chain by putting it in TDC first, while the FSM says to do it while the engine is running. I do as the FSM says.

DIY guitar pedal board

DIY effect pedal board for stomp boxes, homemade from a suitcaseWhat do you do with an old suitcase and a pile of stomp boxes and patch cables? Turn it into a pedal board! This was a really fun project, one that doesn't require a whole lot of planing and can be made with things laying around the house. Here's how I made it.

DIY power supply for guitar effect pedals

You know those power supplies that can power like 10 effect pedals, but they cost like $150? They're nice, but who has money for that?! I needed one for my DIY pedal board so I thought I'd DIY the power supply too. 

power supply DIY enclosure for guitar effect pedals and stomp boxes

Evaluating Old Honda Twins - Six Easy Steps

I am reposting this gem of information for HondaTwins.net. The origintal article is here - http://www.hondatwins.net/.../evaluating-old-honda-twins-six-easy-steps.html - but as you can see is has been removed. It was an invaluable piece of information for me as a beginner, so it is my hope that other beginners will find this and get the help they need. Below is the transcribed article, all credit goes to someone by the name of Bill (who, I believe, was badly injured in a wreck and he deleted his account, very sad.)

Using Javascript/jQuery to check if offsite file exists with given URL

So I needed to see if an MP3 was successfully uploaded to our streaming server, and display the status on our website where our user's access the upload form. However, I ran into some issues with Access-Control-Allow-Origin access headers and with just how to acquire the status code. It always fails, whether or not the file does exists, because the browser doesn't allow XMLHttpRequest from a different domain to try and prevent cross-site-scripting. The solution? Using the JSONP datatype, a sort of consensual cross-site scripting hack!

CSS Monitor Screen Slideshow

Giving this one away for free. Javascript slideshow with a computer monitor created with pure CSS, with zoom to enlarge. Pretty cool!

css monitor slide jquery css3 javascript slideshow

Vintage Scrambler Build, Part 2

After rebuilding the engine and finishing up some of the customizations, my custom cafe-racer/scrambler/tracker/bratstyle motorcycle is complete! 

Honda CL200 custom cafe racer scrambler bratstyle tracker motorcycle 1974

How to add Google Web Fonts directly to your stylesheet

If you're using a CMS such as Drupal or Wordpress, it's not possible to add the link tag for the css file that google provides you&ndash; i.e. <link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300' rel='stylesheet' type='text/css'>&ndash;without installing a module that would allow it (and who wants another module to maintain?). Here's a quick workaround I discovered that makes it really easy to simply add the css code you need directly to your stylesheet.

Pages