Email addresses for spammers to pick up

August 12th, 2018 by EvilT

I’m testing to see if adding a number of email addresses to this post will be sufficient to seed the spam mailing lists so these addresses will accumulate unsolicited spam. Everyone who can actually read should ignore this post. If you are a real human, I apologize for this interruption in your EvilTyrant experience, but I have some scraper-bot theories I want to test… 🙂

I wouldn’t reply to this unless you want to check to see if replies with attached email addresses seed spam too.

For information jobs available at a fictitious company send email to:

To get in touch with our imaginary accounting department send email to:

For more info please sent an email that will never be replied to at:

To buy ethereal spherical widgets created in a vacuum please contact:

If you find all this confusing and wish to send an email that will never be read please send email to:




Time Machine – Complete Restore of Mac High Sierra.

July 4th, 2018 by EvilT

So I had a SSD fail in one of the Mac’s here at the house (first failure so far. 5 years and 2 months old – older SSDs are still running fine). Trying to reinstall from a Time Machine backup was proving to be a bit of a pain. Since there was no boot partition, and there are no OS boot disks anymore, I did the network install of a boot partition. I guess for my machine the default install partition is an older version, because it installed an older version of the OS on the emergency boot partition.

Not sure if it was related to the older version not being able to figure out how to restore, but the install would always hang looking “searching for an install disk” (which it would never find). So I had to go to another mac, pull my archived version of the High Sierra install esd file and create a bootable USB. After booting from the USB, using disk utility to reformat the disk, I started a time machine recovery. Right off the bat the machine finds the new disk and installed right away.

There are many other possibilities as to why this happened, but I thought I would post my steps in the case they help someone out. Of course this all requires you to archive a copy of your ESD file prior to each software upgrade. Instructions on how to archive this are all over the web (MacWorld link) however the jist is always to download the update, then prior to the install process starting, copy the “High Sierra” (or whatever version you have) from the applications folder where the installer downloaded it, to drive space somewhere. Then you can either use the terminal or InstallDiskCreator to build the USB. I’ve used DiskmakerX in the past, but it has become so buggy, I don’t bother anymore… Both utilities are free, so no worries there. I think the MacWorld link above has a link on it to download the file directly without going through the app store.


Just as a side note the drive that failed was a Samsung 840 Pro 256gig. Warranty was 5 years, drive failed at 5 years and 2 months. The machine it failed in was a low use machine that always had trim enabled…

I have many more cheaper/older crucial drives that are still working perfectly. I even have a couple of 60gb SSD drives that are super old that are running a couple of automation systems that have no issues. I’d bet they are nearly 8 years old now…



Harley Davidson TwinCam 88 1999-2006 Oil Filter Cross Reference

May 31st, 2018 by EvilT

Replacement oil filters for HARLEY-DAVIDSON 63731-99A:

Brand Model
AC-Delco PF1787
Fram Chrome (I use these) PH6065A
Fram PH6022
HARLEY-DAVIDSON Chrome 63798-99A
K & N KN-171B
NAPA 1215
Purolator ML16822
STP S3614
Wix 51215


My notes below are for a 2003 FXDWG, but should be the same for the rest of the twin cam 88s…

Oh and both primary and engine take 20W50 synthetic oil per the shop manual, however it is very expensive (from what I see about $11 a quart at the major auto parts stores). However, I have been using Mobile one synthetic 15W50 in both for years with no problems at all. And last I checked it was $22 a gallon at WalMart. 🙂

3 quarts in Engine

1 quart in Primary – 26oz goes in… 🙂


I also use Mobil One 75W90 gear oil in the transmission…

The transmission takes 20-24 oz according to the shop manual.

Quoted Joe Minton tuning for the Stock Harley Keihin CV carb

May 6th, 2018 by EvilT

Carb Jetting Simplified
Joe Minton
Rider Report
Tuesday July 22, 2003
From the August 2003 issue of American Rider

I get a steady flow of questions regarding carb jetting and the Dynojet kits, and I’d like to answer them once and for all. Before addressing this, I need to set the stage about fuel mileage. The mileage one records is dependent upon a number of factors. The speed at which you travel is one. Mileage plunges dramatically above 60 mph or so-a bike that gets, say, 45 mpg at 60 might only record 30 at 80 mph.

