Category Archives: How-to

How To Install A Car Battery Disconnect Switch

Got a vehicle that only gets used intermittently? Save the battery and prevent theft with this handy device! (Also great if you have a voltage drain in your daily driver that you haven’t had time to diagnose yet!)

AFFILIATE LINKS:
Battery disconnect switch: http://amzn.to/2punhOU
Disposable nitrile gloves: http://amzn.to/2pdINam
Shop towels: http://amzn.to/2pdTB8a
Wrenches/Spanners: http://amzn.to/2oR8J87

–Follow on Twitter http://twitter.com/airbornesurfer
–LIVE on Periscope every Wed @ 5pm Pacific http://www.periscope.tv/airbornesurfer
–Be sure to subscribe! http://www.youtube.com/subscription_center?add_user=theairbornesurfer

Tech teardowns, repairs, and reviews; sketches; how-to; games; and lots of other interesting geekery. At least one new video per month! Thanks for watching, and be sure to like, share, and subscribe!

TRANSCRIPT:

1
00:00:00,240 –> 00:00:01,829
so I’ve been having some electrical

2
00:00:01,829 –> 00:00:04,079
trouble with my car, and I haven’t been able

3
00:00:04,080 –> 00:00:07,350
to diagnose it or really work on it at

4
00:00:07,349 –> 00:00:11,069
all at. I haven’t had the time, so as a stopgap I

5
00:00:11,070 –> 00:00:14,460
decided I was going to install a battery

6
00:00:14,460 –> 00:00:16,289
disconnect switch and I would you know

7
00:00:16,289 –> 00:00:17,819
take care of the problem with voltage

8
00:00:17,820 –> 00:00:20,670
drain so I’m going to show you how to do that

9
00:00:20,670 –> 00:00:23,250
now and this is this is great if you

10
00:00:23,250 –> 00:00:25,230
have a vehicle that you drive on

11
00:00:25,230 –> 00:00:27,750
occasion this is a great way to save the

12
00:00:27,750 –> 00:00:29,730
batteries in an RV or something like that

13
00:00:29,730 –> 00:00:32,1000
just a very quick easy way to take the

14
00:00:33,000 –> 00:00:35,129
voltage load off so the battery doesn’t drain

15
00:00:35,130 –> 00:00:37,529
so quickly I picked up this battery

16
00:00:37,530 –> 00:00:39,300
disconnect switch from Harbor Freight

17
00:00:39,299 –> 00:00:41,819
for about five dollars you don’t have to

18
00:00:41,820 –> 00:00:43,828
get it from Harbor Freight of course I’ll

19
00:00:43,829 –> 00:00:45,420
drop a link to something similar in the

20
00:00:45,420 –> 00:00:48,558
doobly-doo for your reference

21
00:00:48,558 –> 00:00:51,718
Jesus that’s a mess this is what living

22
00:00:51,719 –> 00:00:53,460
in South Georgia for a few years can do

23
00:00:53,460 –> 00:00:56,190
to a car I don’t recommend it also

24
00:00:56,189 –> 00:00:58,378
you’ve probably noticed that I’m doing

25
00:00:58,378 –> 00:01:00,987
this is a series of stills that’s because

26
00:01:00,988 –> 00:01:03,388
there was no way that I was going to be

27
00:01:03,390 –> 00:01:06,390
able to fit a camera on a tripod much

28
00:01:06,390 –> 00:01:09,360
less enough light in the boot of my tiny

29
00:01:09,359 –> 00:01:12,688
car to get video so I just shot stills at

30
00:01:12,688 –> 00:01:16,438
least you can see what’s going on two by

31
00:01:16,438 –> 00:01:20,609
two hands of blue actually sulfuric acid

32
00:01:20,609 –> 00:01:22,859
is no joke and neither is lead exposure

33
00:01:22,859 –> 00:01:25,019
you don’t really want to touch that

34
00:01:25,019 –> 00:01:27,868
stuff if you can help it show some love

35
00:01:27,868 –> 00:01:31,649
put on a glove so you’ll want to reach

36
00:01:31,650 –> 00:01:33,450
in and disconnect the negative lead from

37
00:01:33,450 –> 00:01:35,610
the battery that’s the black one do

38
00:01:35,609 –> 00:01:37,407
this by loosening the bolt that holds

