On this day: 18 February

2025 · 1 year ago

Listened to 2 tracks

Motörhead, Dio · 4m ·

Tracklist
  1. All for You · Motörhead
  2. Rainbow in the Dark · Dio

Listened to 2 tracks

Motörhead, Faith No More · 3m ·

Tracklist
  1. Asylum Choir · Motörhead
  2. We Care a Lot · Faith No More

Listened to 4 tracks

Chas & Dave, Cradle of Filth · 33m ·

Tracklist
  1. Medley: Come Round & Hear My Gramophone / Rye House / I'm Not All There / Carolina · Chas & Dave
  2. Medley: Anniversary Waltz (Oh How We Danced) / Hot Meat Pies, Savaloys & Trotters / Rufus Rastus Johnson Brown / Billy Muggins / I'm an Airman / Black & White Rag · Chas & Dave
  3. Once Upon Atrocity · Cradle of Filth
  4. Thirteen Autumns and a Widow · Cradle of Filth

Listened to Cradle of Filth

4 listens · 17m ·

Tracklist
  1. Cruelty Brought Thee Orchids · Cradle of Filth
  2. Beneath the Howling Stars · Cradle of Filth
  3. Venus In Fear · Cradle of Filth
  4. Desire In Violent Overture · Cradle of Filth

Listened to Ladyhawke

22 listens · 1h 53m ·