Another important influence is the size of the hole you and your bike poke in the air. An FLHT touring rig needs about 12.8 horsepower to go 60 mph, while a Sportster gets along at 60 with about 10. Headwinds, climbing and elevation all affect fuel mileage. Total gross weight has little influence at steady speeds; however, carburetor jetting has dramatic effects on fuel mileage.

When I talk with someone about fuel mileage, I find it useful to set a test standard. Here is my standard: a steady 65 mph on a flat, windless road. These are conditions most of us can find and safely use. Using this standard, stock Harleys typically deliver 45 to 55 mpg-the lower for the big touring rigs and the higher for the Sportsters. I have found that properly jetted Evo, Sportster and Twin Cam Harleys deliver mileage between 42 and 51 mpg, using the test standard defined above.

Keep in mind that stock engines are tuned very much on the lean side of correct jetting. When we modify carburetors to get rid of the “lean staggers” during warm-up and to smooth out throttle response during acceleration within the lower throttle settings, we can expect somewhat lower fuel mileage at cruising speeds. However, that loss need only be a couple of mpg, not 10.

I have talked with many (easily more than a hundred) owners who have installed the Dynojet kit and who have been disappointed with the results. From your bike’s mileage I would guess that you have either a Dyna or Softail series motorcycle; 36 mpg is about right for a Dynojet-kitted FX Harley. The big touring machines usually get closer to 32 with the Dynojet kit.

An FXD or FLST that delivers 36 mpg at 65 mph is running too rich. That too-rich condition has consequences. Range is an obvious possible problem, although some riders aren’t too concerned about range as they like to stop more often than the bike needs a fill-up anyway. Climbing ability is a more important concern for those of us who need to go up or over mountains. A 36-mpg bike will probably start misfiring due to its over-rich condition by 4,000 feet, maybe even 3,000. By contrast a stock or correctly jetted engine should get to at least 6,000 feet before getting grossly rich, 7,000 feet is better and achievable.

Stock Harley jetting is very lean from just off idle to about ¼-throttle. This is also true of all road-going bikes sold in America for the last quarter century. However-and this is important-at idle and above ¼-throttle the jetting is pretty good.

Harley’s Keihin CV (constant velocity) carburetor is based on the basic Amal slide carb design from the early post-World War I era. And therefore, it shares similar parts which perform similar functions. Idle and just off-idle air/fuel mixtures are controlled by the idle jet which is fine-tuned with a screw. Both the jet size and screw setting are important.

Off-idle to approximately ¼-throttle mixtures are controlled by the straight-diameter part of the needle together with the inside diameter of the needle jet, in which the needle rides. This is the range that is too lean for best engine performance on stock motorcycles. Either the diameter of the straight part of the needle, or the inside diameter of the needle jet, must be changed to affect mixtures in this most used throttle range. Nearly all riding is done within this off-idle to ¼-throttle range.

From about ¼- to ¾-throttle, the taper of the needle controls the main mixture. One normally raises or lowers the needle to fine-tune mixtures within this range.

The main jet takes over at about ¾ throttle and is virtually unimportant below that opening.

If you would like to learn more about how to diagnose and tune these carb sub-systems, I invite you to download the Mikuni HSR Tuning Manual (; click on the picture of the carb and click on the hot link “Manuals”). I wrote this manual for Mikuni, and although it directly addresses the Mikuni carb, the diagnostic principles apply to the Keihin CV and many other carburetors as well.

To get your Harley’s stock carb right, follow these instructions:
l. Buy and install a stock jet needle for a 1988 or ’89 1200 Sportster (H-D Part No. 27094-88). This needle was developed for the early Sportster Keihin CV carb that was not equipped with an accelerator pump. As such, it is richer in the off-idle to ¼-throttle range and works just right.

2. Remove the soft aluminum plug covering the idle mixture screw. Back the screw out to slightly richen the idle mixture (½ to 1-½ turns will do it).

DO NOT do any of the following:
Do Not change the main jet; the stock one is just right with a free-flowing air cleaner and mufflers. Yep, the stock main jet is rich. If you find this hard to believe, use the main jet test in the Mikuni manual to see for yourself. You see, the main jet size is not controlled by emission testing and the government is not very interested in mixtures at full throttle. The factories are free to use any main jet they want and, for some reason, all the stock bikes I have tuned over the past 25-plus years have had somewhat rich main jets, including Evo and Twin Cam Harleys.