39
00:01:37,409 –> 00:01:39,449
the lead clamp down on the terminal

40
00:01:39,450 –> 00:01:41,759
don’t ask me what size wrench to use

41
00:01:41,759 –> 00:01:43,019
because they’re all different

42
00:01:43,019 –> 00:01:45,358
I used a 12 millimeter end wrench on my

43
00:01:45,359 –> 00:01:49,109
car but yours may vary

44
00:01:49,109 –> 00:01:51,849
all that dielectric grease makes it look

45
00:01:51,849 –> 00:01:53,918
like Dexter Morgan was here but at least

46
00:01:53,920 –> 00:01:58,150
there’s no corrosion now

47
00:01:58,150 –> 00:02:00,489
just clamp the lead onto the shank end

48
00:02:00,489 –> 00:02:04,719
of the disconnect switch the switch has

49
00:02:04,719 –> 00:02:06,069
its own terminal clamp that you’ll need

50
00:02:06,069 –> 00:02:07,629
to loosen a bit in order to fit you on

51
00:02:07,629 –> 00:02:09,789
the battery terminal but a little finesse

52
00:02:09,789 –> 00:02:12,699
will get it snug there then you just

53
00:02:12,699 –> 00:02:18,399
focus you f**k that’s better then you just

54
00:02:18,400 –> 00:02:19,629
take your end wrench and tighten the

55
00:02:19,629 –> 00:02:22,539
clamp down that’s it

56
00:02:22,539 –> 00:02:25,119
all finished righty-tighty engages the

57
00:02:25,120 –> 00:02:27,249
electrical system lefty-loosey disengages

58
00:02:27,250 –> 00:02:30,490
it that’s really all there is to it it’s

59
00:02:30,490 –> 00:02:32,619
a very simple installation you follow

60
00:02:32,620 –> 00:02:35,129
the directions all photos here in this

61
00:02:35,129 –> 00:02:38,048
video so you know if you like this video

62
00:02:38,050 –> 00:02:39,850
absolutely give it a like and a thumbs

63
00:02:39,849 –> 00:02:41,858
up share it with your friends even for

64
00:02:41,860 –> 00:02:43,269
more stuff you can subscribe I

65
00:02:43,270 –> 00:02:45,430
appreciate that and thank you for

66
00:02:45,430 –> 00:02:48,458
watching and until next time Tallyho

67
00:02:48,459 –> 00:02:50,700
y’all

How To Install Advanced Launcher Add-On For Kodi (XBMC)

UPDATE: 2016-01-05 Advanced Launcher has been discontinued by its author and all links to its repository have been deleted. I am investigating alternatives and will post again once I have an answer. Until then, please check the comments section for further information.

Advanced Launcher is an add-on for Kodi that is used to launch external applications such as Firefox or Steam in any operating system. Launcher parameters are customisable so a particular instance can launch a specific website, game, or media file. In short, if it can be defined in a command-line interface, it can be done through Advanced Launcher.

Unfortunately, such awesome power is not available to Kodi users by default. To install Advanced Launcher, you will have to add the Angelscry repository to Kodi’s source list. To access the source list, navigate to the “Files Manager” under the “System” menu.

Screen Shot 2015-04-26 at 10.07.37 PM

Choose “Add Source” and type http://www.gwenael.org/Repository as the path. Name the source “Angelscry Repository” and click “OK”.

Screen Shot 2015-04-26 at 10.12.38 PM

From the Settings>Add-ons Menu, choose “Install from zip file”. When the browser appears, select “Angelscry Repository” from the list and wait for it to connect to the server.

Select “repository.angelscry.xbmc-plugins” from the list and choose the latest version of the repository to install. Back out to the Add-ons menu and now choose “Get Add-ons”. Select the newly-available Angelscry Repository, then “Program Add-ons”, and finally “Advanced Launcher”. The add-on will now be available from the “Programs” menu on the home screen.

Creating a standalone launcher (for a single executable like Firefox) is a simple process of browsing to the executable for the application (or just entering the command in Linux), defining the command-line parameters, and providing a (optional) thumbnail. The add-on walks you through the process and you will be able to set these launchers as favourites or (in the case of the Aeon MQ5 skin) home menu items.