Tracklist
  1. Magic · Ladyhawke
  2. Manipulating Woman · Ladyhawke
  3. My Delirium · Ladyhawke
  4. Better Than Sunday · Ladyhawke
  5. Another Runaway · Ladyhawke
  6. Back of the Van · Ladyhawke
  7. Paris Is Burning · Ladyhawke
  8. Professional Suicide · Ladyhawke
  9. Dusk Till Dawn · Ladyhawke
  10. Oh My · Ladyhawke
  11. Crazy World · Ladyhawke
  12. Morning Dreams · Ladyhawke
  13. Paris Is Burning (Paris s'enflamme) · Ladyhawke
  14. Year Plan: Your Digital Legacy, Secured for a Century 💯 · WordPress.com's 100
  15. Girl Like Me · Ladyhawke
  16. Sunday Drive · Ladyhawke
  17. Black White & Blue · Ladyhawke
  18. Vaccine · Ladyhawke
  19. Blue Eyes · Ladyhawke
  20. Vanity · Ladyhawke
  21. The Quick & The Dead · Ladyhawke
  22. Anxiety · Ladyhawke

Earned 1 trophy in Tomb Raider: Legend

1 bronze ·

Trophies
  • Most Rewarding

2024 · 2 years ago

Earned 1 trophy in Shadow of The Tomb Raider

1 bronze ·

Trophies
  • Unwelcome Guests

2021 · 5 years ago

Earned 3 trophies in Hellblade: Senua's Sacrifice

3 silver ·

Trophies
  • Escaped
  • Trust Your Senses
  • Different Perspectives

2020 · 6 years ago

Listened to Cabin Pressure - S01 - E06 - Fitton by John Finnemore

Listened to 2 tracks

The SPEECH That BROKE The Internet, T Sloth · 15m ·

Tracklist
  1. Joaquin Phoenix Oscar Speech · The SPEECH That BROKE The Internet
  2. Dee, You Bitch · T Sloth

Listened to 8 tracks

Meat Loaf, The Alan Parsons Project, Bat for Lashes and 1 more · 46m ·

Tracklist
  1. The Boys of Summer · Bat for Lashes
  2. Paradise by the Dashboard Light · Meat Loaf
  3. Bat Out of Hell · Meat Loaf
  4. Nowhere Fast · Meat Loaf
  5. Channelling Rain · Devlin & Syer B
  6. Eye in the Sky · The Alan Parsons Project
  7. Children of the Moon · The Alan Parsons Project
  8. Gemini · The Alan Parsons Project

2018 · 8 years ago

Listened to Sign O' The Times [Disc 1] by Prince

8 listens · 36m ·

Tracklist
  1. Sign 'O' the Times · Prince
  2. Play in the Sunshine · Prince
  3. Housequake · Prince
  4. The Ballad of Dorothy Parker · Prince
  5. Starfish and Coffee · Prince
  6. Slow Love · Prince
  7. Hot Thing · Prince
  8. Forever in My Life · Prince

2017 · 9 years ago

Listened to Lorn

4 listens · 8m ·

Tracklist
  1. Skwod · Nadia Rose
  2. THERE AIN'T NOTHING IT'S JUST PAIN AND THEN YER GONE · Lorn
  3. Acid Rain · Lorn
  4. ENTANGLED · Lorn

2016 · 10 years ago

Laravel Blade push and stack

Laravel’s blade view compiler is second to none. I’ve used a couple of different templating engines and blade is by far my favourite. Including Partials The way in which we include partials of views within our main views is as follows:@include(‘partials.my-first-partial’)It will inject that partial’s content in the specified place. Defining Sections Within our views,

Laravel’s blade view compiler is second to none. I’ve used a couple of different templating engines and blade is by far my favourite.

Including Partials

The way in which we include partials of views within our main views is as follows:
@include(‘partials.my-first-partial’)
It will inject that partial’s content in the specified place.

Defining Sections

Within our views, we define “sections” with the following syntax:

@section(‘section_name’)

    The section’s content within here

@stop

And we can define as many sections as we need for our project.

When the same section is used in multiple places within one compilation

Imagine we have master template file as such:

// layouts.main.blade.php
<!doctype html>

...
@yield(‘partials.form’)
...

@yield(‘custom_scripts’)

Let’s suppose we have the following layout template that extends our main layout one and is including three partials. This example is a form template including its various inputs from separate partials. For my own website I have a different form for each of my post types and so I have the inputs in separate partials for easy reuse.

// partials.form.blade.php
@extends(‘layouts.main’)

<form>@include(‘parials.form-title’)
@include(‘parials.form-content’)
@include(‘parials.form-tags’)</form>

Let’s next suppose that in a couple of those partial input views you need to inject some custom scripting. This is a slightly contrived example, but it will illustrate the point.

// partials.form-content.blade.php
<textarea class="content" name="content"></textarea>

@section(‘custom_scripts’)
// dummy javascript as example
$(‘.content’).doSomething();
@stop
// partials.form-tags.blade.php
<select class="tags" name="tags">
<option value="tagone">Tag One</option>
<option value="tagtwo">Tag Two</option>
<option value="tagthree">Tag Three</option>
</select>

@section(‘custom_scripts’)
$(‘.tags’).doSomethingElse()
@stop

Now, when the form page gets compiled, only the first occurrence of the ‘custom_scripts’ section will be included.

So what if you needed to be able to define this section in chunks across partials?

Introducing Blade’s Push & Stack directives

To give this functionality, Laravel does in fact have two little-known directives called ‘push’ and ‘stack’.

They allow you to ‘stack up’ items across partials with the ‘push’ directive, which can then be echoed out together with the ‘stack’ directive.

Here’s the above form example but with ‘push’ and ‘stack’ used in place of ‘section’ and ‘yield’.

// layouts.main.blade.php
<!doctype html>

...
@yield(‘partials.form’)
...

@stack(‘custom_scripts’)

// partials.form-content.blade.php
<textarea class="content" name="content"></textarea>

@push(‘custom_scripts’)
// dummy javascript as example
$(‘.content’).doSomething();
@endpush
// partials.form-tags.blade.php
<select class="tags" name="tags">
<option value="tagone">Tag One</option>
<option value="tagtwo">Tag Two</option>
<option value="tagthree">Tag Three</option>
</select>

@push(‘custom_scripts’)
$(‘.tags’).doSomethingElse()
@endpush

This will now compile all uses of the @push(‘custom_scripts’) and echo them out as one wherever you call @stack(‘custom_scripts’)

When I was shown this technique by a mate at work, it blew my mind.

Have fun.

2015 · 11 years ago

2014 · 12 years ago

2013 · 13 years ago