Posts by: TheCra1gster

Burger quest: Cast Iron Burgerhaus

Burger quest: Cast Iron Burgerhaus

A few Saturdays back, the wife dragged me to Ari, a part of Bangkok I had yet to explore. I was happy to wander around while she joined the throngs of women in combat at a shoe sale. Found a great little juice bar where I knocked off a fresh veggie juice for THB 50 – a bargain! Then out of the corner of my eye, I spotted a burger joint, named Cast Iron Burgerhaus. I checked the opening times and being a courteous lad, waited until I collected the wife before heading back there for lunch. Good move! The…

Burger quest: Bad Burger BKK

Burger quest: Bad Burger BKK

The quest has begun – to find the best burger in Bangkok. One mandatory stop is Bad Burger BKK, located in a just off Sukhumvit between sois 18 and 20. We hit the place on hump day which also turned out to be Ladies night – 199 THB craft beer pints. Good vibe and a decent crowd in for a Wednesday. We lingered around for close to 3 hours, drank our weight in beer, and were the only ones left by 9.30 PM, before stumbling out to find a taxi home. The beers I opted to get my drinking shoes…

The sun sets on Shashin

The sun sets on Shashin

It appears the popular Shashin WordPress plugin is no more. Although its developer Mike Toppa stopped supporting the plugin a number of years ago, it has now been pulled from the WP plugin repository and usage documentation seems to have disappeared. No surprise really, as Google has been slowly but surely killing the integration with Picasa after launching Google Photos (Google acquired Picasa in 2004). I’ve blogged about Picasa pain before. http://www.craigamos.rocks/picasa-pain-persisits/ http://www.craigamos.rocks/google-photos/ Additionally, the Picasa desktop application no longer works. Where does that leave the existing user base? The plugin still works for existing Google albums, at least. You…

Tuning fpm-php: Not for the faint of heart

Tuning fpm-php: Not for the faint of heart

Another tech Sunday – they never get old 🙂 This is a somewhat long and boring post. More of a tech journal entry. But who knows, maybe someone else will find it interesting. First let’s backtrack a little – what is CGI you ask? source: https://www.irt.org/articles/js184/ An acronym for Common Gateway Interface, CGI was the first implementation of a server-side ‘gateway’ where http could interact with external applications such as databases. Although CGI is language agnostic, typically PERL scripts were used. CGI is rarely used today due to inherent security vulnerabilities. Then there’s fastcgi And then there’s php-fpm (FastCGI process…

Sunday’s are for schemacrawling

Sunday’s are for schemacrawling

I love looking at database schema diagrams – and last Sunday I came across Schemacrawler. Getting it up and running all went pretty smoothly. I downloaded the zip file from here You also need to install GrahpViz. References: http://www.schemacrawler.com/diagramming.html Output your database schema To output a pdf of the schema:

To output a png of the schema:

A rainy saturday spent with SQLite

A rainy saturday spent with SQLite

I’d been meaning to get my mits on SQLite for some time and finally found a good project to do so. Installing SQLite I’m on ubuntu so the following got things sorted for me:

I then noticed I was getting the following 

I needed to install the following as per this post and restart my web server

Check SQLite is installed

Finally, some working php code While I won’t share my production code with you, here’s what I can share References: https://www.tutorialspoint.com/sqlite/sqlite_php.htm https://www.digitalocean.com/community/tutorials/how-and-when-to-use-sqlite As per the tutorial above, I created the WINES table and populated it:…

Last run to Savanakhet

Last run to Savanakhet

Is there anything worse than traveling when sick? Yes – being in Laos and not being able to imbibe the glorious local beer on offer there. And so it was when I had another early morning departure from Don Meung, flying into Ubon Ratchatani under cloudy skies. I took the Nok Air ‘fly and ride’ service and traveled to Mukdahan by van along with one other passenger – luxury! From the Ploy Palace hotel I grabbed a quick energy drink which I chugged in the back of a tuk-tuk bound for the Friendship Bridge II before crossing the border into…

Long Gone – Remembering Oz

Long Gone – Remembering Oz

Bizarre travel plans are dancing lessons from God. Wow – four years have passed since I was last in Australia. With some cash in my pocket (how times have changed!) I took my new bride Down Under to visit my homeland. It was a long (5 weeks) and expensive trip, but she got to see a fair bit in her first visit. Our overall itinerary went something like this: Bangkok to Darwin via Singapore.  SQ975 and SQ5203. (Arrived 28 June, 2018). Stayed 2 nights at The Cav and 4 nights at Palm City Resort Darwin to Sydney (3 July, 2014)…

Beer porn: A pilgrimage to Plzeň

Beer porn: A pilgrimage to Plzeň

There’s an old Czech joke which goes something like this: A kid walks into a bar and asks for a beer. The bartender says “wouldn’t you rather have a lemonade?” “Yeah”, the kid replies, “but I’m three crowns short” Welcome to the Czech Republic – the country where beer costs less than water.  A few months back I needed to get out of Thailand for a while. The heat, the wife, and the bad beer had all conspired to plunge me into the depths of despair – it was time to escape long enough to clear my head. Being a…

1 of 18
12345