Do Not change the slow jet; the stock one is just right with an open air cleaner and free-flowing mufflers.

And Do Not install straight, open pipes, especially long ones. If you do, forget everything I’ve said. Straight open exhaust-equipped engines run poorly in the 2,000- to 3,500-rpm range and no amount of carb tuning can fix that.

— Joe Minton

Joe Minton Mikuni HSR42 setup/tuning recommendations

May 6th, 2018 by EvilT

Quoted from Joe Minton:


Carburetors work by creating a partial vacuum in the throat (venturi or choke) of the carb body. The difference in air pressure between the throat and the outside air causes fuel to flow into the carburetor through any orifice it can find. Tuning a carburetor consists of controlling the size of those orifices so that the resulting air/fuel mixtures are correct.
The Mikuni HSR is an Amal-pattern carburetor, as is the stock Keihin. Amal-pattern carburetors have three basic air/fuel control element
s: idle, main (mid-throttle) and the main jet. The HSR also has an adjustable accelerator pump, which I consider an important fourth tuning element. All tuning elements are supplied with fuel by the float bowl at the bottom of the carburetor.
The idle system is a separate carburetor built into the main body. There are appropriate connecting passages, a replaceable jet, and an adjustment screw. The screw controls the air/fuel mixture at dead idle. The jet controls mixture as the throttle begins to open. By about 10 percent throttle, the idle system is delivering all the fuel it can. It continues to provide this fuel all the way to full throttle.
The main system operates as the throttle slide is raised above about 5 percent, and it begins to deliver fuel and assumes control of the mixture. Yes, there is an overlap between the idle and main systems. However, it is not difficult to get this overlap area right if one follows the manual’s advice.
The main system consists of the throttle slide, a tapered needle (jet needle), and a needle jet. The needle is mounted in the center of the slide. The needle jet is mounted in the carb body. As the throttle slide rises and falls, the needle moves in the needle jet. The needle is tapered. The relative sizes of the needle and jet determine how much fuel is forced into the carburetor throat at any particular throttle setting. More fuel flows as the slide rises, due to the needle’s taper.
The main jet is mounted to the bottom of the needle jet and limits maximum fuel flow. It assumes control at about 75 percent of the throttle opening and has no effect until then.
The accelerator pump’s purpose is to supply a squirt of fuel when the throttle is suddenly opened and there is too little vacuum for the main system to work properly. It has a replaceable nozzle and can be adjusted for starting and ending points.
Advanced tuning is a bit involved as it is for any carburetor. The individual steps are simple and clear. The great advantage of Amal slide-type carburetors such as the Amals, Bings, Dell’Ortos, Mikunis, and others is that their entire operating range can be adjusted in the field. We have a four-step tuning procedure for these carburetors that has served well for more than 80 years.
First Step
Adjust the idle system. Set the adjustment screw for best idle. Fit the idle jet that gives the smoothest response as the throttle is slightly and slowly opened.
Second Step
Adjust the main system. Accelerate with the throttle between 10-to-25 percent open. If the engine responds cleanly and briskly, the needle diameter is correct or nearly so. If the engine seems lean, a smaller-diameter needle is needed. Too rich needs a larger needle. In practice, needle changes are seldom required.
Third Step
Accelerate in the 25-to-75-percent throttle range. The needle taper controls the mixture strength in this range. There are five needle-height adjustments. If the mixture seems rich, lower the needle; if lean, raise it.
Fourth Step
Accelerate at full throttle. The main jet that makes the most power is the one to use. A dynamometer is not needed for this test. Accelerate between two points on the roadway. The highest speed at the second point defines the correct main jet.
Accelerator Pump:
As I said, the accelerator pump adds fuel when the throttle is first opened. This is to both richen the mixture for maximum throttle response and to compensate for low vacuum over the needle jet. The HSR pump has three adjustments: starting point, end point, and nozzle size. Nozzle size determines the fuel delivery rate and how long the squirt lasts.
The stock settings start the pump at about 1/8th throttle and end its stroke at around 1/2 throttle. The jet is a number 80 (0.80mm in diameter). I use and recommend different settings, which I’ll detail later.
This simple set of procedures works well and can remove most of the mystery from carburetor tuning.
Does Size Matter?
Yes and no. Those people who have worked with true Amal-pattern carburetors, which have round slides, know that the larger carburetors help make more high-rpm power by flowing more air. However, that greater power potential is accompanied by a loss of low-rpm throttle response.
The more recent flat-slide variations, such as the Mikuni HSR, greatly reduce this power/response trade-off. It is now possible to fit a “top end” carburetor and still get good throttle response in the lower rpm and throttle range.
A 42mm HSR42 adds about 3 horsepower to the output of a stock Twin Cam or EVO engine. The 45 adds 7 horsepower with no loss of part-throttle response, fuel mileage or tuning sensitivity.
The performance advantage of the 45mm carb means very little to most of us. Its power advantage only begins to show at well above 5,000 rpm. The HSR42 is easier to mount as it uses the stock manifold while the HSR45 needs the larger Harley Screamin’ Eagle or Mikuni manifold. It’s your choice. If you are chasing maximum power with cams, porting, etc., then your choice is obvious. Otherwise it makes no difference which one you choose.
The HSR48? Don’t bother. Our testing shows that the HSR48 only adds 2 or 3 top-end horsepower to an already powerful (120-plus horsepower) engines.

