The WordPress install on this site had gotten into a state. The wrong theme was active. Plugins were running that I didn’t recognize. Security updates had queued up while I was busy with other things. At some point I’d stopped caring, which is usually when something breaks.
I decided to move to Hugo. This is how I did it, and what broke along the way.
Why Hugo
Static HTML doesn’t need a database, PHP version upgrades, or plugin maintenance. Hugo generates a directory of HTML files from Markdown and templates. You deploy that directory to a web server. Done.
Just as the vibrant LEGO pieces come together to create magnificent structures, our life experiences, both significant and seemingly trivial, shape us, brick by brick. Each piece, each memory, each learning curve, intertwines to craft the intricate design of our character. Join me on this journey, as we draw parallels between the assembly of LEGO structures and our own personal growth.
Foundations – From Beginnings and Experiences
Like the foundation of any great LEGO structure, our character’s foundation is laid early in life. Our environment, the people we interact with, and the experiences we undergo, act as those foundational pieces, setting the stage for future growth.
In a world filled with diverse personalities, various opinions, and incessant external influences, navigating through life’s myriad challenges and crossroads can be a daunting endeavor. One of the most profound tools we possess as individuals, often overlooked, is our value system. It’s the compass that guides our choices, influencing not just what we do, but how we feel about it.
What is a Value System?
At its core, a value system comprises the principles, ethics, and moral standards we hold dear. Think of it as your internal GPS, consistently guiding you towards actions and choices that resonate with your soul’s deepest truths. While the world around you fluctuates, these values remain your steadfast companions, helping you make decisions that feel right at a fundamental level.
I’m fascinated with personal development as my personality used to be abhorrent. Over the decades I’ve become someone I actually like, as well as a high-net-worth individual, so I was curious to see if there was a scientific correlation between who I have become internally and what I have achieved externally.
When I journal I always fill out a gratitude template of 6 things I’m grateful for but reading Tynan’s recent gratitude blog post has inspired me to follow in his foot steps and write my own yearly gratitude post. I want to develop as a writer and content creator for personal development and to help better understand my own thoughts so hopefully I will see you this time next year as well!
Spain’s starting to get cold and is losing it’s sunshine, also I want to get back to a never ending summer, so I decided to spend a month in Morocco to learn more about this beautiful country.
Surfing in Tamraght
Taghazout is the most famous surfing destination in Morocco, but it’s tiny, lost it’s hippy vibe and has more scammers than soul nowadays. Further down the coast is another town called Tamraght with more surf and yoga camps as well as proximity to the same beaches. I have stayed in a few places and recommend Maroc Surf Camp for basic accomodation, yoga and surf lessons or the Riu Palace if you want more of a luxury resort vibe. The Maroc Surf Camp guys were happy to collect me from the Riu and take me out for surf lessons when I was staying there.
I’m a massive advocate of personal responsibility and accountability, in all things, especially when it comes to health and finances. But I didn’t always use to be this way.
After graduating with 2 degrees I didn’t want to do and entering the job market out of necessity rather than choice, I ended up keeping up with the Joneses whilst drowning my misery in distractions. This lead to me maxing out my credit cards, and taking consolidation loans, multiple times whilst also permanently living out of my overdraft.
HodlBot is a self managed crypto index fund. Essentially it maintains a portfolio for you that tracks the top performing crypto projects based on your requirements.
In November 2020 I deposited $250 into a crypto exchange and configured HodlBot to manage it using a HODL 10 Index strategy and in the 4 months since the portfolio has grown to a value of $1,013.11.
At the best of times, running a remote team is hard. At the moment the world is battling the COVID-19 Coronavirus pandemic, more and more workers are working from home instead of going to an office. People are in quarantine, unable to go outside and socialise. A lot of what was working before now isn’t, and people are having to change.
I live by myself and work with a remote team of 40 people throughout Europe and Asia, with time zones from the UK to Japan. I have not spoken to anyone in person or been outside, for 2 weeks other than to put the rubbish out.
Software and services to power your Amazon business.
I’ve been selling on Amazon since 2014 and over the years the strategies, services and tools I used have evolved just as much as the Amazon landscape has evolved.
There are now suites of tools dedicated to solving specific problems faced by Amazon sellers but as my business has expanded, becoming more of a business than simply a form of search engine manipulation, my needs have grown
Whilst working along side CEO and designer Jon Myers a common conversation thread that would emerge was “Where do you get your information from?”.
Motivational speaker Jim Rohn famously said that we are “The average of the five people we spend the most time with”. A similar philosophy can be applied to the information we absorb.
Limiting the scope of information we gather will in turn limit our horizons. If we live in a bubble we will isolate ourselves from incite and experiences of people outside that bubble.
Application logs are one of the most useful diagnostic aids in platform support and it pains me that many developers often ignore such a critical aspect of their system.
When To Not Log
There is only one reason for an application to not generate any logs, and that is for performance reasons, e.g. constrained telecoms or web servers running at maximum IO capacity where even writing to disk will have an impact on application performance.
This is a brief video and tutorial on building your first VR experience in the Decentraland VR platform and getting you started with the tools, a-minus syntax. By the end of this tutorial you will have an area of land with a Lambo on it you can walk around. Publishing the land to the Ethereum blockchain will come in a later video.
Sorry for the fan noise, the client seemed to have killed my CPU 🙂
Being a digital nomad, remote employee or perpetual traveller creates as many problems as it solves. Swapping the stability of the office and home environment for a life of travel and adventure on the road also swaps the stability of a supportive, social circle of friends and growth for a multitude of single serving friends, shallow Tinder encounters and continual acquaintance re-engagement. I’ve forgotten your name already but will remember it next time when I feel guilty about it, promise. Another day, another apartment, everything changes, when you live out of a bag, minimalism is key. No posters, no art, no decorations, no books, Kindle is king. Everything becomes digital. Why even have a backup hdd when you have the almighty cloud. #nobaggage.
I’ve been lucky in that I’ve always enjoyed reading. My earliest memories are of consistently getting in trouble as a child due to reading Terry Pratchett or Fighting Fantasy at night, it’s always something I enjoyed but ended up getting sidelined shortly after I turned 25 when I become a jaded, adult with a career.
Since leaving the UK I’ve become an avid reader again as it’s one of the best ways to discover new experiences and perspectives on life as well as engage the mind and reduce stress. Reading is my meditation. It’s New Years Day, 2018, and the end of a cycle which is always a good time for reflection, here’s a short list of some of the observations I’ve made looking back over the last 4 years of my reading habit!
I read this book because a group of us were moving to China, just as Trump was getting voted in to be President of the USA and various military exercises(?) were taking place by both America and China that seemed .. awkward. What would we do if something happened? Where would we go? How would we get there? I didn’t know what I didn’t know and now after reading this book I now know a little bit more about what I still don’t know!
The Year Without Pants is an insightful look in to Scott’s year working as a team lead for WordPress and Automattic’s company culture that allows remote work. What’s most interesting about it, is the culture works! Running a remote team successfully can be incredibly difficult at scale. Their culture was unconventional, employees are independent, working from wherever they wished and most interestingly, rarely using email to communicate.
The book makes a great case for why remote work can work, especially if you consider how much time at a traditional workplace is spent purely through the computer. I know for myself I could actually spend days during a busy project not speaking to a single soul in my office and just working through the day on my computer and collaborating with the team on IRC and Skype whilst handling tickets in Jira. The principle is sound and in my opinion the things that make it a success or not are employee commitment and competence and the company culture and processes. A remote team with a paranoid and suspicious company culture will never work.
I’ve been doing a lot of work with Docker recently, infact this website, Remote CTO, is currently running in a Docker container, well 3, one for Nginx, one for PHP-FPM and one for MySQL. Soon there might be a fourth, for either Redis or Memcache, I haven’t decided yet!
I do a lot of cool stuff at the command line. e.g using WP-CLI to manage my WordPress installations.
Bold: How to Go Big, Create Wealth and Impact the World by Peter Diamandis and Steven Kotler was fantastic to read after Exponential Organizations and Abundance. If Exponential Organizations discussed the problems and Abundance discussed the solutions, Bold can be thought of as discussing the implementation!
The world’s biggest problems = biggest business opportunities.
Like the previous 2 books, Bold is incredibly optimistic about the future. The first section discusses the 6 ‘D’s of exponentials
Abundance: The Future Is Better Than You Think by Peter Diamandis is a fantastic, tackling the world’s largest and most important problems such as overpopulation, food, water, energy, education, health care and freedom.
This is probably the most optimistic book I’ve ever read.
In today’s hyperlinked world, solving problems anywhere, solves problems everywhere.
Abundance is a great follow up to Exponential Organizations as a lot of the techniques covered to solve the worlds largest problems involve exponential thinking as the human race is growing exponentially.
Salim Ismail – Exponential Organizations: Why new organizations are ten times better, faster, cheaper than yours (and what to do about it) is the first of 3 books I’ve read recently, all stemming from Singularity University, and was full of big thinking around what exponential organisations are and case studies of how some were formed, how they scaled and problems that they went on to solve.
I don’t have an MBA in business, I’m a computer nerd who’s worked with successful startups and large enterprise companies, so I still have a lot to learn and this book filled a few gaps with solid explanations. e.g. obviously I’ve been exposed to the waterfall model of software development (since 1997..) but wasn’t aware of the formal New Product Development process, or NPD, which includes the following steps:
A few people have recently mentioned to me that they don’t understand the usefulness of tools like Amazooka or AMZ Tracker for tracking their products, after all tracking a products BSR or rankings for a particular keyword doesn’t lead to more sales, so I’m going to describe how I use them and why I find them to be important for my business.
Really I should have written this 3 months ago as a lot of people have also been asking about sales drops the last few months due to being in Q3. If these same people had graphs of their BSR and keyword rankings, and knew how to read them, they wouldn’t be asking these questions.
Anyone doing any kind of marketing should read this book, period. Covering 6 key principles of influence, Robert Cialdini is a committed genius who not only uses scientific case studies to back up the principles he describes, but also real world experience, having ‘gone under cover’ working in restaurants, etc. to observe influence in action! Not only do you see how the principles play out but Robert goes in to detail about how your mindset can help you not fall for them when used as a marketing tactic.
Zero To One is a great book that pulls no punches, the basic premise of it is, when creating a startup, to really make a difference:
Be first
Be 10 times better than the competition
Obviously it’s up to you what you do, some business models are just about scratching some of the existing market rather than creating a new one and that’s fine, but this definitely echoes a recent project I was late to market for, which definitely wasn’t first and was only objectively 3-4 times better than the competition 😉
I’m not sure if it’s because I don’t drink, or because I stayed in the completely wrong area of Hong Kong, but my week here was not as fun as I had expected and super expensive. A lot of my friends completely love Hong Kong, I’ve friends that were born and raised here then moved to the UK, friends from the UK that moved out to Hong Kong to live for a few years and then I know other nomads that love travelling here. So there must be something about it that’s awesome. I was hoping for a super fun, sexy, James Bond Bottoms Up club vibe, but what I found was basically a super corporate, concrete city reminiscent of 80s London with the price tag twice that of 21st Century London!
Just before Christmas I needed to leave Thailand on a visa run as I’d done my 30 day VOA + Extension so after much humming and harring, as I didn’t really want to leave, the day before I booked a weekend in Singapore! It was pretty awesome.
The first thing I noticed though, getting a taxi was impossible. Very few taxi ranks and even when there were, the taxis came and immediately picked up someone who used Grab Taxi, then departed. This actually resulted in quite a few heated arguments between people in the taxi queues and the Grab Taxi users! Fortunately I’m smart and worked it out! Unfortunately I cheaped out and bought a data only SIM card on arrival so couldn’t activate Grab Taxi as I didn’t have an actual Singapore number. Idiot.
Ready to get your WordPress site up and running in minutes? Even if you don’t have a business plan, even if you don’t have a professional UK web design & development firm on payroll, it’s better to start sooner rather than later. You can increase your income by having more value and now is the time to learn WordPress and kickstart your online life.
Set Up Your Hosting Account
Your hosting account is where your websites will live, so before we get started with WordPress we need to get you up and running with a host!
The entire purpose of my European rail adventure was to head down to Barcelona, Spain, to live in one of Chris Reynold’s Entrepreneur Houses for 4 months, get some serious work done and get a handle on my type 2 diabetes situation.
The premise was simple, at any time 10-15 entrepreneurs were living together as a social and work collective, with regular organised dinners, social events (beach trips, running of the bulls, etc), co-working and most importantly masterminds. It was absolutely amazing to be able to drop in to a new city (and country) and be given the keys to an affordable apartment as well as an instant social circle of amazing likeminded individuals who have now become friends for life.
As a beginner to Google Adwords, who was blowing $100+ a day and making no sales (serious) this book was an eye opener.
In theory Adwords is easy, choose keywords, create advert, throw money at problem, profit, but the reality wasn’t quite like that for me. This book explained exactly why, what I was doing wrong and how to make it right.
I was expecting the Ultimate Guide To Google Adwords to be extremely dry, but instead it was full of fascinating commentary like how to crowd source the best brand name or tagline quickly, by simply by creating Adverts for each one and seeing which gets the most clicks!
Paris is undeniably one of my most favourite cities. It’s nice.
Cinema Paradiso
As I travelled round Europe I used the Stay.com app to help me find my way, which is single handedly the best app you can get for your phone, other than Google Maps and some others. One of the awesome lists of things to do for Paris was a list of places from films! This was good as it kept me very entertained, I got to do a lot of walking and I had to get to grips with the underground system which was hilariously easy. Like most underground systems, it put the London underground to shame.
Google’s been shit for quite a while now but today I’m finally sick of it, so switching.
Do they think I typed out the word barcelona for my health or something? Or maybe I’m using the Internet wrong (does the Internet actually come with a manual?). So they just decided, again, to drop one of the words I’m searching for, that give my search context, from the first results they provide. Ok, I could quote it. OR .. if I actually wanted matches that dont contain the word Barcelona i could prefix it with a – sign, so fuck that as an excuse.
I launched a new product on Amazon recently that had taken a LOOONG time to develop and since day one of conception my plan was always to do a Zonblast with it and see what performance was like. So earlier this month, I did.
To give you some context, the new product I’m launching is a super competitive pharmaceutical with 55,000 products being returned for the exact match product name.
I did a 4 wave Zonblast, on Saturday 28th, Sunday 29th, Monday 30th August and Tuesday 1st September, giving away 75 coupons each day. The product usually retails at $34.99 and we provided coupons so it was available at $1.99
I’ve been using Bitcasa as a cloud backup solution as I work for about 16 months now. Initially they were great, I’d synced about 260gb of photos and work data to them before I left the UK and everything was running smoothly. I felt secure that my laptop backups were working and my data was safe in case of user error or laptop theft.
Then Bitcasa deleted all the data I’d backed up in November 2014 as they were re-architecting their backend.
This book is amazing. A must read for anyone who is branding anything, whether it’s a product, a website or themselves, reading this was like a punch in the face with respect to every branding decision I’ve ever made!
With 22 immutable laws, it’s fairly simple, and entertaining to follow. Each law has examples of failures by companies that ignored the law, then success stories, often against all odds, of companies that followed the law and flourished.
After a fantastic time in Vienna, Austria, it was time to get the train again to Zurich, Switzerland. By this point I was really in love with the train and the countryside in this area of the world was beautiful. It was so easy to sit back and let the world go by whilst I read on my Kindle.
Unfortunately, because Europe hates me, when I arrived in Zurich it was another national holiday, so everywhere was closed, again. This really sucked as I was in dire need of some shopping and Mont Bell’s only European shop was here.
I started learning how to read Kabbalistic Tarot using the learnings of Aleister Crowley and the Golden Dawn about 5 years ago and it’s been an awesome experience. Being a man of science people find it strange that I truly believe in Tarot but the psychological science behind it is solid. At it’s heart it’s just a creative way of approaching a problem or issue from different directions, making you think about the issue at hand differently and creating a story about the process of your concern. So when I saw a book linking Tarot and sex, how could I not read it? 😀
This book was simply amazing to read. I chained it on the train from Copenhagen to Hamburg to Vienna, I simply could not put it down. Spanning 5,000 years, set on Earth as well as in Space I was gripped from start to finish.
Telling the story of a group of scientists trying to save the future of the human race against an unthinkable catastrophe, compounded by ethics and politics it was really engaging watching the story play out across time, with respect to all the individual decisions made along the way.
My social life took a bit of a hit when I first fell ill almost 2 years ago now. I went from squatting twice my body weight at CrossFit, salsa dancing, performing fire shows and going out 3-4 times a week on just soda and lime to breaking down, becoming a recluse, feeling terrible all the time and completing GTA V, maxing out my Skyrim character and putting on 20kg.
Vienna was definitely one of the coolest cities I went through as I traveled, and I didn’t even get to scratch the surface. After a beautiful 8 hour train journey from Hamburg, Germany, I landed in the capital of Austria only to discover it was Eurovision that day and everywhere was full. Other than possibly one of the most expensive hotels in the area so I had little choice in the matter and had to stay in a gorgeous $500 a night suite 😀
This was a really fun read, although it was aimed more at teenagers and I was expecting something more adult, the only other Neil Gaiman book I’ve read was his collaboration with Terry Pratchett, Good Omens.
The story is a dark one, with death, suicide, witches and a portal to another world, told through the eyes of a 40 year old recollecting his child hood at the age of 7.
Mark Manson keeps popping up on Facebook as a suggested friend, as we have many friends in common. I have never met the guy, so I haven’t added him, but I did decide to read his book to see what he was about.
It’s a pretty cool book.
The secret is in the title, the entire book is about being honest with who you are and what you like, then expressing that, honestly, in order to be attractive to women. No secrets, no tricks, just honesty.
Joel Fuhrman is a nutritarian and he has a series of books revolving around juicing and ingesting as many nutrient dense foods as possible (fruit, nuts and vegetables) for their health benefits whilst laying off meat and animal products. Claiming that people that follow his diet can put their organs in to nutrient overload, with the ability to lose weight and even cure type 2 diabetes because the pancreas gets so many nutrients it starts working again.
This took me much longer to read than it should have. I started it in September 2014 and finished it in May 2015 whilst on the train to Vienna. I think I found the writing style disengaging. The book though does contain awesome stories of success as well as insightful information, the biggest takeaway being
Change your job to change your life
Something I tried to do back in 1998, but thanks to being guilt tripped in to living up to my parents expectations it took me 16 torturous years before I was finally able to quit and change things. Now it is actually too late to do what I wanted to do with my life so I’ve had to pivot and do something else that’s awesome instead.
Copenhagen is continuously voted the happiest place to live in the world. Some attribute this to the social system that takes care of everyone, others say it’s due to the lack of corruption in the government. Definitely 2 things the US and the UK need to learn from. I say it’s because they are quite liberal and put posters of boobs on buses, and pretty much anything else with a large enough surface.
This book was either free or £0.99 so I thought I’d give it a pop. At 29 pages it’s ickle. Very ickle and was a doddle to read. After 15 years of spending my 9-5 mostly isolated at a desk with nothing but Skype, iTunes and a set of earbuds for company I now spend the majority of my time around people, dozens of people, that I have to interact and communicate with. Sometimes this is great and other times it isn’t.
This book is split up in to 170 different questions, questions like:
Can I catch diabetes from someone else?
Why should I work so hard to improve my blood-sugar level?
How will alcohol affect my blood sugar?
I easily get overwhelmed with decisions. Would I do better if I had planned meals?
Why is fat in food so bad?
How can I make my favourite recipes lower in fat?
How can I reduce fat in a meal when I eat at a restaurant?
This book is ok, but subscribes to the false, 80’s propaganda that fat is bad for you. Someone asking the question “Can I catch diabetes from someone else?” probably will buy this book and treat every chapter as the whole truth, furthering the pro-carbohydrate and anti-fat lies that are probably the route cause of the global obesity and diabetes epidemic.
This book was very similar to the previous property investment book I read, Property Magic: How to Buy Property Using Other People’s Time, Money and Experience. The buy, remortgage, reinvest technique was exactly the same but one thing that this book covered, which the previous one did not, was ways to identify the going market rate for an area and then ways to find and identify the below market rate properties. This was basically the missing piece of the puzzle.
After Norway it was a short rail trip to Gothenburg, Sweden, which was a lot of fun. I did the super tourist thing and went on all the tourist buses and boat excursions etc. to see the city.
After a really nice flight with Norwegian on their new Boeing 787 Dreamliner I landed in Oslo, Norway on Sunday 11th May and the difference hit me in the face with a POW. First up I was still wearing shorts, and it was freezing cold when I landed. Secondly, going from one of the cheapest places in the world e.g. £0.70 for a beer, to one of the most expensive places in the world e.g. £10.00 for a beer, made me cry.
My triple entry Thai visa has been used and abused, I’m all out of entries and it’s completely expired so after first coming to Thailand on September 1st 2014, I left for Oslo on May 10th 2015 to meet a friend of mine and for operation Europe!
I’ve spent the majority of my stay on Soi Tad-ied staying in the BM Guest House which was nice enough and covered the basics, single room, cheap (12,000 THB / £240 pm), great bed, working air con, separate shower room, balcony, cleaned weekly, but lacked on luxury, a tiny TV that was miles away from the bed making watching anything on it a bit pointless and Internet that didn’t really work. The state of the generic, consumer ADSL on the street is a nightmare featuring regular, daily, intermittent outages, not to mention you’re going to be sharing one 500K connection between 30 other people. Whilst I was able to get work done, it was frustrating and we’d tend to end up meeting up at one of the local restaurants to get work done.
If you’re a digital nomad, meeting other nomads and entrepreneurs as you travel should be pretty high on your agenda. The benefits of tapping in to the accumulated wealth of local and business knowledge will make a huge difference to your travelling experience and potentially open you up to new business ideas and opportunities you may not have realised.
I’ve been using 4 main resources whilst I’ve been moving around to connect with people, make friends and create opportunities.
Usually in the UK I carry a leather bifold wallet with a dozen cards, driving license, etc and if I’m lucky, some cash. This was fine then when I was wearing jeans with 4 pockets or a coat, but out here I seem to live in board shorts that only have one small side pocket that also needs to hold my phone and my keys!
One of the cool things that Unit-27 do is offer a body composition service combined with a meal plan service at the Muscle Bar restaurant. They have some magic, electronic scales which will work out your fat and muscle composition, then based on that and your exercise levels they put together a meal plan so you can reach your goals. The body composition service is also extremely expensive for what it is.
Whilst I have an iPhone 5s, which has a great camera and is very portable, sometimes I want to level up my photography so also bought a [amazon text=Sony RX100&asin=B00K7O2DJU] Mk 2. The Mk 3 is out now, which has a few bonus features but the principle and benefits are the same. The quality of the photos compared to the size of the camera is insane and the main benefit. On it’s own, the Sony RX100 is pocket size but with a case. The photos I’ve taken of the camera itself were taken on my iPhone but the photos below were taken with the [amazon text=Sony RX100&asin=B00K7O2DJU] II.
That’s how Ho Chi Minh was described to me. If Chiang Mai is high school then Ho Chi Minh is college for digital nomads, and it certainly felt that way as everyone I met was a lot further in to their career path than the people I met in Chiang Mai. Ho Chi Minh is also a mecca for members of the Dynamite Circle which might explain the prevalence of more mature businesses and entrepreneurs out there. At one point I was lucky enough to have dinner with several millionaires so it was good to talk about aspects of business other than bootstrapping for a change.
Having a USB stick on hand is always useful, especially as a digital nomad. I’m always meeting people and finding myself needing to share large files or photos. I seem to always be collaborating with someone about something new idea as we mastermind on projects, or finding myself simply swapping photographs of our shared experiences.
There are dozens of places around Tiger Muay Thai that hire bikes/scooters/mopeds. Most hotels do it, Tiger Muay Thai does it, and there are a few independent places on the street that specialise in it. I hired a bike from 2Home when I was staying there, naively, and paid 2000 THB (£40) for a weeks worth of hire. The bike was ok, but the cost was way too much.
The [amazon text=Gerber 22-01769 Shard Keychain Tool&asin=B002ZK45IQ] is one of the most useful, little pocket tools I’ve used. Whilst I’d like to be carrying something like a full on Leatherman multi-tool, the overly paranoid security agents won’t even let you take a cork screw on board a plane, let alone a swiss army knife. The Gerber Shard is completely innocuous however, no deadlier than a key but about a million times more useful!
A new gym has opened up on Soi Tad-eid called Primal Fitness, owned by the same people that run Unit 27. This now makes 4 gyms on the street, including Tiger Muay Thai’s, Unit 27’s small gym area and Titan Fitness. Primal Fitness is the best gym here however, hands down.
I’m one of those people that likes to actually use things, rather than pamper them, and my phone is no exception. I also like a nice phone that isn’t covered in scratches and hasn’t experienced water damage. When I bought my iPhone 5s back in June last year (11 months ago) I knew that I’d need a rugged case to have a hope in hell of keeping it working based on my experience carrying an iPhone 4 through Kazakhstan and Mongolia. The phone was waterlogged on day one due to heavy rain in England, repaired a week later in Prague, then somehow a hole appeared in the glass front which kept spreading as chunks of glass fell out, letting water and dust in. 2 days back in England it just decided to stop working entirely. Never again!
With the success of my Amazon business I’m wondering what the next stage is, I’m already investing in the development of a SaaS platform which will be an interesting side project to run but property has been at the forefront of my mind for a long time. I was considering saving up and buying a property 100% out right, with no mortgage, for it’s rental income, but this book might have changed my mind!
Blood Sugar 101 is based on the author’s award winning website and as a newbie to diabetes I found the information in it extremely useful and laid out in a well written and ordered manner.
The book is basically a meta analysis of every single scientific paper covering diabetes that Jenny Ruhl has been able to collate, though I can’t help but feel that the book edges on the side of a gentle approach to the reader as it misses out a lot of the pertinent research that I’ve anecdotally read over the years and have been readdressing since I was diagnosed.
Last Friday I had my 2nd visit at the hospital with respect to my diabetes diagnosis, this was for a repeat test and some fasting tests for my cholesterol levels. I’d been measuring my blood sugar levels whilst on the treatment and they’ed normalised pretty quickly meaning that I have type 2 diabetes. The results of my latest blood test at the hospital confirmed my readings at home, giving me a result of 96 mg/dL.
One of the reasons I quit my job was because during 2014 I felt ill, a lot. My blood pressure was through the roof and numerous trips to the doctor didn’t really result in any progress.
For the past few months I’d get periods of up to a week where I was constantly exhausted, then I’d completely bounce back totally fine and resume training.
For the last 2 weeks, after Easter, I hit one of those periods and it just got worse and worse so I went to the Bangkok Hospital in Phuket to make an appointment. 90 minutes later I’d had the results back from a series of blood tests and a diagnosis of diabetes.
I’m planning a 4 month journey across Europe, from Oslo, through Poland to Russia, overland, so either rains or buses, and one of the questions in my mind is:
Is An InterRail Pass Worth It?
What Is An InterRail Pass?
An InterRail pass is a train ticket that lets Europeans travel across Europe by train for a fixed price. The equivalent for non-Europeans is called the EuRail pass.
I don’t really suffer from procrastination, but I wanted to read this as research material for a project I’m working on after I’d heard great things about it. The Now Habit dives in to the psychology of why we procrastinate, essentially it’s because we want to protect ourselves from anxiety or fear.
The book is a practical, self help strategy that you can use to identify the exact anxieties you have that cause you to procrastinate and then exercises and behavioural patterns to remove those anxieties and blockages and actually start on the projects you are procrastinating over.
Since I arrived at Soi Tad-ied, the street Tiger Muay Thai is on, in September, there has been a huge, 8 storey apartment block that’s been constantly under construction. At least 5 months in the making, this week they had a grand opening, pool foam party so I decided to have a look inside and check out the quality of the rooms and their prices.
This book is my first introduction to Jungian psychotherapy and proved a great introduction. Whilst reinforcing concepts I’m sure most of us are familiar with already, e.g. the duality of introversion and extraversion, the parts I enjoyed the most were when recent revelations I’ve only recently discovered about myself where introduced in the book as topics, when I was able to relate to Jung’s work.
I enjoyed reading about Jung’s observations as he traveled and explored non-western societies. It’s easy to get caught up in progress but at what cost? According to Jung the driven attitude and suppression of emotion that characterises modern Western culture has been gained at the expense of the intensity of how we now live. Something anyone who has had to get out of bed at 5am to do a 2 hour commute, only to return at 8pm in the evening, before bed at 9pm, can relate to!
I’ve been training at Tiger Muay Thai and living and eating on ‘the street’ for 5 months now and I’ve been getting a lot of questions about how much it costs, where to stay, what to eat and what’s there to do, etc. Especially when compared to the costs of living in Chiang Mai! I’ve stayed in several different places, eaten at most of the restaurants and tried out different gyms. Over time I’ve developed a cost effective, exercise and nutrition routine which is getting me solid results so rather than keep answering the same question, over and over, I’m putting it in to one blog post.
Freedive UK arranged an incredible shipwrecked event where 14 of us stayed on a deserted island and had to fend for ourselves for 4 days with skills taught to us from some local Moken, learning how to freedive, build spears, spear fish and forage for food!
The Gifts of Imperfection offers readers a way to change their lives through adopting the practices of “wholehearted” living, an idea Brené came up with after studying concepts like shame, happiness, joy, anxiety and how they all relate to each other. By learning to embrace our imperfections, and recognise what issues get in our way, such as shame and fear we are able to lead more authentic and compassionate lives.
One of the best selling books ever, third only to the Bible and Shakespear, Stephen Hawking’s A Brief History Of time was written to help nonscientists understand the questions being asked by scientists today: Where did the universe come from? How and why did it begin? Will it come to an end, and if so, how?
Hawking attempts to reveal these questions (and where we’re looking for answers) using a minimum of technical jargon. Among the topics gracefully covered are gravity, black holes, the Big Bang, Quantum theory, String theory, the nature of time, and physicists’ search for a grand unifying theory.
According to Steam, I spent 13 hours playing the latest Tomb Raider game, which cost me about £4.99 in the Steam Christmas sale including all the extras, and it was 13 hours well spent!
It took a bit of a deviation from the Tomb Raider games I’d played before, for one it felt more like a linear RPG, as you could get experience which you could use to level up stats and weapons as you progressed. Also, there was a lot of in game swearing.
Last weekend to take a break from training and have a bit of an adventure I arranged a snorkling trip so the Similan Islands through Phuket Dive Tours. There was an offer on at the time and the cost of the trip was 2700 Baht (£53) and included transfer to the boat to the Similans, breakfast and lunch! Snorkles were supplied and fins were 100baht (£2) to rent, I bought my own though, as did a few others, but the gear they supplied was good enough and also in great condition.
The Code Book traces the history of cryptography from its recorded inception in Roman times up through to the current applications as of it’s publication date circa 2000. All of the chapters held my interest and were riveting other than the, necessary, latter chapter on the the effects of encryption on US politics but it was Simon’s chapters on deciphering the Enigma code and ancient languages such as Egyptian Hieroglyphs and Linear B that I found most interesting.
Iain M. Bank’s second Culture book, The Player Of Games, was much more enjoyable than the first one, to the state that I read the last half in just one day! Unlike the first Culture novel, the protagonist this time is part of the Culture society allowing Banks to expand on the universe in greater detail.
The story is compelling, I could hardly put the book down, and the premise intelligent and unique. I was curious the entire time about the various agendas and motives of all the characters and the plot was gripping. It was very entertaining and I’m looking forwards to reading the 3rd in the series shortly.
The first game I bought, played and completed on this trip was Diablo 3, though it took a bit of effort to eventually buy it!
I played Diablo 1 and 2 when they were originally released and loved how you could tweak your character and manipulate your attributes to create vastly different skill sets.
Diablo 3 didn’t feel like those games at all, other than visually. It’s a very forgiving game, you can move points between skills and change your mind etc. It very much felt like Diablo Arcade Mode.
I’d never played any of the Zelda series before, despite having a NES as a kid and my brother having The Ocarina Of Time on his N64 so I decided to dive in and play the first one.
Man, this was one hard game, even using a walkthrough and OpenEmu’s memory save feature. It was kind of fun, but not really as it was so damn hard.
The game is split in to two stories, I only completed the first one and have no intention of replying it to complete the second one as it uses the same level data, things are just moved around.
There’s an awesome game console emulator for the Mac called OpenEmu which lets you play games across a dozen or so old school consoles so for Christmas my parents bought me a Sony Playstation 3 Dual Shock controller as they work with Macs and one of my mates bought it up when I went to visit Chiang Mai!
I’ve always wanted to play Silent Hill as it’s supposed to be extremely creepy. The OpenEmu lets you emulate Playstation games, and Silent Hill was flawless. I like old school games and consoles (before they were just PCs in a box) so over the last month bought a PSOne, Silent Hill and a bunch of random other stuff off EBay as investments. They were all sourced well under market rate and should only go up in price. They’re also pretty awesome!
It’s now been 5 months since I left the UK and 2 months since my last update. I’m currently in Ho Chi Minh City, Vietnam, for 10 days.
Weightloss
I went to the hospital for a routine check up last weekend and weighed in at 84kg. I’ve lost 6kg since my last update 2 months ago and 16kg in total since I got here. That’s 35lbs or 2 1/2 stone for people that like the Imperial system. I lost most of that 6kg in the last 4 weeks as my training and diet have been impeccable. 0 days off and 0 cheat days. Looking to the future, after I am back from Vietnam I’m going to keep that up and see if I can lose at least 10kg more whilst I still have the opportunity to train at Tiger.
Consider Phlebas is the first book in Ian. M. Bank’s Culture series and demonstrates his talent for suspense in a pretty hard core sci-fi novel detailing the exploits of a shape shifting secret agent of the Iridans.
Undertaking a clandestine mission to a forbidden planet in search of a fugitive artificial intelligence, Consider Phlebas is a serious space opera set in the midst of a war between two galactic empires.
When I first arrived at Tiger Muay Thai back in September, the indoor, air conditioned gym had been turned in to a BJJ hall and all the gym equipment had been moved outside, whilst construction on a new, larger gym was underway. The gym equipment was getting pretty weathered and people were lifting with gloves to protect themselves from rust etc. This caused me to join Titan Fitness’ gym for a while instead whilst I was living near it.
The hotel in Thailand that I’m currently staying in is for some inexplicable reason blocking SSH, randomly. 6 hours ago it was working fine, but now when I need to do some work it’s decided to block me. At least that’s what I think is happening as all other requests work fine. I think it’s using some deep packet inspection too, as moving to another port also doesn’t work.
This book is mandatory reading if you’re planning on running a social media campaign any time soon. Covering all the major players, Twitter, Facebook, Pinterest and Tumbler, as well as Google+ and others, Gary analysis the facets of each network, dissects what makes posts successful, go viral and get over exposure, and what can make posts fail.
Using case studies as the book progresses you are shown exactly what can make or break a social media campaign on each respective network, and they are all different, so what works on one will not necessarily work on another.
To the east of Chiang Mai is another city called Chiang Rai who’s main claim to fame is the beautiful White Temple, Wat Rong Khun. As I’ve no plans to be back in the north of Thailand any time soon, now seemed like a great time for me to visit.
Terry, with this book you are really spoiling us! Following in the steps of previous books, by revolving the plot around the addition of a real world device in to the Discworld, namely the steam train, Raising Steam has everything! Political intrigue, hijackings, goblins, dwarves, Corporal Nobby Nobs, drama, did I say intrigue?
This is definitely one of Terry’s best books and was a pleasure to read, I couldn’t put it down and took it to every meal as well as my day out to Chiang Rai. Featuring the new character, Dick Simnel, inventor of the Discworld’s first steam engine who, with the help of Harry King and Moist Von Lipwig, must also create a complete railway service!
As part of building up a brand with Amazon FBA I have my own e-commerce store in order to build trust with customers that search for our brand name. So far I haven’t done much more than list my various products on it, with sales copy and images taken straight from my Amazon listings.
Now I’m back in Chiang Mai it seems that there’s been a huge swing. A lot of the people I met at the Drop Ship Lifestyle event are now looking at selling products on Amazon as their business model of choice and I’ve been fielding a lot of questions. The most common question is by far:
How much profit are you making per sale?
so I thought I’d answer that here, once and for all! Here are the transaction details for one of our sales, from Amazon.
I quite fancy the idea of taking some of the Offensive Security certifications, but they are expensive and once paid for time limited to complete! So as a precursor I’m reading up on some of the tools and techniques that you are expected to learn about on the course and playing with the Kali Linux penetration testing distribution.
Basic Security Testing With Kali Linux is a lot of fun. I breezed through the book as I’m familiar with all the concepts already but it is aimed at the beginner so if you have no penetration testing experience you’ll be fine.
Thailand doesn’t really do Christmas so everywhere was open which made it a very interesting day indeed!
Christmas Lunch At Coffee Monster
In the Phuket Central Festival food hall they were selling Waitrose Christmas puddings, so for a bit of home from home I bought one of each for the total sum of 2000 Baht (£40). I felt my wallet haemorrhaging as I paid.
Siem Reap has a number of tourist attractions related to the war that ravaged Cambodia during the end of the 20th Century and the Tuktuk drivers will want to take you to all of them, ideally on the same day!
Cambodian War Museum
The Cambodian War Museum was built by Cambodia’s Ministry of National Defense and contains artifacts salvaged when the civil war ended in 1998. It is $5 to walk around it and a free guide is available.
I found this whilst searching for a book about the Cambodian temples and bought it to learn more about all the land mine victims I keep seeing in Siem Reap, busking.
The book is as described, a collection of notes Angelina made whilst visiting refugees in Sierra Leone, Tanzania, Pakistan, Cambodia, and Ecuador, visiting the refugees themselves, talking with them, learning about them and asking them what they want and need and how they can be helped.
Whilst Angkor Wat is the largest temple around Siem Reap, there are many others some of which in my opinion are better. So you want to take some time and see as many as possible else you’re doing yourself a great disservice.
Angkor Wat Temple Pass
No matter how you decide to view the temples, you’ll need to buy a temple pass to let you in the area. These passes get checked on the road as you enter the temple complex and additionally by a guard before you enter each temple, do not lose it!
Since I started weight lifting, 12 or so years ago, fish oil was always recommended as a supplement. Even now at Tiger Muay Thai as part of their supplement plan you get some fish oil and are recommended to take it 3 times a day. I’ve supplemented with it for a long time and I’ve always noticed that I perform better and am happier when I’m on it, then when I run out things get noticeably worse!
I’ve now spent 3 months in Thailand and am visiting Siem Reap in Cambodia for a week, so it’s time for a bit of accountability!
Weightloss
They say a picture is worth a thousand words, so here we go:
I’ve lost 10 kg in the last 3 months, training at Tiger Muay Thai and Crossfit Phuket, eating properly, supplementing properly and not really drinking! Clothes that were previously too small, that I bought with me, now fit and I have a good routine going now. In another 6 months I should have easily met my goal.
I took Sedona Method classes with Maya Zack in Brighton a couple of years ago to see how the process would work on some of the stresses I was under at the time and found the experience really rewarding and the techniques I learned helpful for all manner of things, so decided to give the book a read.
In essence the Sedona Method simply involves asking yourself a series of questions about your feelings or whatever the situation is that you want to release along the lines of the following:
There’s not much to do on Soi Ta Aed, the road Tiger Muay Thai is on, other than train, eat and get massages so I’ve been escaping out to sea with the help of Phuket Dive Tours and its awesome owner Dave.
There are a lot of places to eat around Tiger Muay Thai, all selling healthy things to eat. There are a quite a few cheap, small restaurants and shacks selling traditional Thai food and I think every hotel probably has it’s own restaurant too. The hotels are more expensive though.
Most places sell some variety of steak or chicken breast with vegetables and brown rice, which is the healthy go to food in the area. I enjoy mixing it up with some traditional Thai dishes though, like Pad Ka-Prao (minced chicken with chilis and Thai holy basil). You must remember to say no sugar please when you order else all your healthy eating and hard work will be for nowt!
The road Tiger Muay Thai and Signature Phuket are on is having extensive roadworks today, with power and water outages. This means no training, as I can’t shower afterwards and no Internet as there’s no electricity, so I’ve headed out to a co-working space to get some work done.
After the amazing last week at the Drop Ship Lifestyle retreat, due to all the questions I was asked in the evenings, I’ve decided to do a Drop Ship Lifestyle ride along. I am going to create a new drop shipping store and cover every aspect of the process from the very start for you guys. Along the way I will explain exactly what I’m doing, why I’m doing it and how the store is going!.
As everyone at the Drop Ship Lifestyle Retreat had such an incredible week, Anton and Johnny wanted to show everyone how they celebrate reaching their sales goals for the month and took us all to the Four Seasons Resort in Chiang Mai. Apparently it costs between $400 – $800 a night to stay there, but for 1500 – 2000 Baht (£30 – £40) you can spend the day there which includes a buffet lunch and, if you wish, a never ending supply of drinks.
If you need to mail a postcard or a parcel in Chiang Mai, Thailand, there are two helpful places in the Maya Lifestyle Shopping Center in town.
Mailing A Post Card In Chiang Mai
On the 3rd floor of Maya there is an awesome little book shop called Asia Books. These guys will sell you stamps for your postcard as well as mail the postcard for you! Postcards in Thailand are around 15 – 20 Baht (£0.30 – £0.40) and at Asia Books, 3 stamps to mail postcards internationally costs 60 baht (£1.20).
Yesterday was the last day of the Drop Ship Lifestyle Retreat in Chiang Mai with more amazing presentations and fantastic entertainment.
Drop Ship Lifestyle 2014 Retreat Schedule
Friday, October 10th
8:00am – 9:00 – Open office with coffee (Optional)
9:00am – 9:45 – Content Marketing for eCommerce and Q&A with Brandon Nolte
10:00am – 10:30 – Facebook Ads Session and Q&A with Jill and Josh Stanton
10:30am – 11:15 – Outsourcing your Life and Q&A with Vince Wong
11:45pm – Meet out front of Ibis for transportation to the Elephant Nature Park
12:30pm – 5:00 – Elephant Nature Park
5:00pm – Meet at drop off point for return transportation to Ibis
5:45pm – 6:45 – Free time
6:45pm – Meet out front of Ibis for transportation to the Closing Party
7:00pm – 9:00 – Closing party / Buffet dinner and open bar included at 90’s Bar
The presentations in the morning were cut down and a little rushed to fit the afternoon and evening in. The Outsourcing You Life presentation should have probably been scrapped to allow the others some extra time.
We’ve just done day 3 of the Drop Ship Lifestyle Retreat in Chiang Mai! Justin and Joe from Empire Flippers gave a fantastic talk about creating SOPs (Standard Operating Procedures) and the monetary potential of selling a profitable website! (Who knew you can sell a profitable website for 20 times it’s averagely monthly profit!)
Drop Ship Lifestyle 2014 Retreat Schedule
Thursday, October 9th
8:00am – 9:00 – Open office with coffee (Optional)
9:00am – 12:00 – Empire Workshop with Justin Cooke and Joe Magnotti
12:00pm – 1:00 – Buffet lunch at Ibis Styles
1:00pm – 2:00 – Empire Workshop conclusion
2:00pm – Meet out front of Ibis for transportation to the Sticky Waterfalls
Yesterday was day 2 of the Drop Ship Lifestyle Retreat in Chiang Mai, with some amazing and inspiring talks. The most interesting one for me was a surprise talk by Ben Brandes about the potential of Amazon FBA, one of the methods I’m using to make money online currently.
Drop Ship Lifestyle 2014 Retreat Schedule
Wednesday, October 8th
8:00am – 9:00 – Open office with coffee (Optional)
9:00am – 9:45 – Email Marketing for eCommerce talk and Q&A with John McIntyre
10:00am – 10:45 – Easy eCommerce Wins and Q&A with Brendan Tully
10:45am – 11:00 – Coffee and snack break
11:00am – 11:45 – Pinterest for eCommerce and Q&A with Nate Ginsburg
12:00pm – 1:00 – Buffet lunch at Ibis Styles
1:00pm – 2:00 – Open office
2:00pm – Meet out front of Ibis for transportation to Tiger Kingdom
2:30pm – 6:00 – Tiger Kingdom
6:00pm – Meet at drop off point for return transportation to Ibis
7:30pm – Buffet dinner at Kantary Hills (Optional)
Tiger Kingdom
After a morning of talks and then lunch in the Ibis, it was off to Tiger Kingdom to spank some tigers. Despite their peaceful nature and the fact there were no incidents, these tigers were huge and very intimidating. They were also ripped. Knowing that they could disembowel me in under a second was kind of freaky.
Yesterday was the first day of the Drop Ship Lifestyle Retreat in Chiang Mai, primarily featuring Johnny talking about optimisation and a trip to the Doi Suthep temple.
Drop Ship Lifestyle 2014 Retreat Schedule
Tuesday, October 7th
9:00am – 9:45 – Registration on the 8th floor of Ibis Styles
9:45am – 10:15 – Retreat introduction from Anton
10:15am – 10:30 – Member introductions
10:30am – 11:00 – eCommerce conversion tips from Johnny FD
11:00am – 1:00 – Open office sessions focusing on design, traffic, and conversions
1:00pm – 2:00 – Buffet lunch at Ibis Styles
2:00pm – Meet out front of Ibis for transportation to Doi Suthep
2:30pm – 4:30 – Explore Doi Suthep Temple
4:30pm – Meet at drop off point for return transportation to Ibis
5:00pm – 6:30 – Free time
6:30pm – Meet out front of Ibis for transportation to the Coffee Monster Party
7:00pm – 10:00 – Coffee Monster Party
10:30pm – Transportation to Ibis Styles from Coffee Monster ends
Anton has sorted out a complete day of events, with work in the morning and fun in the afternoon and evening. That’s a lifestyle I can certainly get with!
One of the things I didn’t account for in Thailand is how complicated it is to buy things online. I’m guessing this isn’t just an issue in Thailand but more a global problem when making online purchases abroad.
It is the rainy season in Thailand which means some times, like the last couple of days, if you go outside you drown. I like to play computer games every now and again and I use an Apple MacBook Pro which has no CD Rom drive so anything I buy has to be a digital download. There are 3 main digital game providers I’m interested in, Blizzard, Steam and Guildwars 2. I contacted my banks before I left, telling them I would be away for 12 months travelling and I will be visiting Thailand as the first port of call to make sure that there would be no issues. But oh boy are there issues.
This week has been pretty interesting. Now that I’m settled in to an actual routine and have made some friends I’ve been capitalising on the free time I have and making more of it. At least when we’re not in the middle of a torrential rain storm.
How To Properly Clean Boxing Gloves
The guys at the gym are pretty paranoid about Staph infections and advise cleaning everything in Dettol, including boxing gloves and shin guards. After every session I’ve been filling a sink full of water and Dettol, dumping my shorts and hand wraps in to soak and then dipping my gloves in to also soak them in the Dettol solution.
When Unseen Academicals first came out, I remember seeing it in the book shop, sighing and thinking Terry had completely jumped the shark. At the time the last thing I wanted to read was a book about a game of football, even if it was set on the Discworld. Five years later, oh what a mistake I made!! This book is amazing.
Focusing on the nuances of both the beautiful game and the team work that goes in to it, Unseen Academicals features the wizard, Ponder Stibbons, reinventing the game of foot-the-ball whilst the Unseen University try to put a team together!
One of the complications with this digital nomad experience is dealing with the UK. Not just time zone differences, that can be mitigated quite easily as the UK’s 9-5 is 4pm – midnight in Thailand. But lack of office infrastructure. I have to send some paperwork to my bank in the UK in order to make some account amendments, back at home this would have been as simple as print, sign, fax or maybe even print, sign, post. Out here though, working in a hotel room I’m stuck at the first hurdle ..
Every Tuesday morning Tiger Muay Thai organises a run to the Big Buddha in Phuket. The run is 4.2 km / 2.6 miles long and up hill all the way. You actually climb 1207 feet / 367 meters during the run, it’s hard. The record is something like 24 minutes!
The Taled Kaset Phuket Night Market is the largest night market in Phuket, loaded with food from different cultures as well as hilariously cheap knock off goods.
The first part of the market was rows and rows of little stalls and cubby holes selling either cheap Thai or tourist clothing, or cheap knock off sunglasses or other random things. e.g. the Beats by Dre Pill is £170 or you can buy something that looks exactly the same for about £17. For some reason Beats by Dre is HUGE over here and fake/cheap stuff is everywhere, even in the normal more expensive shopping malls. You can even buy fake Beats branded speakers in styles that even Beats by Dre don’t make!
The last Saturday of every month, Tiger Muay Thai hosts a BBQ Beatdown. 500 THB in advance, or 700 THB on the door, it’s a pretty cool party with free BBQ, beers and fights!
Due to the preparations the only class is Muay Thai on the beach, at 8am. This felt like more fun than training as we were taken down to the local beach, riding in the back of pickup trucks, or a bus, then did some Muay Thai practice on the sand before heading in to the sea for a swim.
Ok it doesn’t sound that impressive, but yesterday I completed the entire 2 1/2 hour Muay Thai class for the first time after a week of training. I’m really pleased as it was a hot day and by the first hour mark I was still feeling fresh. Now I know what to expect in order to pace myself better for the future so that I can work harder!
I had my first private, 1-2-1 Muay Thai lesson today which was really awesome. Tiger Muay Thai charge 5500 THB for a bundle of 10 private lessons, which works out to 550 THB a lesson, or roughly £10.50, which is great value as it costs that much to join a class back in the UK!
Johnny’s last book, 12 Weeks In Thailand is one of the reasons I’m currently here, living it up in Phuket. I flew out almost 12 months after reading it, so when I learned he was launching a new book, Life. Changes. Quick. I bought it as soon as it was out.
I read the book, cover to cover, in just one sitting. It’s only 126 pages long, so not quite Lord Of The Rings, but every page was gripping and inspiring. Documenting Johnny’s journey from living it up in Thailand with no money, no budget and no responsibilities, to creating his own business, losing weight and falling in love, very inspiring.
Around The World In 80 Girls was half good, half boring, a bit of a grind to read but at the same time quite informative. Neil decided to spend 2 1/2 years backpacking around the world, started sleeping with lots of girls then decided to blog and write a book about it as he travelled. Starting in Russia, heading through Asia, down to Australia, through South America then ending in New York before back home to Holland, quite the adventure!
Growing up in the 80s/90s on the outskirts of Portsmouth football was everything. We played it so much that myself and some of my mates actually started to develop knee issues! As a kid the 6.57 crew were kind of legends. We all loved Pompey and there was always boasts and stories every now and again of someone’s older brother or cousin getting in to trouble for 6.57 related activity. Even now as an adult (?) when I talk to my mates from Leigh Park or Havant usually something 6.57 related comes up as some kind of brag, so there’s still something in the air about them!
All over the Internet there are dozens of posts on Muay Thai and MMA forums of fighters going down with Ringworm and other fungal infections. Most people who have trained long enough will have come in to contact with someone else that has Ringworm and possibly had it themselves. The first time I caught it was my very first session training at ZT Fight Skool when I borrowed some gloves and got it all over my hand. Getting rid of it took over 2 weeks and killed my motivation to train! I don’t want that to happen again here so am going to be a lot more careful.
Seriously, if I try and visit any pages on www.dailymail.co.uk I get the awesome error in the image to my left. This is probably for the best for a variety of reasons 🙂
When Life Gives You Lemons, Make Pancakes
It was inevitable that at some point in Thailand I’d fall ill with some kind of stomach bug, that day was Thursday. I’d managed to wake up at 7:50 am, had a shower and was eating breakfast by 8am, but after the first bite of melon I knew something was wrong. With in 2 hours I was throwing up everywhere 😀 They say what doesn’t kill you makes you stronger so hopefully this will give me some kind of superman like immunity to other stomach bugs. Also it couldn’t have happened at a better time as I’m out for the count anyway due to the stupid fungal infection, which is slowly clearing up but still there.
Yesterday was Muay Thai lesson number 2, I managed to get through 90 minutes of it and it was totally awesome. We started off with running then drills again. I’ve found hanging at the back of the class is the best place as whilst doing the drills you have more access to the trainers so I had a lot of my technique fixed. After the drills we then did some partner ‘sparring’, or at least practising stand up grappling techniques, which was pretty cool. The guy I was training with had Judo experience so despite the disability of the gloves we managed to pretty much get the hang of what was going on.
Is Dettol. You can smell it everywhere like cheap perfume or aftershave and it’s an instant giveaway that someone is training in one of the many fight camps along the road. It’s a necessary evil though as it’s recommended to wash all clothes and training equipment in Dettol or another anti-bacterial solution in order to reduce the spread of staph or ringworm infections. Not only is this a good idea for health reasons, it helps with my travel light policy as I’ve been hand washing the same couple of sets of clothes daily for the past week 🙂 We’ve also been given Dettol anti-bacterial soap to wash ourselves with!
After taking Thursday off because of DOMS and still being jet lagged I decided to do yoga then the cross training today. I went to bed at 10pm and then fell asleep at 6am just before the yoga started, which was useful. So today was just cross training. And it sucked.
The format of the class was a worm up, which killed me in itself, then 2 WODs. I prefer what we did at CrossFit Hove, which was a short warm up, followed by strength or skill training for 30 minutes and then the WOD at the end, so I’m going to have to chat to one of the Strength & Conditioning coaches to sort something out, or just do the Black Iron Beast routine I was doing at CFH originally on the side.
Thailand is hot, like really really hot and after an 11 hour flight on British Airways where they ran out of both the beef and Heineken, followed by a much shorter 1 hour flight and then a 1 hour tax drive, I made it to Tiger Muay Thai and Signature Phuket at about 15:00. After checking my bags in to Signature I went down to Tiger Muay Thai and was given a tour and had a meet and great with all the people that worked there. The meal plan was explained as well as all the other activities that go on around the camp and how to sort out personal training. By the end of the tour I’d been awake for over 26 hours so had no intention of eating right or doing any exercise so decided to have a ‘last meal’ of the Signature Burger with Bacon and Cheese for the very modest sum of 100 BAHT (about £1.80) then crashed at about 17:00.
The biggest reason for my trip to Phuket and Tiger Muay Thai is to relax, rejuvenate my health and kick myself back in to the shape I used to be. At the moment I am suffering from High Blood Pressure which hopefully will sort itself with eating healthily and regular exercise.
Travel Insurance For High Blood Pressure
Having High Blood Pressure counts as a pre-existing medical condition, something a lot of insurance companies are not fond of covering. This is compounded by the complexity of getting insurance for extended trips of world travel with no set itinerary.
Since my first IT job ever, I’ve taken part in a tradition started by the guy I was replacing. A tradition known to us as escape.pl, and something people in my local Linux Administrator community have kept with for well over a decade now.
The Most Important Script You’ll Ever Write?
The first time I saw it it was written in Perl, I’ve since written them in Bash, Java and now Javascript. I’ve just seen one written in AWK. Some are cleverer than others, some just do the bare minimum. Some are executed by hand, others are run each time a new terminal is opened thanks to .profile, .bashrc or whatever’s managing your shell environment.
I’ve been working on several product niches, following Anton’s Drop Ship Lifestyle system for a few months now, along side all my other projects, and this week I got my first sale so I’m very excited for the future.
Drop Ship Lifestyle has a very vibrant community, both online with their members only forums and in Chiang Mai, Thailand where Anton is based at the moment, and watching everyone else getting results has been extremely motivational for me. However there is nothing like actually getting results yourself and it’s very reassuring to know that the Drop Ship Lifestyle system really does work.
I’ve been doing some awesome things to a new VM for work, namely installing CouchDB, Apache and running Node.JS apps along side a WordPress plugin using Angular.JS. It’s pretty cool. But computer’s are dicks so when it came down to installing Monit to ensure everything was lovely I got the following error: Couldn’t fork %pre(monit-5.5-1.el6.rf.x86_64): Cannot allocate memory. Bum.
I love reading but reading for myself is something that only happens nowadays if I go on holiday. There’s far too much work related material to read instead.
One of the things I want to do is read more, and for myself. There are at least a dozen books going dusty that I haven’t read yet and many more that I need to catch up on!
I’d been toying with the idea of escaping my 9-5 for a while and came up with 2 different ideas. The first was to go to the Mana Retreat in New Zealand, volunteer and live for free whilst meditating and doing yoga.
The second idea was a Thai fight camp.
Googling lead me to JohnnyFD and this book, 12 Weeks in Thailand: The Good Life on the Cheap, a sort of motivational biography about how Johnny visited Thailand on holiday and then decided to move there training in Muay Thai and becoming a scuba instructor.
It’s rare that I’m genuinely in shock and awe of something, but that’s how I felt last night in The Albert, down under Brighton train station!
The menu came with a crazy amount of options, so for the burger I added bacon and cheese and for the chips, thick cut rather than skinny and chilli and cheese. Not chilli cheese mind, as that was a separate option, as were the beef brisket, hash browns, onion rings, guacamole etc etc etc TOO MANY CHOICES! The entire thing came to £10 on the nose.
I’m slowly migrating a bunch of awesome things from a really old server, it’s still running Ubuntu 10.04.. to a really nice and shiny one. Which has 2 new 3TB HDDs in RAID 1, which are syncing..
Earlier today I was setting up a brand new server for a migration and just as I was typing scp .ssh/authorized_keys2 my brain went and asked a question..
What is the difference between authorized_keys and authorized_keys2?
I’ve been working with Linux for well over a decade and some of my practices stem from things I learned in the ’90s that still work, putting all my public keys in ~/.ssh/authorized_keys2 is one of those things.
My HTPC is almost appliance like, in the way I never upgrade it, i.e. this morning it was still running Ubuntu 11.04 Natty Narwhal… It’s also not very appliance like in that it’s also full of random development stuff that probably shouldn’t be on it as well as several different types of databases, my backup infrastructure and tons of other things you really don’t care for.
But not today. Today I was bored and decided the best use of my time was to replace MythTV with XBMC. Not only that, I figured I should probably upgrade from
I gave up drinking 3 months ago, but still have a fridge full of beer which I didn’t want to pour down the sink, so I decided to make something with it. I found My Fridge Food, which is an awesome little site that will take the contents of your fridge and cupboards and suggest recipes! A lot of the recipes were rubbish, poached eggs,
Back in September Google released it’s new Hummingbird algorithm, apparently affecting 90% of search queries, as it strives for greater accuracy and more relevant results. Aimed at ‘conversational searches’, like what is the best cake? rather than simple terms such as best cake. (when is the last time you made a search request like that?)
There are several things to think about when taking control of another computer, the Operating System running on it, the speed of your network connection and the tools you have at your disposal.
How To Take Control Of Another Computer
Operating System
There are 3 main choices of Operating system that the computer you want to take control of might be running, Windows, Mac OS X and Linux. Fortunately Mac OS X is based on BSD so the tools you would use to take control of it are the same as you would for Linux, simplifying things some what!
We’re using an old version of Upstart, on Centos, to manage stopping and starting our Node.js daemons, and one of the things the script does, like any good deamon, is change the user of the deamon process from root to something more applicable, security and all that 😉
I’ve got a rather large dataset that I need to do a lot of processing on, over several iterations, it’s a 20gb zip file, flat text, and I’m impatient and don’t like not knowing things!
My new favourite Linux command line tool, pv (pipe viewer) is totally awesome. Check this out:
One of our applications (Freeswitch) just randomly crashed for no apparent reason and didn’t write anything to it’s log files. The service we’re trialling is currently in Beta so there’s room to muck about and do some diagnostics. I want to make the kernel dump a core file whenever Freeswitch dies, in case it happens again, so that we have some stuff to work with after the fact. It’ll also shut up my QA manager.
Whilst working an AMAZING NPM repository mirror yesterday (which totally works, despite not really offering the performance benefit I’d hoped, because NPM is rubbish) I came across this error whilst doing things
<br /> 16 http GET https://localhost:5984/registry/_design/app/_rewrite/-/all/since?stale=update_after&startkey=1371737164294<br /> 17 http 500 https://localhost:5984/registry/_design/app/_rewrite/-/all/since?stale=update_after&startkey=1371737164294<br /> 18 error Error: insecure_rewrite_rule too many ../.. segments: registry/_design/app/_rewrite/-/all/since<br /> 18 error at RegClient.<anonymous> (/root/.nvm/v0.8.15/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:259:14)<br /> 18 error at Request.init.self.callback (/root/.nvm/v0.8.15/lib/node_modules/npm/node_modules/request/main.js:120:22)<br /> 18 error at Request.EventEmitter.emit (events.js:99:17)<br /> 18 error at Request.<anonymous> (/root/.nvm/v0.8.15/lib/node_modules/npm/node_modules/request/main.js:648:16)<br /> 18 error at Request.EventEmitter.emit (events.js:126:20)<br /> 18 error at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/.nvm/v0.8.15/lib/node_modules/npm/node_modules/request/main.js:610:14)<br /> 18 error at IncomingMessage.EventEmitter.emit (events.js:126:20)<br /> 18 error at IncomingMessage._emitEnd (http.js:366:10)<br /> 18 error at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)<br /> 18 error at Socket.socketOnData [as ondata] (http.js:1367:20)<br /> 19 error If you need help, you may report this log at:<br /> 19 error <https://github.com/isaacs/npm/issues><br /> 19 error or email it to:<br /> 19 error <npm-@googlegroups.com><br />
Pat Flynn over at Smart Passive Income has just announced the launch of his Niche Site Duel 2 project, and as I kind of called him out a few month ago in my first (stalled) Income Report causing a WordPress ‘ping back’ and his mate Blake to pop in and say hi 😀 Rather than be a massive cynic, I thought I’d give them another dofollow backlink and join in with his new project!
We use Node.js a LOT, which means we do npm install a LOT. And npm is pretty terrible, with horrible dependency handling so we can end up requesting hundreds of dependent modules with it’s recursive patten e.g. for just one of our projects we can end up with paths like
Whether you are looking to open your first e-commerce store, or a better deal on your existing one, the e-commerce arena is a minefield that needs to be navigated carefully. Businesses usually always end up paying much more for hosted e-commerce solutions than they originally expected because most e-commerce platforms are not completely upfront about their pricing model. Problems can range from fixed, long term contracts, hidden transaction fees and tiered pricing, as well as frequent network issues and unpleasant customer support. If you accidentally choose the wrong shopping cart it can end up being an expensive mistake, so you need to take the time to make sure you make the right choice.
Whilst debugging our CollectD and Graphite setup, I found that CollectD was generating hundreds of repeated errors.
<br /> Jun 13 17:11:14 hmon collectd[15336]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/hmon/processes/ps_state-running.rrd) failed: /var/lib/collectd/rrd/hmon/processes/ps_state-running.rrd: illegal attempt to update using time 1371136272 when last update time is 1371136272 (minimum one second step)<br /> Jun 13 17:11:14 hmon collectd[15336]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/hmon/processes/ps_state-sleeping.rrd) failed: /var/lib/collectd/rrd/hmon/processes/ps_state-sleeping.rrd: illegal attempt to update using time 1371136272 when last update time is 1371136272 (minimum one second step)<br /> Jun 13 17:11:14 hmon collectd[15336]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/hmon/processes/ps_state-zombies.rrd) failed: /var/lib/collectd/rrd/hmon/processes/ps_state-zombies.rrd: illegal attempt to update using time 1371136272 when last update time is 1371136272 (minimum one second step)<br />
We’re building a new exciting cluster at work using Linux HA and stuff to make it work magically.
In the olden days of yore RedHat and co were using Pacemaker with the old crm (Cluster Resource Manager / Cluster Relationship Manager, pick one..) tool for cluster management, which was nice. Now it looks like RedHat have removed the crm command from their repositories and have switched to PCS which stands for either Pacemaker/Corosync Configuration System or is the plural of PC (Personal Computers).
Following on from last month’s report March was quite an interesting month. Changing perspective from using this site as a simple memory dump to one that people, other than myself, would find useful lead to some interesting usage patterns, from both myself and my visitors as well as some changes to the blog!
Due to my change of attitude I actually watched my traffic stats, where I noticed some odd things in my logs, I thought I fixed the problem… It turns out having an URL or page with the phrase ‘apache access logs’ in it is a really bad thing as now that page is plagued with bot hits using Russian domains as a referrer, trying to get a back link for their domain in my web stats. It’s receiving about 1500 unique hits a day at the moment which is skewing my stats quite heavily.
One of my clients wanted an E-Commerce solution for his website and after a little bit of analysis we opted for the community edition of Magento.
We wanted something based on the usual LAMP stack, that was OpenSource so it could be extended, was free as in beer, had great international support, was fully featured and enterprise ready, could pass PCI DSS compliance, allowed reasonable payment gateway options, could scale and was easy to extend as well as backup. Also we wanted complete control of the deployment, rather than integrating with a 3rd party cloud service provider such as Shopify to keep costs down and retain flexibility.
We’re rolling out monit on our new platform at the request of a vendor to manage their new service. I’ve always been dead against these kinds of automated failure recovery tools as they often require human intervention after the fact anyway and all the platforms I’ve managed will have failed the server anyway so why not restart the services after the root cause analysis is done? My tune is slowly changing though and I’m coming to appreciate this method of systems recovery a lot more.
I’ve been watching my Awstats installation this month as idimmu.net is about to peak with over 7000 unique visitors in a month for the first time in it’s history, which is pretty awesome. But there’s been something really weird going on in the results ..
This is kind of ironic as in a recent job interview I was asked
What would you look for to ascertain suspicious activity on an instance of Apache serving static image assets?
Earlier today I got in to discussing Bitcoin Arbitrage with a mate of mine, with the cunning plan of creating a bot to monitor different exchanges and profit on the difference in trading prices. After an analysis this was deemed a silly idea, or conversely we aren’t good enough, as moving real money or bitcoins around the exchanges seems to be an extremely painful process. The first step though was creating a wallet!
The second part of this series covers creating our first Android Virtual Device or AVD. The Android Virtual Device (AVD) is basically a configuration for the Android SDK’s emulator that lets you define the hardware and software characteristics of an actual Android advice that you can then test your code on. Whilst not being as good as running your app on real hardware, testing it on an AVD is the next best thing!
Hi guys, when telling a story it’s always best to start at the beginning, so the first thing to do on my journey is talk about how are we going to install Android Eclipse. My workstation is a MacBook but the process is the same on both Windows and Linux. I’ve put together a short video of the entire thing, from downloading Eclipse and the Android SDK to installing Eclipse, the ADT (Android Development Tools) plugin and then configuring ADT to use the Android SDK!
Whilst skimming my Bash history today looking for an esoteric one liner I’d written earlier I started to ponder what my most used commands were, it’s easy enough to find out! This is actually output from my Mac, not a Linux box, I tricked you 😀
This blog is and has always been a blog of integrity, righteousness. A stalwart blog where I document my IT struggles and things I like to eat. Basically a combination of everything I hate in the world and everything I love, all in one place. And it’s going to remain that way. I will never sell out!
I like to read the Internet sometimes, I think I’m about half way through and so far nothing’s happened. But over the last few weeks I’ve been reading Smart Passive Income, basically a blog where some guy allegedly makes $50kpm by telling other people that he’s er .. making $50kpm. I think he’s making shit up personally, but it’s kind of inspiring. I’ve had Adsense running on this site for 2 years I think now, maybe more, who knows, and strangely I’m not retired and am still getting my fists dirty with magical computer machines. This blog has become amusingly popular though, although I don’t have a hardcore following it’s nice to read the odd comment about how I’ve helped someone create a Yum repository.
Last week I helped a friend of mine move house, and in return he also let me buy him dinner .. He lives up near the Thomas Kemp and I hadn’t been there for a while so it was pretty much set in stone what I’d be eating.
From their menu description:
Thomas Kemp Beef Burger – £7.95 Our homemade beef burger with horseradish, gherkins, tomato & mixed leaves.
So, I really like the song Papua New Guinea by Future Sound of London, so on a whim I decided to try and see if there were any Linux Sysadmin roles going over there, I think there’s a huge oil industry out there and they must use computers, right?
Turns out the first search result returned matches because of the png file extension? Ok, that’s the TLA for Papua New Guinea but what .. that’s the most relevant result? Really Google?
Syntax highlighting in vim can be super tricky, by default a lot of desktop environments seem to have white terminals, which is a bit dumb as it’s easier to read white on black than black on white, as such the default vim syntax highlighting is often unreadable if you have a black terminal, giving blue comments on a black background and the like.
The fix for this is to set your vim background to dark, e.g.
We’ve got to set up a SIP Registrar for a fantastic new project that one of our clients recently announced 😉 on RHEL5 so we’re going to trial OpenSIPS, backed with MySQL to see how it performs.
There’s a RHEL5 repository mirror here https://centos.leurent.eu/ that I’ve mirrored locally. If you don’t know how to create your own repositories you can read about that here.
First off I installed the opensips-mysql.x86_64 package to guarantee we pull in OpenSIPS as well as it’s MySQL dependencies.
We need to give one of our customers to an internal server, for this we’ve enabled remote SSH access. Even though we trust them we don’t want anyone to use the server as a launchpad to attack other remote servers, or a launch pad to attack internal servers for that matter, in case their account and SSH keys are compromised. So to prevent this we are using iptables to block outgoing traffic from the external IP.
I recently went to the Seven Stars for a lunch burger on a hangover day at work. It was the worst burger experience of my life and I wasn’t going to write it up due to the hangover but I’ve been assured that it wasn’t how I felt, the food was actually terrible, so here we go. I will also preface this with the staff were amazing, I’m sure I’ve had a burger here in the past that was pretty good so maybe this was just an off day, but my friend who also ordered the same burger had the same issue.
2 weeks ago I came up with an idea. An entire duck in a slow cooker. I’m not sure how it popped in to my brain and I was sober at the time, but it happened. Some people called me crazy, others called me stupid, until today, when I made it, in all it’s glorious glory!
Approximate Ingredients 1 Duck Crown 2 Duck Legs 8 Chicken Thighs 400g Diced Pork 400g Diced Beef 500g Bacon 400g Diced Lamb 1 Table Spoon Mollasses Sugar 9 Fresh Jalapeno Peppers 6 Fresh Bullet Chili Peppers 3 Dried Chipotle Chili Peppers 1 Dried Ancho Chili Pepper 2 Dried De Arbol Chili Peppers 1.2kg Chopped Tomato 4 Diced Onions 1 Heaped Table Spoon Cocoa Powder 1 Shot Tequila 1 Shot Cointreau 1 Large Glass Red Wine 3 Cloves Garlic Salt Pepper
I accidently ended up at the Sidewinder in Brighton and realised I haven’t had their burger in a while so couldn’t say no as I was starving 😀 They have several different burgers, the 2 main ones being their Classic and the Sidey. ‘Why settle?’ is one of my motos so I opted for the Sidey in all it’s delicious glory!
The Classic Burger
Homemade & 100% British Beef Burger topped with melted emmental cheese, a slice of bacon, roquette & beef tomato in a seeded brioche bap. Served with a side of fries and our house lime and coriander redslaw. £7.25
In my old blog I had Google Analytics working flawlessly and have several years worth of data showing people searching for SVN or Nagios help 😉
Now I’ve moved to WordPress I wanted to keep using analytics and have had great success using the Google Analyticator plugin with my other blogs so wanted to keep using that here!
Google Analyticator has a fantastic feature that completely automates linking your site to Google Analytics, it’s one mouse click and for my other sites worked flawlessly! For some reason on idimmu.net, probably because I’d previously registered with Anaylyics, it kept throwing the error
I’m creating a new community site using the Elgg 1.8 platform, but a lot of the widgets are still using the old 1.7 CSS for their displays so it means a lot of fixing.
The existing tidypics/views/default/tidypics/groupprofile_albums.php suffers from this problem but is simply fixed by changing
Whilst adding a new remote server to our BackupPC configuration, it threw the following error
` Contents of file /Volumes/2TB/backuppc/pc/www.server.co.uk/LOG.102011, modified 2011-10-25 13:10:23
2011-10-25 12:00:00 ping too slow: 22.21msec 2011-10-25 13:00:01 ping too slow: 49.63msec 2011-10-25 13:10:23 ping too slow: 47.79msec `
and refusing to back up the server! After browsing the documentation I discovered the following configuration option
<br /> $Conf{PingMaxMsec} = 20;<br />
Maximum round-trip ping time in milliseconds. This threshold is set to avoid backing up PCs that are remotely connected through WAN or dialup connections. The output from ping -s (assuming it is supported on your system) is used to check the round-trip packet time. On your local LAN round-trip times should be much less than 20msec. On most WAN or dialup connections the round-trip time will be typically more than 20msec. Tune if necessary.
Often when building RedHat RPM packages I want to make sure that the package built correctly and all the files are present before I actually install the RPM, but I do keep forgetting the command to do this, so here it is for prosperity!
Recently I went to The Victory with some mates and watched as they ate an epic burger in front of it, so when I went back recently I had no choice but to investigate!
I opted for the bacon and cheese accessories, of course, and it comes with a massive portion of straight cut fries on the side and a small pot of bbq sauce too!
The Royal Pavilion Tavern, aka Pav Tav, is a pretty popular student venue in the evenings, but lunch time, on a Saturday, it’s mostly OAPs, but they do beer and a burger for £4.99 so it had to be tried, especially as I’m working today!
I opted for the Chilli Burger with Cheese and a beer, at £5.59, and upgraded to curly fries for an additional 69p, so all it all it came to £6.28, and of course soda and lime instead of a beer 🙂
It’s a Friday and traditionally everyone goes to the pub for lunch as a precursor to what will be a fantastic weekend! A new Wetherspoons opened up near us recently and I was looking forwards to trying a Gourmet Burger from them as I’d had one of their normal burgers before and quite enjoyed it!
It’s a 6oz burger, made from British beef, and from their description:
<br /> Topped with two bacon slices and a Stilton, Shropshire blue and spring onion sauce. Includes six beer-battered whole onion rings.<br />
We decided to go and watch the football at the Wahoo bar yesterday and I saw their beer and a burger for £4.99 offer and couldn’t say no!
For £4.99 you get a burger on a white bun, loaded with salad, gerkins, 2 hash browns and a side portion of chips. You also get a drink, either a bottle, something on draft or a soft drink, I opted for a pint of Kronenburg!
All Dell DRACs come with a default account set up as root / calvin which is a huge security risk if left!
The web interface doesn’t let you change the password but the firmware does when you boot the server.
A second way to change the password is with the racadm tool, if installed, at the command line! This means you don’t have to reboot that precious production server!
In DRAC 4, the first index slot is root by default. In DRAC 5 and 6, index 1 is Administrator, index 2 is root.
I want to have a set of users on my Ubuntu 10.4 Lucid Lynx box managed by MySQL, rather than LDAP for a change which means delving in to the sexy world that is libpam-mysql!
As ever, the first thing that we need are packages! Remember when installing mysql-server to set a strong root MySQL password. As we’re managing user accounts in MySQL we need to really make sure everything is locked down tight!
I’ve recently needed to add disk usage quotas to a server in order to limit how much data users can store so as not to affect the quality of service for other users.
Linux has a method called quota which can help you do this.
Ubuntu provides some packaged tools which let you manage quotas
apt-get install quota
To enable quotas on a partition the first step is to edit the /etc/fstab entry for the partition and append usrquota to it so the kernel knows to manage that partition using quotas.
I’m playing about with the Unique Article Wizard plugin for WordPress (for a friend, not for this site!!!) and there’s an obvious problem where all of the articles need their slashes to be stripped. It looks like a serious case of magic quote paranoia!
A look at the plugin code makes article_mods.php the obvious candidate for tweaking:
Canon have a fantastic little app, which works on both Windows and Mac, called EOS Utility, which among other things allows you to do time lapse photography!
I lost my CD ages ago, because you know … everyone knows that all responsible companies let you download support tools from their website ..
Unfortunately no one informed Canon of this amazing new way of thinking, and they only let you download an update for the EOS Utility application, which throws a massive hissy fit if you try to install it on a machine that doesn’t already have it installed!
My home Ubuntu Jaunty installation often takes a good 40-60 seconds to connect to using SSH, none of the other servers I maintain have this same problem, they’re pretty much instantaneous, and today, on a Friday evening at 1am this irked me enough to fix it!
The first step is of course to make the SSH connection with debug output on.
<br /> Chill:~ idimmu$ ssh -v cordy<br /> OpenSSH_5.2p1, OpenSSL 0.9.7l 28 Sep 2006<br /> debug1: Reading configuration data /Users/idimmu/.ssh/config<br /> debug1: Reading configuration data /etc/ssh_config<br /> debug1: Connecting to cordy [192.168.0.10] port 22.<br /> debug1: Connection established.<br /> debug1: identity file /Users/idimmu/.ssh/identity type -1<br /> debug1: identity file /Users/idimmu/.ssh/id_rsa type -1<br /> debug1: identity file /Users/idimmu/.ssh/id_dsa type 2<br /> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5ubuntu1<br /> debug1: match: OpenSSH_5.1p1 Debian-5ubuntu1 pat OpenSSH*<br /> debug1: Enabling compatibility mode for protocol 2.0<br /> debug1: Local version string SSH-2.0-OpenSSH_5.2<br /> debug1: SSH2_MSG_KEXINIT sent<br /> debug1: SSH2_MSG_KEXINIT received<br /> debug1: kex: server->client aes128-ctr hmac-md5 none<br /> debug1: kex: client->server aes128-ctr hmac-md5 none<br /> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<br /> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP<br /> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent<br /> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY<br /> debug1: Host 'cordy' is known and matches the RSA host key.<br /> debug1: Found key in /Users/idimmu/.ssh/known_hosts:7<br /> debug1: ssh_rsa_verify: signature correct<br /> debug1: SSH2_MSG_NEWKEYS sent<br /> debug1: expecting SSH2_MSG_NEWKEYS<br /> debug1: SSH2_MSG_NEWKEYS received<br /> debug1: SSH2_MSG_SERVICE_REQUEST sent<br /> debug1: SSH2_MSG_SERVICE_ACCEPT received
I’ve started investigating Grails for some projects and have been making some good headway and I like to use Maven for everything as it’s amazing, and generating projects is easy.
<br /> Chill:stsworkspace idimmu$ mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate -DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=1.2.0 -DgroupId=idimmu.net -DartifactId=superted<br /> [INFO] Scanning for projects...<br /> [INFO] ------------------------------------------------------------------------<br /> [INFO] Building Maven Default Project<br /> [INFO] task-segment: [org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate] (aggregator-style)<br /> [INFO] ------------------------------------------------------------------------<br /> [INFO] Preparing archetype:generate<br /> [INFO] No goals needed for project - skipping<br /> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.<br /> [INFO] Setting property: velocimacro.messages.on => 'false'.<br /> [INFO] Setting property: resource.loader => 'classpath'.<br /> [INFO] Setting property: resource.manager.logwhenfound => 'false'.<br /> [INFO] [archetype:generate]<br /> [INFO] Generating project in Interactive mode<br /> [WARNING] No archetype repository found. Falling back to central repository (https://repo1.maven.org/maven2).<br /> [WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.<br /> Define value for version: 1.0-SNAPSHOT: :<br /> Confirm properties configuration:<br /> groupId: idimmu.net<br /> artifactId: superted<br /> version: 1.0-SNAPSHOT<br /> package: idimmu.net<br /> Y: :<br /> [INFO] ----------------------------------------------------------------------------<br /> [INFO] Using following parameters for creating OldArchetype: grails-maven-archetype:1.2.0<br /> [INFO] ----------------------------------------------------------------------------<br /> [INFO] Parameter: groupId, Value: idimmu.net<br /> [INFO] Parameter: packageName, Value: idimmu.net<br /> [INFO] Parameter: package, Value: idimmu.net<br /> [INFO] Parameter: artifactId, Value: superted<br /> [INFO] Parameter: basedir, Value: /Users/idimmu/Documents/stsworkspace<br /> [INFO] Parameter: version, Value: 1.0-SNAPSHOT<br /> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 147,column 20] : ${java.version} is not a valid reference.<br /> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 149,column 23] : ${java.home} is not a valid reference.<br /> [INFO] ********************* End of debug info from resources from generated POM ***********************<br /> [INFO] OldArchetype created in dir: /Users/idimmu/Documents/stsworkspace/superted<br /> [INFO] ------------------------------------------------------------------------<br /> [INFO] BUILD SUCCESSFUL<br /> [INFO] ------------------------------------------------------------------------<br /> [INFO] Total time: 15 seconds<br /> [INFO] Finished at: Thu Jan 07 21:45:39 GMT 2010<br /> [INFO] Final Memory: 12M/79M<br /> [INFO] ------------------------------------------------------------------------<br />
I wanted to give Google’s new Go language a try which requires checking out the source code with Mercurial.
Mercurial was installed from ports on my Mac with
<br /> sudo port install mecurial<br />
But checking out the code threw an error.
<br /> Chill:~ rus$ hg clone -r release https://go.googlecode.com/hg/ $GOROOT<br /> abort: Python support for SSL and HTTPS is not installed<br /> Exception exceptions.AttributeError: "'httpsrepository' object has no attribute 'urlopener'" in > ignored<br />
I’m currently setting up some new clusters under RedHat and each cluster is getting it’s own Nagios instance, trying to use the web based management interface however threw and error.
I’ve seen this error before on Ubuntu and was getting it again under RedHat. Of course I revisited my Ubuntu solution and realised that it didn’t help at all, due to using dpkg overrides, also the situation was very different!
<br /> root@nagios:/var/log/nagios/rw# ls -al<br /> total 8<br /> drwxrwxr-x 2 nagios apache 4096 Oct 30 13:37 .<br /> drwxrwxr-x 5 nagios apache 4096 Oct 30 13:40 ..<br />
We’re rolling out a RedHat platform for a major product delivery to a client in the next couple of weeks, which is a great chance for me to build a fresh platform using all the skills I’ve acquired and actually do things properly (TM).
We’re using RedHat Enterprise Linux 5 because this is a very critical deployment and we want an Operating System that is certified to both our hardware and software applications, something that unfortunately Ubuntu does not deliver.
Meta-< -> go to beginning of history file Meta-> -> go to end of history file Meta-f -> go to next word in command line Meta-b -> go to previous word in command line Meta-d -> delete next word in command line (from the actual position of the prompt)
Ctrl-a -> go to the start of command line Ctrl-e -> go to the end of command line Ctrl-p -> previous command in history Ctrl-n -> next command in history Ctrl-f -> next character in command line Ctrl-b -> previous character in command line Ctrl-r -> reverse search in history file Ctrl-d -> delete current character Ctrl-k -> delete from the prompt to the end of command line Ctrl-_ -> undo (yes, but limited)
I needed to burn an XVid of one of my performances to DVD last night, remotely, as my MythBuntu box was being used by someone else to watch some crappy TV and I wanted to show off! It was a pretty simple process, just involving a bit of a wait during the transcode 🙂
First you will need to make install the relevent packages:
If you already have dvdauthor and ffmpeg installed, you must install the unstripped libav packages as they contain a tool called mpeg2video and it’s this that does the heavy grunt work!
I need to write some backup software for our hosted Google Apps, so as we’re a Java shop I’m going to be using the Java API. Also we’re heavy users of Hudson and Maven so want to get the checked out source building with that.
There is a Google Code project called google-apis-mavenized which looks like it has done most of the work for us, but it does not build when it’s checked out.
At the moment I’m trying out the beta for Ubuntu Jaunty and one the first thing I noticed was the new version of screen available!
Initially you are provided with a menu to choose a theme!
I went with option 3, Ubuntu Dark! You’re then presented with an interesting new screen display, with 2 rows of status at the bottom, in lots of colours, displaying information about the CPU and RAM etc!
There is an error that I often run in to when working with files and while loops in BASH. Often I have scripts similar to the following, where I cat a file and read it in using a while loop to process variables in the file:
#!/bin/bash
count=0;
cat testfile | while read line
do
count=$(($count+1));
echo $count;
done
echo "Total $count";
I’ve been doing a lot of Nagios deployments recently, and this error always bites me, on all Ubuntu versions, including Hardy and Intrepid (haven’t quite bit the bullet to try the Jaunty beta yet 🙂 )
<br /> Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
For lunch today we all decided to go to the Mash Tun pub. I argued blind that they didn’t do any food, but it turns out, fortunately, that they did!
I had a most fantastic burger, which was almost the size of my pint glass. The patty was really nicely flavoured, with onions and green bits and all sorts, and not over blown with pepper, which seems to be the norm nowadays. The chips were also really good, a lot of places seem to be mimicking the style of Heston’s Thrice Cooked Chips!
Mucking about with LVM and partitions isn’t really taxing, it’s all well documented. Trusting it however is a different matter. I’ve resized loads of Ext3 LVM partitions in the past, but was asked to resize a ReiserFS one today, which made me ask the question:
“Is there anything writing to it currently, as I will have to unmount it first ..”
Wrong assumption, or so says the guy sat next to me! ReiserFS can be dynamically resized on the fly! Woohoo says I, lets have a look at the resize_reiserfs man page!
I’m really trying to get in to this whole Java web development frame of mind, as it’s a bit of fun, a bit of a giggle, and it’s massive in this area of the world! So obviously my first port of call was dusting off Eclipse and kicking out a HelloWorld style Java servlet!
I grabbed a copy of O’Rielly’s Java Servlet Programming to get started and found it really invaluable, and definitely recommend this book to anyone starting out in Java servlet programming.
My end game is to get Hudson, Maven and Nexus working together to continuously build and run unit tests against code, which then gets turned in to Deb packages. A new Xen VM will then be created and configured using Puppet which the new Deb package is then deployed to. Finally Selenium will then be run to automate testing of the deployment.
I recently had to learn BGP in order to fully understand what I was doing when migrating from our Linux based Zebra routers (crappy and unstable) to our nice shiny new Juniper routers.
We had a couple of books at work, but by far the best was BGP: Building Reliable Networks with the Border Gateway Protocol. It hasn’t changed much since it was released in 2003, but neither has BGP so that really isn’t an issue, and with the recent BGP issues that keep occuring, a good knowledge of it is pretty important to any network admins out there, especially those like me with their own AS numbers!
I got this annoying SVN error today, that I hadn’t come across before. Even after resolving the conflict in the file, highlighted by lots of «««<, I still couldn’t get my commit to work!
idimmu@boosh:~/work/systems/trunk/dns$ svn ci idimmu.net -m “new funky domain” svn: Commit failed (details follow): svn: Aborting commit: ‘/home/rus/work/systems/trunk/dns/idimmu.net’ remains in conflict
I had a crazy weird bug today whilst running Puppet on one of our CentOS boxes where no packages were being installed. A quick investigation with yum yielded the following scenario!
Id I tried to use yum as root or with sudo it gave the following error ..
<br /> [idimmu@server ~]$ sudo yum check-update<br /> rpmdb: Lock table is out of available locker entries<br /> error: db4 error(22) from db->close: Invalid argument<br /> error: cannot open Providename index using db3 - Cannot allocate memory (12)<br /> Repository update is listed more than once in the configuration<br /> Repository base is listed more than once in the configuration<br /> Setting up repositories<br /> https://www.mirrorservice.org/sites/mirror.centos.org/Null/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found<br /> Trying other mirror.<br /> Cannot open/read repomd.xml file for repository: update<br /> failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.<br /> Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.<br />
I managed to screw up my home machine when upgrading from Dapper to Hardy somehow, so decided to flatten and reinstall Hardy from scratch.
This is all well and good but I have a RAID 5 array on my machine which stores all my important documents and stuff (I really hate drive failure). Ubuntu didn’t suddenly detect my RAID array and figure everything out, which was not entirely unsurprising but was a little scary.
We recently had a few power outages at work, some scheduled, some not, and this played havoc with our xen servers.
One of the problems we had was that xend would not start (and thus xendomains would also not start).
Checking /var/log/xen/xend.log gave us the following snippet:
<br /> inst = XendNode()<br /> File "/usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line 164, in __init__<br /> saved_pifs = self.state_store.load_state('pif')<br /> File "/usr/lib/python2.5/site-packages/xen/xend/XendStateStore.py", line 104, in<br /> load_state<br /> dom = minidom.parse(xml_path)<br /> File "xml/dom/minidom.py", line 1913, in parse<br /> File "xml/dom/expatbuilder.py", line 924, in parse<br /> File "xml/dom/expatbuilder.py", line 211, in parseFile<br /> ExpatError: no element found: line 1, column 0<br /> [2008-03-10 21:37:40 18122] INFO (__init__:1094) Xend exited with status 1.<br />
We have several PHP applications and libraries incorrectly packaged for i386 rather than all, which means they wont install to our nice new shiny AMD64 servers. Unfortunately we don’t have (or at least we can’t find) the original package sources, so we need to ‘frobble’ the packages and change the arch by hand!
Deb files are just an ar package so we must first extract it! (FYI ar is like tar, but for pirates .. 🙁 )
Some of our PERL tools require some CPAN modules that are not part of the standard Ubuntu distribution. It’s obviously possible to install the module using CPAN but I like using deb packages where possible as then you only have one repository to manage. Fortunately with dh-make-perl it is possible to quickly turn any CPAN module in to a debian package!
One of the newer features to our site is an access control mechanism to force specific paths to only be delivered over SSL when our customers have particularly sensitive data. We already use Apache2 with mod_jk to talk to the Tomcat5.5 instance running our app so the only part left is to enable SSL!
First make sure mod_ssl is enabled:
<br /> root@reltest-tcj0:/var/log/apache2# a2enmod<br /> Which module would you like to enable?<br /> Your choices are: actions asis auth_anon auth_dbm auth_digest auth_ldap cache cern_meta cgid cgi dav_fs dav deflate disk_cache expires ext_filter file_cache headers imap include info jk ldap mem_cache mime_magic proxy_connect proxy_ftp proxy_http proxy rewrite speling ssl suexec unique_id userdir usertrack vhost_alias<br /> Module name? ssl<br /> This module is already enabled!<br />
I accidently deleted my Pictures personal folder on my Vista laptop earlier and was stuck trying to recreate it. If I created a new folder and called it Pictures then it would turn in to a file, if I copied an existing folder and then renamed it to Pictures it, once again, would turn in to a file.
The trick to restoring it was to run the following command via the Run prompt in the Start Menu:
As part of our internal office systems upgrade we have a shiny new LDAP server which we like to use as much as possible. One of the things we use it for is Apache user auth, mainly we control SVN with it so people can only commit to the projects they’re allowed to but we also use it so secure our system’s services from the developers that like to play wannabe sysadmin!
I’ve had some debugging to do for work for a part of our site that uses webcams but I’ve been a bit hazey about starting it because the last time I plugged a webcam in to a Linux box, 100 years ago, it was a bit messy. I decided to risk it as I’m too lazy to go home and get my laptop, and .. it .. just .. worked ..
All blogs require silly amounts of feed generators, right? And this is a silly blog so requires a silly generator. The entire site is written using PHP5, and my automagic ‘datahandler’ activepage concept creates an XML document using DOM that then uses XSL as a templating engine, so I figured it wouldn’t be too hard to knock up a stylesheet to turn the default datahandler for the blog in to a nice atom feed! Just make sure you set the content-type to application/atom+xml when generate the page!
The php/java bridge it a pretty awesome little protocol that basically lets us use java classes inside our own PHP applications! This lets you harness the awesome power of all the Java libraries that exist, including the popular Lucene search engine library.
I referenced two excellent blog entries here and here whilst implementing Lucene search for this blog, but I am writing up the experience anyway to compare issues and difficulties and enhance my understanding of the process.
One of the quickest ways (faster than scp at any rate) of copying a large number of files between 2 servers is by abusing the awesome powers of Linux’s pipeing and netcat and tar!
Basically we set up netcat listening on the server you want the files copied too which pipes it’s output to tar which extracts anything sent to it.
We handle DNS for thousands of domains for our customers and whilst our existing solution worked it was very messy to maintain and work with so we decided to trial a new solution for our offices to see how it would perform. We wanted something that could be database driven for ease of maintenance and we were personally recommended PowerDNS, so we decided to trial that one first.
For the database we would normally go with MySQL but we wanted an instance of PostgreSQL to play with as we are considering moving our main platform to it at some point in the future.
mod_jk is a conduit between a web server and Tomcat, it supports a variety of web servers including IIS. Using mod_jk to put Apache in front of Tomcat lets you use all the power of Apache (caching, gzip, mod_rewrite, etc) whilst at the same time serving content from Tomcat, also with Ubuntu it’s really easy to set up!
First of all install the software, you will need to enable the backports repository on Dapper for this.
The Linux Virtual Server is a highly scalable and highly available server built on a cluster of real servers, with the load balancer running on the Linux operating system. The architecture of the server cluster is fully transparent to end users, and the users interact as if it were a single high-performance virtual server.
We use LVS extensively at work to provide a scalable and highly available website which gets around 300 hits per second. Setting up and managing LVS can be made a lot easier using a tool that our ex staff wrote called LVSadmin. Written in perl it is easily configurable and provides a curses based front end to manage the servers. Setting up a new LVS cluster is really easy.
Our developers were experiencing a weird problem recently with our SVN installation where they couldn’t copy any files in SVN, they would always get the following error
<br /> svn: COPY of /project/!svn/bc/5121/trunk/path/file.gif: 502 Bad Gateway (https://svn)<br />
A quick fix of course would have been to just create a new file and copy the contents but this wouldn’t have kept the file history. A quick google lead to this page and a solution!
We run a lot of Xen instances for our development and test servers and a few were starting to get full. Fortunately the disks in the real servers were very large and the xenlet partitions were made using LVM so resizing them to add more space was possible!
root@dev-myfiles0:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 4.0G 3.8G 200M 95% /
varrun 257M 48K 257M 1% /var/run
varlock 257M 0 257M 0% /var/lock
udev 257M 40K 257M 1% /dev
devshm 257M 0 257M 0% /dev/shm
Basically we just have to shut down the xenlet, resize the partition and then restart the xenlet again, simple!