• Bypassing Laravel’s CSRF Middleware on selected routes (from 5.1)

    Laravel does a great job at protecting us from cross-site request forgeries – or C.S.R.F. for short.But sometimes you may not wish to have that layer present. Well with Laravel 5.1 you can very easily bypass this middleware, simply by populating an array in the following file:

    app/Http/Middleware/VerifyCsrfToken.php

    Within this class you can add a protected property — an array — called $except, which will tell Laravel to use this middleware except for the ones you specify here.

    A complete example could be:

    protected $except = [
        'ignore/this/url',
        'this/one/too',
        'and/this',
    ];

    So for those three URLs, the CSRF middleware would be skipped.

  • Far Cry 4 was a superior game, but there is something about the atmosphere of Far Cry 3 that just can’t be beat.

  • Off to restart Far Cry 3

  • 100 Albums #2 – The Wall: Live in Berlin by Roger Waters (and various artists)

    A couple of weeks ago I went to see the one-night-only showing of Roger Waters’ The Wall at my local cinema. That performance rekindled my love for that album – indeed Pink Floyd in general.

    Yesterday I revisted an older performance of the album, which was given at the Berlin wall at the time when it was being torn down.

    Very apt.

    This performance of The Wall is unique, in that many of the songs are performed by guest artists. My personal favorites of these perfomances are Bryan Adam’s “Young Lust”, Paul Carrack’s “Hey You” and Van Morrison’s “Comfortably Numb”.

    For any fans of The Wall, this album is a milestone performance and must be experienced.

  • About to watch Father Ted for the first time. Here goes.

  • 100 Albums #1 – Kiddo by Tove Styrke

    My very first album write up goes to Tove Styrke’s Kiddo. I had never heard of her before tonight – she was a recommendation by Google Play Music, based on my interest in ‘Say Lou Lou’.

    As soon as the first song started, I was hooked. Hooked enough to take advantage of my Android 6.0 update’s new context awareness by demanding – “Google! Play me her first album”* – that one is also great.

    The first song sounded to be very Prince-esque – purple rain Prince – which can only be a good thing. Then there were other songs that had the sort of catchy hooks and beats you can’t help but move your body to. I had been getting nowhere with what I was building tonight, which was annoying, but this album soon got me feeling on top of the world.

    Stand out songs: Borderline, Even If I’m Loud It Doesn’t Mean I’m Talking To You, Walking a Line.

    *I am since trying to rid my life of Google Inc. as much as I can.

  • Freak show seems to be the most brutal American Horror Story yet. And I’m only 5 episodes in.

  • American Horror Story has the best uses of music I’ve ever heard in a series. Just seen the Gods and Monsters scene from Freak Show /@AHSFX

  • Finally learning me some flexbox. Its about time. The next version of this site will go flexbox all the way.

  • Every time I do a “git add .”, I feel a little dirty inside.