While preparing some lecture notes in Org mode to be exported using Beamer, this error message confused me today and prevented the pdf being built.

! Undefined control sequence.
\beamer@saveanother ->\let \beamer@savedif 
                                           =\ifbeamer@anotherslide

Turns out it was generated by a heading having no content only a tag like this.

* :tagonly:

Really easy, quick to make and can be prepared ahead of time.

Roll out some puff pastry, 3-5mm thick.

Divide it into rectangles, small if finger food or large if part of the main course.

Mash up some blue cheese.

Roll a portion of blue cheese and place it on one end of pastry rectangle.

Fold the pastry over seal by hand and add dash of beaten egg over top.

Stab small hole in top.

Bake in oven 180 Degrees for until pastry cooked.

git branch -m old-branch-name new-branch-name

Easy way to rename branches, works with master branch.

Found this online today.

git submodule foreach ‘git fetch origin –tags; git checkout master; git pull’ && git pull && git submodule update –init –recursive

It makes working with submodules in git really easy and it works with submodules within submodules.

Awesome.

So recently while I have been commuting I have been thinking more about my road position and have came to the conclusion that riding down the left hand side of a lane is a really bad idea, to the extent that I am not actually sure that I think marked bike lanes on roads are a good idea either.

Two things happened recently to convince me of this,

  • Firstly a car driver opened a door into my path forcing me to swerve out to go around them even though I was riding on the line marking the outside of the cycle lane.
  • Secondly on my early morning commute (5:50am) a drive over shot a give way line once again forcing me to pull out suddenly.

Now in both of these incidents there was nothing behind me but it has struck me that if there had been then I would have been in real problems. So I am going to try and ride with such a road position that I should not need to make such avoiding manoeuvres in the future.