Blogs

Check a mounted disk and fix errors on Amazon EC2

When I logged into my EC2 instance, I had the warning:

*** /dev/xvda1 should be checked for errors ***

We can't fsck /dev/xvda1 because it is mounted and in use, so I need to check this disk on startup as it is mounted, however there are a couple of things that need to be done first before you can do this on my Ubuntu EC2 instance.

First I need to enable FSCKFIX, which is off be default

sudo nano /etc/default/rcS

find the line:
#FSCKFIX=no

And change it to:

FSCKFIX=yes

Updated D8 Boldy Theme Live Preview setup instructions

CAVEAT EMPTOR
This is still a very rough start to the D8 setup instructions, more will be added as I progress and full english will be added rather than the rough notes that exist at present.
Also as I am just starting out on this process, this page will be updated as I find modules that are not fully available or as I add functionality.
Please be aware that the D8 Twig version of the Boldy theme is on its way.

Star Wars Synopsis or is it The Force Awakens?

This is a synopsis of the film Star Wars to highlight how similar it is to the Force Awakens in premise.

Spoiler alert.

30 day Exercise Challenge

I was invited to join a 30 days squat challenge, which goes as follows:

30 DAY SQUAT CHALLENGE

Squatting is one of the most fundamental movements that all humans can and should perform regularly. Squats not only work your glutes and quads but also your hamstrings, calves, hips, back and core. They can also improve your flexibility, balance and posture.

BEGINNER- start with one squat on the 1st of June and increase by one per day until the 30th of June where you'll perform 30 squats.

Google drive PDF embed without uploading to Drive first

I am trying out embedding a pdf on a webpage using google drive previewer.

Basically create an iframe with the src set to "http://docs.google.com/gview?url[insert the url of the pdf]&embedded=true"

<iframe src="http://docs.google.com/gview?url=http://79.170.44.209/craigalmondscouts.co.uk/30th/wp-content/uploads/Scout-Programme-Spring-2015.pdf&#038;embedded=true" style="width:560px; height:790px;" frameborder="0"></iframe>
gives us:

Git rebase in an agile workflow

I have been using git merge quite a lot at work as a part of the my workflow, because the powers that be outlined how we should be working prior to deployment, but it means that looking at the history in a graphical tool you get a messy web of branches, so I asked the question
"Should we be using rebase more in our workflow?"

Here are some of the arguments for rebase:

The Case for Git Rebase

Git Branching for Agile Teams

I really liked this webinar from Atlassian which contains a special mention of using git with Jira and Jenkins for continuous integration (CI), all of which I use at work, bonus.
http://www.youtube.com/watch?v=9SZ7kSQ2424
Utopia == A seperate build for each branch and automated testing with CI.

More Workflow chat

I listened to this podcast recently and found the chat about workflows really interesting, especially relevant is the chat about git/jenkins/jira automatically coming together and might be worth looking into:
http://www.lullabot.com/blog/podcasts/workflow-uh-what-it-good

12 tips to get your website humming for the holidays

https://www.getpantheon.com/blog/12-tips-get-your-drupal-website-humming-holidays

Its focus is on drupal, but the concepts can be applied elsewhere. It is all standard stuff, but with some QA and load testing links at the end.

Christmas is coming

Christmas is coming the .gz is getting fat. Please do fputs a $penny in the $old-mans-hat[];

or some other even more witty introduction. Advent is here, it time to stop complaining that there are christmas adverts in shops or on telly and open the calenders:

Pages

Subscribe to RSS - blogs