How To Verify HDMI Audio Out In Ubuntu Linux (And Its Derivatives)

Assuming you have installed your graphics card drivers correctly, you will still want to quickly verify your HDMI audio out is working before any further mucking about in the operating system environment. In Ubuntu 14.04, this is done quite simply from the menu bar.

Click the sound icon in the upper-right corner, then in the context menu that appears, click on “Sound Settings”

Screen Shot 2015-04-03 at 11.02.11 PM

In the Sound Settings dialog box, verify that your sound card is activated and click the “Test Sound” button.

Screen Shot 2015-04-03 at 11.02.32 PM

Click the test button for each channel and verify the output.

Screen Shot 2015-04-03 at 11.02.38 PM

Other derivatives of Ubuntu (particularly the lightweight Lubuntu) do not have the robust GUI that Ubuntu features. In these cases, a little terminal jiggery-pokery will be necessary.

Verify the HDMI audio output with this terminal command:

aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav

Use Nano (or another inline text editor) to add the following line to /etc/asound.conf AND/OR ~/.asoundrc (depending on what your distro uses)

pcm.!default = pcm.hdmi

Reboot, and you should be up and running with full HDMI stereo sound!

Cross-cut Paper Shredder Teardown and Repair

I managed to completely jam my paper shredder during a bout of document disposal last summer. An old credit report managed to wrap itself around the blade drum and would not back out, so I had to either buy a new shredder or tear this one apart and fix it!

Be sure to like, share, comment, and subscribe! Tally-ho, y’all!

TRANSCRIPT:

1
00:00:00,000 –> 00:00:01,740
gentlemen welcome back to the kitchen table

2
00:00:01,740 –> 00:00:05,220
today we have got this skookum mcchoocher

3
00:00:05,220 –> 00:00:10,500
i can’t! with apologies to

4
00:00:10,500 –> 00:00:13,769
ave that was my my impersonation

5
00:00:13,769 –> 00:00:15,420
there anyway

6
00:00:15,420 –> 00:00:19,439
no i done fuckered up my shredder

7
00:00:19,439 –> 00:00:24,359
here so I yes it’s stuck there’s a

8
00:00:24,359 –> 00:00:28,109
jamalamma paper in there and I can’t

9
00:00:28,109 –> 00:00:33,210
get it to start functioning so our need to take her

10
00:00:33,210 –> 00:00:37,530
apart and yank that paper out and hopefully get it

11
00:00:37,530 –> 00:00:41,370
working again now go here is obviously

12
00:00:41,370 –> 00:00:44,129
the head of the shredder the works really

13
00:00:44,129 –> 00:00:47,850
and hopefully all i’m going to need is a screwdriver

14
00:00:47,850 –> 00:00:52,050
a simple cross-head screwdriver–philips head

15
00:00:52,050 –> 00:00:57,210
and it is hot as balls outside so my frosty

16
00:00:57,210 –> 00:00:58,410
beverage today

17
00:00:58,410 –> 00:01:05,420
courtesy of san diego brewing mission brewing down in san deigo

18
00:01:05,420 –> 00:01:09,500
pacific drift very good new guys on the

19
00:01:09,500 –> 00:01:14,330
block good stuff anyway so we’ll dig in here

20
00:01:14,330 –> 00:01:24,260
we really have to is take these screws out one at a time

21
00:01:24,260 –> 00:01:28,070
by the way, if you don’t know who ave is, he is a

22
00:01:28,070 –> 00:01:30,740
rather skookum

23
00:01:30,740 –> 00:01:33,079
canadian fellow who does a lot of this kind of stuff

24
00:01:33,079 –> 00:01:35,540
stuff for heavy industry kind of stuff

25
00:01:35,540 –> 00:01:39,799
always entertaining to watch or

26
00:01:39,799 –> 00:01:43,130
listen to do anyway check out his

27
00:01:43,130 –> 00:01:45,439
channel and comment on his videos

28
00:01:45,439 –> 00:01:48,110
tell him that the airbornesurfer sent you and

29
00:01:48,110 –> 00:01:54,229
we’ll see what happens i’ve had this shredder for some 20 years

30
00:01:54,229 –> 00:01:56,840
I could go buy another one at Walmart

31
00:01:56,840 –> 00:01:58,520
but where’s the fun in that

