• 📂

    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.


  • 📂

    Walking around Newton Regis for half an hour yesterday. Through the church graveyard I saw graves that are nearly 300 years old. Makes me think how much different it would have been back then.


  • 📂

    I bloody hate phone shops.


  • 📂

    All in all – thoughts of Roger Waters The Wall

    A slow, winding blade of green weaves across the ever-growing familiar white brickwork from the left side of the stage. Then another from the right. They wind slowly across the length of the wall – both to the centre and up – until they blend seamlessly into one of the most iconic animations from The Wall – the flower scene over Empty Spaces.There are a few albums that have moved me in ways I can still feel: Radiohead’s The Bends, Lana Del Rey’s Ultraviolence. But the one that has had the greatest effect on me – and still continues to do so – is Pink Floyd’s The Wall.Tonight I went to see the one-off showing of the new film by Waters which was about 80% concert show and 20% pilgrimage by Waters to visit the resting places of his father and grandfather. The thing as a whole went together beautifully.One of the songs that continues to get me each time I hear it is Vera – and this time was no exception. I was suprised to hear, in the discussion that followed, that this was Waters’ favourite song off the album.The songs I were looking forward to the most were Comfortably Numb, The Trial and Empty Spaces. I love how the full version of Empty Spaces gets used when performed live.The usage of some of the animations from the 1980s film of the wall were a nice touch too.All in all it was a great performance of The Wall.


Explore

If you want to search, or just get an overview of my stuff, the explore page is a good place to start.

Any interesting websites and/or people I have found online, I link them on my blogroll page.

I keep a record of things i use on my… well… my “uses” page.