Tuning Recommendations:

Mikuni’s default jetting and adjustments cover most engine setups, as they should. Tens of thousands have been sold with very few complaints about how well they work. However, the stock settings are fail-safes and are on the fuel rich side of ideal. I have no complaint about the stock tuning, except for the accelerator-pump settings, which I am convinced are just plain wrong.

I have developed a set of jets and adjustments for the HSR42 and 45 that work better on most properly tuned engines. By properly tuned I mean that the engine is sound, there are no long straight pipes, drag-race cams, or stylish air cleaners that don’t flow much air. Many hundreds of Harley owners have adopted my recommendations and have gotten excellent results. They report that throttle response is improved, fuel mileage is better, and their engines sound and seem “happier.” The changes I recommend include accelerator nozzle size and adjustments, idle jet size, and needle size.

Here is what I change and do:


•17.5 idle jet, leaner than the stock 25 or 20.

•98 needle, leaner than the stock 97.

•50 accelerator pump nozzle way down from the stock 80.

•The main jet is whatever it needs to be and the stock one is generally correct.

These parts are available individually or in kit form from Fox Distributing in St. Charles, Illinois, 630-513-9700.

The kit is called the Mikuni Mileage Kit and there are separate kits for the HSR42 and 45 carburetors because the needles are different. The kits come with simple installation and tuning instructions.

Adjustments (See The Manual For Details):

1. Adjust the accelerator starting point so that the pump starts working immediately. Adjust the end point for maximum travel.

2. Fit the smaller idle jet and adjust the mixture screw for best idle.

3. Fit the leaner needle with the clip in the middle notch.


1. Performance just off-idle is cleaner and more immediate. This is because the idle jet is more correct and the pump delivers fuel sooner but at a lower rate than stock.

2. The engine is more responsive, cleaner and “happier” sounding because of the leaner mixtures in the 10-to-25- percent throttle range, where we do most of our riding.

3. Fuel mileage increases, sometimes dramatically. Don’t be surprised if you record 48-to-49 mpg at 65 mph. Even baggers do better.

4. Midrange throttle response is greatly improved and the engine is much more pleasant to use. Expect bugs in your teeth.


1. Engines with high cranking pressures (high compression) may detonate at low rpm when accelerating. The original 97 needle should fix this.

2. Nothing, not this kit, not this carburetor, nor any carburetor, is going to make an engine suffering with open straight pipes run well.

3. Big cams, those with intake-closing angles of close to 50 degrees ATDC, aren’t going to run well below 4,000 rpm. No Mikuni or any other carburetor can fix this. Either race the thing or install a more appropriate cam for street use.

Harley Davidson Twin Cam 88/96 Spark Plug Cross Reference

May 6th, 2018 by EvilT

I have these for my 2003 FXDWG

ACCEL – Y2418P

Autolite – 4164

Autolite Iridium – XS4164