32
00:01:58,520 –> 00:02:01,670
besides I don’t want to go to walmart if i don’t

33
00:02:01,670 –> 00:02:11,120
have to seriously that place is like the seventh circle of hell on the

34
00:02:11,120 –> 00:02:12,569
weekend

35
00:02:12,569 –> 00:02:15,420
and and I’ve been walmart in

36
00:02:15,420 –> 00:02:19,230
the south and walmart in midwest I’ve been

37
00:02:19,230 –> 00:02:21,090
walmart here in Southern California I’ve

38
00:02:21,090 –> 00:02:25,019
been to walmart in canada and you know

39
00:02:25,019 –> 00:02:28,319
actually I’ve gotta say my best experience with

40
00:02:28,319 –> 00:02:30,689
walmart has been in Canada actually

41
00:02:30,689 –> 00:02:35,730
Bradford Ontario which is actually

42
00:02:35,730 –> 00:02:38,010
where I got the shirt interestingly enough

43
00:02:38,010 –> 00:02:42,510
Bradford Ontario by far had

44
00:02:42,510 –> 00:02:44,909
the best walmart experience i’ve ever had so

45
00:02:44,909 –> 00:02:45,930
shoutout to

46
00:02:45,930 –> 00:02:49,379
bradford that now again it was like in

47
00:02:49,379 –> 00:02:52,199
the middle of the morning that i was

48
00:02:52,199 –> 00:03:00,480
there so yeah I guess that might’ve had something

49
00:03:00,480 –> 00:03:09,160
to do with it. there was nobody in the store

50
00:03:09,160 –> 00:03:16,390
but nevertheless i

51
00:03:16,390 –> 00:03:19,510
walked about the store, i was there on business

52
00:03:19,510 –> 00:03:22,510
and saw what they had to offer and noticed it was

53
00:03:22,510 –> 00:03:25,510
nearly canada day and they had all their

54
00:03:25,510 –> 00:03:28,630
patriotic stuff out so i got myself a little t

55
00:03:28,630 –> 00:03:39,180
shirt i think i’ve got all the screws out now so two screws came out

56
00:03:39,180 –> 00:03:43,379
the problem with wearing the maple leaf in

57
00:03:43,379 –> 00:03:45,090
southern California is that they think it’s a

58
00:03:45,090 –> 00:03:53,450
different kind of leaf let’s try this again

59
00:03:53,450 –> 00:04:05,200
well, it’s coming apart anyway there it goes!

60
00:04:05,200 –> 00:04:18,910
all right, so we’ve got her opened up here there’s some wiring guts

61
00:04:18,910 –> 00:04:29,630
got some shmoo there–shmoo, that’s a technical term i picked up in canada

62
00:04:33,360 –> 00:04:35,440
ok

63
00:04:35,440 –> 00:04:39,340
see here where the paper jam is apparently i

64
00:04:39,340 –> 00:04:50,740
busted the works

65
00:04:50,740 –> 00:04:54,790
let’s see what we’ve got

66
00:04:54,790 –> 00:04:59,620
obviously our switch

67
00:04:59,620 –> 00:05:07,630
that tells the machine to turn on when the paper is inserted

68
00:05:07,630 –> 00:05:13,090
big ol’ 115 volt motor here

69
00:05:13,090 –> 00:05:18,180
provides all your traction

70
00:05:35,129 –> 00:05:40,190
that pops out there, just leave it over there

71
00:05:40,190 –> 00:05:46,820
okay we got our shredder guts

72
00:05:46,820 –> 00:05:57,340
definitely need some tweezers

73
00:05:57,340 –> 00:06:07,020
aha! i’ve got some needle nose pliers

74
00:06:07,020 –> 00:06:09,040

75
00:06:09,040 –> 00:06:10,529
don’t put your finger in the pinchy part

76
00:06:10,529 –> 00:06:12,779
so what happened here was you know i

77
00:06:12,779 –> 00:06:17,099
had a handful papers that i was shredding and

78
00:06:17,099 –> 00:06:19,439
i happened to stick them in their kind

79
00:06:19,439 –> 00:06:21,139
of kind of

80
00:06:21,139 –> 00:06:34,480
sideways i gotta get around this blade here that’s the problem they kinda rolled up over this blade

