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!)

Battery disconnect switch:
Disposable nitrile gloves:
Shop towels:

–Follow on Twitter
–LIVE on Periscope every Wed @ 5pm Pacific
–Be sure to subscribe!

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!


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

00:02:48,459 –> 00:02:50,700

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 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!


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 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:"" subject:"uploaded a video"');

while commenting out the one that reads

emailQueries.push('from:"" 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




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.

How To Customize Your Terminal Prompt

This is a bit of a goofy hack, but some of the options can be useful if you need a little more information on your terminal prompt. Basically, I’m using it to put a Space Invader as my command prompt.screen-shot-2016-11-07-at-10-02-38-pmThis technique is for OSX/MacOS, but it will likely work on various Linux distros as they share a common terminal shell implementation.

In Terminal, open the .bash_profile file using the nano text editor
sudo nano .bash_profile

Add a new line containing the following code:
PS1=" "

Inside the quotes, you could add nearly anything you want. There are a handful of official switches that generate specific outputs:

  • \d Current Date
  • \t Current Time
  • \h Host Name
  • # Command Number
  • \u User Name
  • \W Current Working Directory (/Folder)
  • \w Current Working Directory, Full Path (~/Desktop/Folder)

Now, if you want to drop a Space Invader inside the quotes, just add it (or any other emoji) from the Edit>Emoji & Symbols menu.

How To Increase WordPress Max Upload Size

I’ve got a major organizational project underway, going through my archives and building new websites for old projects to migrate everything under the domain. As such, I started to build a new website for the old Afterburn podcast, but I couldn’t upload the 15MB MP3 files because of the silly 2MB WordPress max upload size.

Increase WordPress Max Upload Size
“No one will ever upload a file over 2MB! That’s absurd!”

I started by digging through the plugin “store”, trying  a few “upload enhancer” plugins that only gave lip service to the larger upload size. To actually increase WordPress max upload size, you’ll need to do a little editing on the back end. Open a text editor and create a file named php.ini, then add the following lines of code:

memory_limit = 100M
upload_max_filesize = xxM
post_max_size = xxM
file_uploads = On

Where xx denotes your desired file size in MB. 100 is a safe number in most cases, but note that your max_post_size value must be larger than your upload_max_filesize value otherwise you’ll have some heartache when you try to publish a post with one of those large files embedded in it! Save the file and upload it to your the wp-admin folder in your WordPress directory. It couldn’t be much simpler.

How to schedule a task in Linux

Sometimes, you need a task to run at a particular time on a particular schedule. For Project Spoofy, I need the Raspberry Pi to reboot periodically so that any new photos added to ownCloud will be subsequently added to the fbi slideshow. For simplicity, I’m going to schedule a task in Linux to reboot the Pi each night at about 2:30AM, so no one should be affected by the short break in the slideshow.

Schedule a task in Linux

To schedule a task in Linux, use the cron utility to define the schedule as well as the command to be executed. Cron has to be edited by the root account, so a standard user (pi) would need to execute the following command:

cron -e -u root

If logged in as root already, simply execute cron -e

Debian will ask which utility to use to edit the crontab file; I prefer using nano as with everything else. Once the crontab file is open in nano, you will see some information as well as some example formatting. Basically, every task should exist on a separate line starting with the scheduling:
┌───────────── min (0 – 59)
│ ┌────────────── hour (0 – 23)
│ │ ┌─────────────── day of month (1 – 31)
│ │ │ ┌──────────────── month (1 – 12)
│ │ │ │ ┌───────────────── day of week (0 – 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
│ │ │ │ │
│ │ │ │ │
* * * * * command to execute
To reboot at 2:30AM every day, the following line must be appended to the end of the file:

30 2 * * * /sbin/shutdown -r now

The biggest thing to remember is ensuring that the time and time zone are correct. As a pilot, I understand the importance of UTC (or Zulu) time for coordinating across time zones, so I prefer to keep my remote machines set to UTC and do the math accordingly!