Autolite Platinum – AP4164DP2

Bosch Platinum – YR6DLE

Champion – RA8HC

Denso Iridium – IXU22

H-D Standard – 6R12

H-D Gold – 6R12G

H-D Platinum – 6R12PP


NGK Iridium – DCPR7EIX

Splitfire – SF416D

No known cross refs for AC Delco or NGK Platnium

Hayward Swimpure Plus is a shoddy POS…

April 15th, 2018 by EvilT


Ok, every year I have the same problem. The green lights on my Hayward salt generator go off. The display stays on telling me how much salt is in the pool, but the lights will not come on. Usually when I first notice this I can turn off the generator for a little while then the green power light will come back on for a while then when I turn the generator on, the relay will click, then all the led lights go dead again.

This is due to Goldline controls horrible design where a current inrush limiter goes bad and kills the power stage on the primary board.

Here are some links for this issue:



Another user’s site with pics and descr

I’ve stolen a few pics from the last user site (just in case he pulls it down)

ametherm-sl322r025 aquariteboardremoval aquaritevaristorcloseup










Here is my post from a popular pool forum:

First off I’m a little ticked at Hayward/GoldLine for continuing production of a faulty design. From the number of people complaining about this, it is not an isolated issue with my board. The only justification I can think of is that they love to sell those $400 boards as a result of the shoddy design. As a result, I have had to replace my inrush limiter once every year.

It may have something to do with my cell being the biggest the system can handle (T.15 for a 40k pool, I think). It always seems to happen after the first of the year when the pool has been too cold for the generator to run, then I run Super Chlorinate for a full day to catch up. I think this overheats the inrush limiter.

Last year I replaced the original AS32-2R025 (DigiKey 570-1105-ND) with a AS35-2R035 (Digikey 570-1112-ND). The resistance at full current was a little lower, but not far off and the part was built to run 35 amps as opposed to the OEM 25 amp… It seems that the AS35 upgrade did not fix the issue.

Update 2013:

Here we are at the beginning of another year and I’m replacing the inrush limiter again because of the same reasons…

This year I’m going with a MS series part MS32-2R035 (Digikey 570-1027-ND). Just replaced it this morning and everything is back up again.

Update 2014:

So far all is well the generator has been running fine since last year. I have not pulled the board off to see if I find any delamination on the inrush limiter part. But Everything appears normal so far. If I were giving advice I’d say to: Replace the AS32-2R025 (DigiKey 570-1105-ND) with a MS32-2R035 (Digikey 570-1027-ND). However, my decision to modify my unit was entirely my decision. If you choose to modify yours, it will be your decision. You should not take advice from me without performing your own assessment and reaching your own conclusion. Additionally, anyone who decides to do such a thing should have the work done by someone who, at least, knows how to solder…

Update 2017:

So I haven’t updated this for a while, sorry…  The system is still working fine. Where replacing the inrush limiter had become a yearly event, the beefier part has been operating without issue for 4 years now 🙂

Update 2018:

Still no issues. 5 years and counting.

OSX slow folder updates

May 28th, 2016 by EvilT

Has the process of populating your OSX El Capitan folders become very slow?

OSXDaily has a fix based on the original hashbang discovery.


The applications folder on my Mac recently (post 10.11.5 update) started taking 20 to 30 seconds to populate.

Deleting the files via:

rm ~/Library/Caches/CloudKit/CloudKitMetadata*

then force stopping cloudd in the Activity Monitor did the trick…

Harley 2003 FXDWG battery cross reference

March 12th, 2016 by EvilT

This is from a cross list from a cross battery so YMMV…

HD – OEM number per their website: Battery-65989-97C


Rice Cooker Gluten Free pancake and the Zojirushi 5.5 Cup Neuro Fuzzy

November 22nd, 2015 by EvilT

OK, I will keep updating this post as I am still experimenting.

