Posts by: TheCra1gster

Fiesta del Fifty

Fiesta del Fifty

I’m officially an old fart. I recently celebrated turning 50! The half-tonne in cricketing terms. A few years back I thought I wouldn’t make it – but I did! I threw a party at the house and I’m pretty sure it will be the last ‘big’ one I do so if you made it, be glad you were there! Shelled out for good food and booze, along with decorations and clothing from Amazon to match the ‘Mexican’ theme. No moths in my wallet for the few weeks leading up it, that’s for sure. It was an intimate gathering of 12,…

Upgrading to PHP 7.3 to improve WordPress TTFB

Upgrading to PHP 7.3 to improve WordPress TTFB

This is the hottest summer in Bangkok I can remember having sweated through. So I’m happy to be spending a Sunday afternoon in my air-conditioned home office working through various issues on my main client site in an effort to improve the dreaded Time-To-First-Byte (TTFB) issue. Thinking about it logically, WordPress is the issue here. Given the client’s site is on a VPN and ‘unmanaged’ (that means I manage it) I don’t have to content with troubleshooting the stack – although one of the first tasks I need to undertake today is to upgrade PHP to version 7.3 Firstly it’s…

List active WordPress plugins

List active WordPress plugins

Another win this week. I’ve needed this for some time – a way to list currently active plugins on a WordPress site. I cobbled the following PHP script together from fragments found on the web. You’ll need to edit the IP address at the top of the script. While there are other ways to lock down this script, this is my preferred method.

Here’s the output: (truncated) Click to enlarge Groovy! References Function Reference/get plugins CSS for table styling wprecipes.com -code inspiration

Finally – timestamps in h2o logfile

Finally – timestamps in h2o logfile

This has been bugging the shit out of me for ages and I found a solution today using the ts utility from moreutils. Here’s the error log directive in h2o.conf:

Now I have output which is much more usable. Take a look!

Road trip to Kanchanaburi

It was that time again (boy it rolls around quickly!) to head to the border and collect another 90 days – so under dark skies, we headed out of Bangkok on early Friday afternoon and made our way to Kanchanaburi, located near the border with Myanmar. The process has changed slightly from last time I was there. You now need to visit a ‘border agent’, pay your 960 THB before exiting the Thai side and are then herded into a minivan for the crossing, where you wait outside a makeshift duty-free store while all the passports are taken into the…

Burger Quest: Jim’s Burgers & Beer Ari

Burger Quest: Jim’s Burgers & Beer Ari

Jim’s Burgers and Beer is located at Ari Sampan 3 – I’m pretty sure the taxi went the wrong way as it took us forever to get there. The intimate setting provides a nice vibe – probably the best so far in the Bangkok burger quest. Get there early (like 6-ish) if you want to grab a table as the place fills up fast. We hit the place on what we thought would be a quiet night between Xmas and New Year – but there will still plenty of punters around, and when a French family of 5 were told…

Serendipitous Sunday

Serendipitous Sunday

Had a good weekend, did you? The wife got paid on Friday so we wasted no time in burning through her cash 😉 Hit up Makro on Saturday as the food in the house was running low. Spent 7K – I tell myself it’s cheaper in the long run but is it? (For you non-Thais, Makro is like a Costco – big-box supermarket) You want mosquito repellant? You have to buy 4 which is 240 THB. HP Sauce? – A pack of 3 (which is a huge saving over the cost at say Big C). 3 conditioners, 3 shampoos –…

Happy Anniversary Babe!

Happy Anniversary Babe!

Image credit: 123greetings.com Nothing says Happy Anniversary like an animated gif within a blog post, right! That’s how the cool kids do it these days, and we need to get with the times’ kiddo! I know I’m a difficult bastard to live with – I hope I bring some small amount of joy into your world. Five years! And they said it wouldn’t last (no-they didn’t say that, did they?) As you know, wood is the traditional gift for this anniversary. Thanks for the lovely table and chair you got me for my office – used every day! When I…

Printing woes – a wise warning on inkjet printers

Printing woes – a wise warning on inkjet printers

I should have listened to the sales guy when he told me you need to use this printer regularly. I didn’t and now my Epson L355 (link to manual) only ‘prints’ blank pages – the print head(s) are well and truly blocked. Just getting the PC talking to the printer was an ordeal. I had previously built a Win 10 VM on Oracle’s Virtualbox and since there are no Linux admin apps for the Epson, I was forced to connect it to a Windows PC to test it out. One thing about Virtualbox – USB don’t work ‘out of the…

Burger quest: Daniel Thaiger on Soi 11

Burger quest: Daniel Thaiger on Soi 11

There’s good reason people rave about Daniel Thaiger’s burger offerings in Bangkok – they’re ahead of the rest and have been for some time now. Starting out from a food truck, I first came across them a few years back at a ‘Winterfest’ – but the line was so long I grabbed something else to eat. They’ve now opened up in a few locations, one being tucked down the end of Sukhumvit Soi 11 (before it ‘forks’) at Brews and Cider. When the missus and I had a few baht burning a whole in our pocket some months ago, we…

2 of 20
123456