81
00:06:34,480 –> 00:06:43,409
kids don’t try this at home

82
00:06:43,409 –> 00:07:01,139
contact

83
00:07:01,139 –> 00:07:27,550
there is a shutoff in here somewhere

84
00:07:27,550 –> 00:07:47,129
so you have to raise that up

85
00:07:47,129 –> 00:07:59,520
there it goes! that took it right out!

86
00:07:59,520 –> 00:08:03,249
there’s the culprit right there

87
00:08:03,249 –> 00:08:11,569
a little hunk of paper jamalamma in there

88
00:08:11,569 –> 00:08:21,740
the rest looks like it is okay

89
00:08:21,740 –> 00:08:46,279
just do a test fit right quick

90
00:08:46,279 –> 00:08:50,750
looks like everything’s working now

91
00:08:50,750 –> 00:09:02,680
and it looks like we are all set here now we just gotta get this all back in there

92
00:09:02,680 –> 00:09:15,160
power off

93
00:09:15,160 –> 00:09:39,769
now we just put our screws back in place we’re all set [whistling o canada]

94
00:09:39,769 –> 00:09:42,319
you watch enough hockey games you learn

95
00:09:42,319 –> 00:09:54,540
the tune to o canada and eventually you learn the lyrics

96
00:09:54,540 –> 00:10:08,819
she’s all done

97
00:10:08,819 –> 00:10:17,600
that’s it i’m going to drink my beer and i’m going to shred some papers

How To Install Intel Graphics Drivers in Ubuntu Linux

The motherboard that I picked up for the VCR project provides out-of-the-box full-resolution HDMI video under Linux, but requires an additional proprietary Intel graphics driver to process audio through the HDMI port. Thankfully, this is not a terribly difficult process thanks to the fine folks at Intel providing an easy graphical installer package.

Head over to https://01.org/linuxgraphics/ and download the .deb package for Ubuntu.

Use your preferred package manager to install the .deb package, then run the installed package.

Follow the on-screen instructions to install the drivers.

How To Optimize Your WordPress Website

I’ve been on a bit of a cleaning kick the past few days–probably because the new year is always a good excuse to declutter as much as possible. As such, I have taken to cleaning up and optimizing my website here. I’ll be fixing a few things as the year progresses, piecemeal as always. I’ll be cleaning up broken links as much as possible, removing posts that aren’t relevant anymore, and generally working to optimize WordPress as much as I can.

To start to optimize WordPress, I would start with deleting any database tables left behind from plugins that you have since uninstalled. There is a great plugin that will take care of most of the heavy lifting for you in this regard: Plugins Garbage Collector.

Once installed and activated, you’ll find the plugin under the “Tools” menu on the WordPress admin panel. Make sure the “Search none-WP tables” radio button is selected, then click “Scan Database”.

optimize wordpress with plugins garbage collector

The plugin will present a list of all the non-Wordpress database tables, but do exercise caution here. You absolutely should back up your database before proceeding. Check the box by each of the tables you don’t need and click the delete button.

Now that all the unnecessary database tables are cleared up, the next step to optimize WordPress is cleaning up all the ancillary junk that gets bogged down in your website–orphaned metadata, automatic drafts of posts, etc. The WP-Optimize plugin scans the most common sources of junk files in your website and deletes them, speeding up caching, prefetching, and other behind-the-scenes functions that make a WordPress site run smoothly.

Lastly, I need to clean up the unused images that I’ve uploaded. Not only do I have images scattered about that I have not used for any articles, but WordPress make four copies of each image for use in various areas! For this, I’m going to use DNUI (Delete Not Used Images) to scan my site and remove all the unused files. This isn’t so much an optimization, but a way to recover a significant amount of space on my server.

DNUI also lives in the Tools menu on the WordPress admin panel, so you should see it conveniently located next to the Garbage Collector. The first thing to do is click the “Options” tab, then click to create a backup folder and enable backups–just in case. (Un)Check any other options you wish, and click the “Images” tab to run the scan. The plugin will list any unused image files it finds in your library. All you have to do is click to delete them. A word of caution here: DNUI will list images from draft posts as “not used”, so please verify the images before deleting them.