I found numerous articles on the web showing ways to make a loaf of bread from pancake mix in a rice cooker (here is one). Some articles said that it was a piece of cake (pardon the pun), while others claimed that the product was unusable. None of the articles I found mentioned the type of rice cooker I had (Zojirushi Neuro Fuzzy) or had any advise on making the recipe gluten free. I can tell you now that I have had good success, and to help anyone else out there here is a running log of my observations.


  • So far I have used the porridge setting on everything I have tried. I have not tried other settings, but probably will later.
  • Only make a single batch. The cooker will not get the center done on a double batch
  • I let the rice cooker run to the end of the cycle and there has been no problem with having to restart or having the loaf burn.
  • For some unknown reason I always add the quantity of oil called for in the waffle recipe, but use the ingredients from the pancake recipe.
  • To extract the loaf I remove the rice cooker bowl from the machine and put a plate on top of the bowl. Then I invert the bowl and the loaf is unceremoniously dumped onto the plate. I’ve never had one crack or break as a result of this.
  • Bob’s Red Mill pancake mix makes a good dark loaf that seems to have a texture and color similar to Soda Bread. I think with a little tweaking there is a good opportunity to make a reasonable facsimile of Irish Soda Bread that is Gluten free
  • Gluten Free Bisquick makes a more moist slightly rubbery loaf, but it is still very much edible and will absorb syrup fairly readily. When you open the rice cooker the top of the loaf looks white and rubbery, but if you touch it, it is cooked through. I’ve let it sit for up to 10 minutes on keep warm and it does not burn the bottom.
  • Hodgson Mill gluten free pancake mix holds a most dubious honor. It is the worst tasting mix I have ever encountered. It made a rubbery loaf that smelled and looked bad. I bought it because I needed mix that day and the store did not have Bob’s or Bisquick. Trust me it was not an acceptable substitute.
  • Kodiak Cakes – gluten free frontier flapjack mix – these were very tasty, but came out very doughy. Also, these are oat based,  if you have gluten issues you may also have issues with oats, so be careful.
  • Pamela’s was pretty good, but you have to be careful with this one if you have tree nut allergies. They include almond flour in their mix.


  • King Arthur gluten free pancake mix – This one was wonderful. The whole kitchen smelled like fresh baking. Taste was excellent. Note that the instructions on the box I had were for a double recipe (used the whole bag). I halved the recipe and it made a standard size rice cooker pancake. As noted above if I had made the full recipe it would have been mostly uncooked.
  • Glutino – Gluten Free Pantry Instant Baking Mix. This one comes in a little single serving bottle. I do NOT recommend trying the bottle. I did and it did not mix and basically made sludge in the bottom that I gave up on trying to get dissolved into the batter. Can’t tell you how it tastes, and I have no plans to buy another one to try…


  • Hungry jack funfetti gluten free pancakes. This mix tastes just like cake. I would probably like it more without the funfetti, but it wasn’t bad. The flavor of the cakes was great! I really liked it… That said I did not follow the instructions on mixing. It is an add water only mix, but the waffle instructions said to add egg and oil. So I decided to follow the base instructions that are used by most of the other mixes. I used 1.25 cups of the dry mix, one large egg, one cup of milk, and a couple of tablespoons of vegetable oil. The texture was as close to a super moist cake of anything I’ve eaten in the gluten free genre.



Trader Joe’s mixes are pretty darned good. The pumpkin mix was only available around October, but it was awesome! Once again I don’t follow the recipe on the box. I use a cup of mix, one egg, two table spoons of butter (of course it is better than vegetable oil), then a cup of milk. If the mix is thick I add more milk to thin it up… It seems to work on just about every mix I’ve used so far


I picked up a tiger brand Induction rice cooker to replace the Zojirushi. I’m still getting used to it. It seems to be more finicky than the Zojirushi. The only setting that consistantly makes good pancakes is “plain”. Of course like almost every other rice cooker out there, there is almost no definition of what the settings are, but I have not found a better one yet.


To rate the mixes I’ve used so far:

Best: Bisquick, King Arthur, Hungry Jack, Trader Joe’s Gluten Free, Trader Joe’s Gluten free Pumpkin

Great with exceptions: If you don’t have issues with oatmeal, Kodiak was very good. If you don’t have issues with tree nuts Pamela’s is very good.

Pretty good: Bob’s Red mill

Avoid: Glutino, Hogsdon Mill

OSX Mavricks and El Capitan Trim Enable terminal command

October 3rd, 2015 by EvilT

Just so I can find it later… 😉


as root

#trimforce enable

Reboot and done!

Fly Web Lighted Fly Trap – Part Number for generic replacement fluorescent light bulb

