Ditching the junk food for 30 days

Ditching the junk food for 30 days

Because I’ve been eating too much of it lately. And boy do I love those double Big Macs! For the record I weighed in at a svelte 118 kg at the start. Would be happy to lose a couple of kg over the coming month. Junk food – food that has low nutritional value, typically produced in the form of packaged snacks needing little or no preparation. So no Dominos, Pizza Hut, Pizza Company, KFC or Maccas for the next 30 days. An experiment of sorts. Not a diet. Using the principle of kaizen I want to be aware of…

Fixing search in wordpress

Fixing search in wordpress

Hey folks – I noticed it wasn’t working here anymore. Sorry ’bout that! Here’s what I had to do to get it back on-line: Firstly, I reverted back to the default WP search using the Search widget in the sidebar. I was previously using a plug-in and wasn’t sure if it was playing a part in my problems. (I had recently switched hosting providers and made changes to my site and home URLS) After adding the widget, it threw the search box in a strange place on the sidebar. Had to get that sorted. Used the following CSS in my…

Building the Zyxel NAS326

Building the Zyxel NAS326

Editors note: Changing the featured pic on this post took the best part of an hour, thanks to the 2MB limit I had to get around. Done it before but this time it was harder. Seems on the web server I’m using (h2o) you specifically need to restart the php7.0-fpm service for the php.ini file to be reloaded If you’ve been keeping up then you’ll know I’ve got a few projects to work on. That’s a good thing. First cab off the rank is the build of my new Zyxel NAS 326 Unboxing and assembly The assembly itself didn’t take…

RIP DVD in Ubuntu

RIP DVD in Ubuntu

Off course they’re my DVDs! Just need backups.. Info below based on this post. 1. Get ISO info from your DVD

2. Use dd and modify count param to match vol size displayed in step (1)

3. Calc and compare checksums

NB: I am unable to get an md5sum directly from the cd-rom, getting error md5sum: /dev/sr0: Input/output error Instead I’ll use this:

Same checksum twice and I’m GTG

A new NAS – Zyxel NAS326 2-Bay Personal Cloud Storage

A new NAS – Zyxel NAS326 2-Bay Personal Cloud Storage

This has been a project 5 years in the making. It happens. Was going to build my own NAS many years ago but it never eventuated. Purchased a few Seagate 500GB SATA II Internal HDDs from eBay back in April 2011 for around $100 each and was going to put them in a Thermaltake HDD canister picked up from newegg. (via PriceUSA ; a great service!) USD 70 down the drain 🙁 I think I ended up jettisoning the canister during one of my many moves. Also picked up a CF Adapter Card and a Kingston 8GB CF card on…

WD MyBook Live on Ubuntu

WD MyBook Live on Ubuntu

Argh, you always remember your first NAS. I had forgotten the struggle to get this working under Ubuntu, so thought it prudent to put this post together (for my own reference, if nothing more..) Picked this up from Officeworks, at decent price IIRC. It’s essentially a 1TB HDD with Gigabit ethernet, powered by Debian ‘Lenny’. Although it doesn’t state support for Linux, it can be mounted via CIFS and works fine. Having said that, it isn’t the best NAS around. It has a single drive hence no fault tolerance, and the drive is not serviceable. To perform the initial setup,…

How to map a subdomain to a subfolder

How to map a subdomain to a subfolder

This one proved a little trickier than I expected. I’m using wordpress and h2o webserver. YMMV. I am not using WPMU The goal: map test.example.com -> /var/www/html/subdomains/test NB: Your hmtl root dir may vary. I use ubuntu 16.04 1. DNS – Create a CNAME record on your DNS host which is an alias of your domain name 1.1 Point browser to test.example.com. It should re-direct to your current wordpress install 2. Create a virtual host on your web server listening for your subdomain i.e. “test.example.com”. I need to edit /etc/h2o/h2o.conf. If you’re using nginx or Apache look away now!

Sunday afternoon on Soi Nana

Sunday afternoon on Soi Nana

Decided to grab the camera and get out of the condo for a few hours yesterday. Headed down to Soi Nana, great people watching there. For the uninitiated, Sukhumvit Soi 4 (aka Soi Nana) is one of three red-light districts in Bangkok. Home to Nana Plaza (go-go bars), it also houses a number of beer bars along the soi which tend to be busy most of the time. Sat in Hillary 4 and then went across the road to Hooters and tried to get a handful of decent pictures. This guy has decided to stop and pose for a photo….

Sunsets are great

Sunsets are great

25th Feb 2012 – The sun sets over the Nan river in Phitsanulok, Thailand One of the best photos I’ve taken, IMHO. EXIF Data Make Canon Model Canon DIGITAL IXUS 80 IS Aperture 4.5 Exposure Time 1/125 (0.008 sec) Lens ID Unknown 6-18mm Focal Length 14.3 mm Flash Auto – Did not fire File Size 1568 kB File Type JPEG MIME Type image/jpeg Image Width 3264 Image Height 2448 Encoding Process Baseline DCT – Huffman coding Bits Per Sample 8 Color Components 3 X Resolution 180 Y Resolution 180 YCbCr Sub Sampling YCbCr4:2:2 (2 1) YCbCr Positioning Centered Date and…

2 of 16
123456