For the interim, until I get all my drafts fleshed-out and posted, I’ll stick to manually deleting unused images. To do this, click the “Library” link under the “Media” menu on the WordPress admin panel. In the drop-down menu where it says “All media items”, click “Unattached” to show all the images that aren’t attached to a post. This is also not foolproof as it will list featured images and header images that are not already attached to a post, so err on the side of caution here. My suggestion would be to make a post with all your featured and header images, then set it to private.

That’s really all there is to easily optimize WordPress! Run these steps every few months and you’ll have a faster, more efficient website!

How To Automatically Add YouTube Subscriptions To A Playlist

Remember when YouTube used to have a built-in playlist that automatically grouped all your subscriptions’ new videos in one convenient place, allowing you to hit play once and watch all the new content as it was published? Yeah, those were the days…. Now we have a company that seems to be in an adversarial relationship with not only its casual users, but also some of its biggest content creators–a company that seems to want to remove useful options in the name of “progress” (as seems to be a consistent refrain from Menlo Park to Cupertino). Apparently, though, I am not alone for there is a lot of chatter about how to automatically add YouTube subscriptions to a playlist. It seems to be a feature that the users miss, but–thankfully–there are a few civic-minded hackers out there that put a little Google Fu to good use.

Benjamin Worrel found the beginnings of an answer while trawling Reddit for any insights on the problem (I originally found the same post he references in his write-up) in the form of a rudimentary Google Apps script that he then took and improved upon. The idea is that the script scrapes your Gmail inbox for notifications of new videos from your subscriptions, then adds the video to a specific playlist on YouTube (but not the sacred “Watch Later” list, YouTube doesn’t allow you to play with that one!).

To use the script, download a copy (link on this page) to your Google Drive, then follow the instructions in the commented lines of your copy of the script. Start by ensuring that Google Advanced Services is enabled for your account by clicking on the “Resources” menu and selecting “Google Advanced Services”. In the window that pops up, click the toggle next to “YouTube Data API” and make sure it’s on. Then click the “Google Developer’s Console” link to open the API manager and enable the YouTube Data API as there as well. You may now close the Developer’s Console tab as well as the Advanced Services window.automatically add youtube subscriptions to a playlist

In a separate tab, create a new YouTube playlist, copy the ID from the URL (That’s the long string of characters at the end. You’ll see an example in the script’s comments), and paste it inside the pair of single quotes next to var targetPlaylistId.

Personally, I don’t use the “clear old videos” option, so I commented it out with a pair of forward slashes (//). I also don’t want live stream announcements (because I’m usually not around to watch them anyway), so I leave that as true. My subscriptions run the gamut of short to long, so I just comment out the time restrictions as well.

After playing around with the settings and results, I noticed that I was getting a lot of duplicates showing up in my playlist, so I tracked it down to the search query. Leave the line that reads emailQueries.push('from:"noreply@youtube.com" subject:"uploaded a video"');

while commenting out the one that reads

emailQueries.push('from:"noreply@youtube.com" subject:"new videos from"');.

This will help cut down on the duplicates. I also made filters that automatically deleted any emails that weren’t specifically notifying me of a uploaded video (such as live streams and “reminders to watch”) which has also drastically reduced the duplicates I get as well.

You’ll also likely want to keep a log just in case something breaks. In a new tab, open Google Drive and create a new spreadsheet. Copy the document ID from the URL (just like your playlist) and paste it between the single quotes next to var logsheetId.

One last bit of code to change: search for the commented line that reads “// mark the email read and archive it” and below that, change the command

threads[i].moveToArchive();

to

threads[i].moveToTrash();.

Finally, we’re ready to run the script. Click the “Run” menu, then select each of the items to run them once. You will need to grant the appropriate permissions as requested for the script to function correctly.  By default, the script will run, server-side, every hour, but that can be changed by adjusting the .everyhours() value inside the AddTrigger function. Of course, you also need to turn on notifications for all your subscriptions and make sure that you are emailed when new videos upload.

The script still has a few flaws in it, like not automatically removing watched videos and occasionally adding duplicate videos to the list, but it is so much easier to click an X to remove a few errant videos than it is to go through and click “Watch Later” on piles of backlogged Game Grumps and Channel Awesome videos!

For more information on this script and to get started by copying it to your Google Drive, please visit Benjamin Worrel’s website.