August 30th, 2015 by EvilT

The Fly Web UV light with glue board is an excellent fly/gnat catcher for the garage.


However their replacement bulb (EL22) is a little expensive. The bulb they sell you is actually a generic 9w fluorescent bulb made by Match Lighting,

Part number: CFS 9w BL350

The generic can be found cheaper. Be warned however I’ve ordered 4 packs of these bulbs directly from China on Ebay and the ones I ordered would not work.

Strava Labs Heatmap

March 28th, 2015 by EvilT

So the people at Strava have built a really sweet heatmap.  You can see where Strava cyclists generally ride in a city. I can already see that a lot of the riding in Birmingham is at Oak Mountain, but I’m intrigued at how much riding is being done closer to town…



How to mount a VirtualBox vdi image as a drive in linux

November 19th, 2013 by EvilT

#install tools
$ sudo apt-get install qemu-kvm

#load module
$ sudo modprobe nbd

#create loopback dev for the image
$ sudo qemu-nbd -c /dev/nbd0 <image>.vdi

#mount the partitions, that are exposed as /dev/nbd0pXXX
$ sudo mount  -o noatime,noexec /dev/nbd0p1  /tmp/vdi/

#in the end unmount && shutdown the ndb
$ sudo umount /tmp/vdi/
$ sudo qemu-nbd -d /dev/nbd0

I’m always looking up cron format so I put it here.

November 5th, 2013 by EvilT


1 0 * * *  printf > /var/log/apache/error_log

The following line makes the user program—ostensibly a Perl script—run every two hours, at midnight, 2am, 4am, 6am, 8am, and so on:

0 */2 * * *  /home/username/

Predefined scheduling definitions

Several special predefined values can substitute in the CRON expression. Note that in some uses of the CRON format there is also a seconds field at the beginning of the pattern (e.g., Quartz).

Entry Description Equivalent To
@yearly (or @annually) Run once a year at midnight in the morning of January 1 0 0 1 1 *
@monthly Run once a month at midnight in the morning of the first day of the month 0 0 1 * *
@weekly Run once a week at midnight in the morning of Sunday 0 0 * * 0
@daily Run once a day at midnight 0 0 * * *
@hourly Run once an hour at the beginning of the hour 0 * * * *
@reboot Run at startup @reboot
# *    *    *    *    *  command to execute
# ?    ?    ?    ?    ?
# ?    ?    ?    ?    ?
# ?    ?    ?    ?    ?
# ?    ?    ?    ?    ?????? day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names)
# ?    ?    ?    ??????????? month (1 - 12)
# ?    ?    ???????????????? day of month (1 - 31)
# ?    ????????????????????? hour (0 - 23)
# ?????????????????????????? min (0 - 59)


Field name Mandatory? Allowed values Allowed special characters Remarks
Minutes Yes 0-59 * / , -
Hours Yes 0-23 * / , -
Day of month Yes 1-31 * / , - ? L W
Month Yes 1-12 or JAN-DEC * / , -
Day of week Yes 0-6 or SUN-SAT * / , - ? L #
Year No 1970–2099 * / , - This field is not supported in standard/default implementations.

In some uses of the CRON format there is also a seconds field at the beginning of the pattern. In that case, the CRON expression is a string comprising 6 or 7 fields.

Special characters

Support for each special character depends on specific distributions and versions of cron

Asterisk ( * )
The asterisk indicates that the cron expression matches for all values of the field. E.g., using an asterisk in the 4th field (month) indicates every month.
Slash ( / )
Slashes describe increments of ranges. For example 3-59/15 in the 1st field (minutes) indicate the third minute of the hour and every 15 minutes thereafter. The form “*/…” is equivalent to the form “first-last/…”, that is, an increment over the largest possible range of the field.
Percent ( % )
Percent-signs (%) in the command, unless escaped with backslash (\), are changed into newline characters, and all data after the first % are sent to the command as standard input.
Comma ( , )
Commas are used to separate items of a list. For example, using “MON,WED,FRI” in the 5th field (day of week) means Mondays, Wednesdays and Fridays.
Hyphen ( – )
Hyphens define ranges. For example, 2000-2010 indicates every year between 2000 and 2010 AD, inclusive.
‘L’ stands for “last”. When used in the day-of-week field, it allows you to specify constructs such as “the last Friday” (“5L”) of a given month. In the day-of-month field, it specifies the last day of the month.

Note: L is a non-standard character and exists only in some cron implementations (Quartz java scheduler)

The ‘W’ character is allowed for the day-of-month field. This character is used to specify the weekday (Monday-Friday) nearest the given day. As an example, if you were to specify “15W” as the value for the day-of-month field, the meaning is: “the nearest weekday to the 15th of the month.” So, if the 15th is a Saturday, the trigger fires on Friday the 14th. If the 15th is a Sunday, the trigger fires on Monday the 16th. If the 15th is a Tuesday, then it fires on Tuesday the 15th. However if you specify “1W” as the value for day-of-month, and the 1st is a Saturday, the trigger fires on Monday the 3rd, as it does not ‘jump’ over the boundary of a month’s days. The ‘W’ character can be specified only when the day-of-month is a single day, not a range or list of days.

Note: W is a non-standard character and exists only in some cron implementations (Quartz java scheduler)

Hash ( # )
‘#’ is allowed for the day-of-week field, and must be followed by a number between one and five. It allows you to specify constructs such as “the second Friday” of a given month.
Question mark ( ? )
Note: Question mark is a non-standard character and exists only in some cron implementations. It is used instead of ‘*’ for leaving either day-of-month or day-of-week blank.

Notes on building ZFS pools on linux

June 23rd, 2013 by EvilT

First off. The examples I’ve seen out there stating how to create a zfs pool on linux call for you to name the pool drives by their drive names (sdc, add, see, etc…) I would definitely recommend against this. If drives move in the system ZFS will not be able to identify those drives as part of it’s array. Use the device-id instead. You can see it by doing the following:
$ ls -lah /dev/disk/by-id/
you will get a list of device id’s followed by their common name. Always add these by their common name so if you get…

lrwxrwxrwx 1 root root  9 Aug 12 16:26 ata-ST3000DM001-9YN166_S1F0JK88 -> ../../sdc
lrwxrwxrwx 1 root root  9 Aug 12 16:26 ata-ST3000DM001-9YN166_S1F0JTW6 -> ../../sde
lrwxrwxrwx 1 root root  9 Aug 12 16:26 ata-ST3000DM001-9YN166_S1F0KBKY -> ../../sdd
lrwxrwxrwx 1 root root  9 Aug 12 16:26 ata-ST3000DM001-9YN166_S1F0KDEE -> ../../sdb

Then create your pool with
#zpool create -f mynewpool raidz ata-ST3000DM001-9YN166_S1F0JK88 ata-ST3000DM001-9YN166_S1F0JTW6 ata-ST3000DM001-9YN166_S1F0KBKY ata-ST3000DM001-9YN166_S1F0KBKY

There is of course an alternative (which is how I fixed my issue with the letters changing). If you create the pool above with
#zpool create -f mynewpool raidz sdb sdc sdd sde
you can always export and reimport the pool
#zpool export mynewpool
#zpool import mynewpool
And ifs will automatically pickup the real device-id’s. You would just need to remember to add that step just after you get the pool built.

I have a comment to an original post on how to zfs send/receive to move the data from your old zfs directories to the new ones.

An excellent reference for zfs on linux is here on

And of course a link to the ZFS Admin Guide from Oracle




Matrix of most if not all Majestic fireplace inserts along with part numbers for each.

January 30th, 2013 by EvilT

Majestic Fireplace Matrix

Flashblock for Firefox

January 28th, 2013 by EvilT

Another excellent add-on for your browser. Flashblock will block those annoying flash advertisements, but will allow you to click through if there was something you actually wanted to see. It also comes in a Chrome version.

Just to reminisce, one of the big selling points for Android used to be Flash… 😉

Instruction manual for Cateye Cordless 7

January 6th, 2013 by EvilT

Since it’s easier to put it here than to find it every time I need it…

Manual for Cateye Cordless 7 bicycle computer.

Robots playing Motorhead’s Ace of Spades

January 6th, 2013 by EvilT

Ok, somebody had waaaay too much free time on their hands, but this is really funny. Robots playing Motorhead’s Ace of Spades…