Jeans

Jeans zijn een onmisbaar item in je kledingkast, fashionable, comfortabel en altijd goed. Bovendien is de spijkerbroek verkrijgbaar in zoveel verschillende wassingen, fits en kleuren dat kiezen voor slechts één exemplaar haast onmogelijk is. Van skinny tot straight en van dark wash tot light denim. Daarnaast is denim als stof erg gewild en zien we naast jeans ook veel bloesjes, shorts en zelfs tassen en schoenen van denim. Kortom: we love jeans! Daarom een ode aan dit fijne fashion item en de stof waarvan het gemaakt is; denim.
Continue reading "Jeans"

Adding alternating class names to Drupal 8 Views rows via twig

Here's a a quick and easy snippet to add alternating class names to your views rows, also referred to as 'zebra' tables or 'striped backgrounds'.

1. Copy

/core/modules/views/templates/views-view-unformatted.html.twig

to

/themes/custom/yourtheme/templates/views-view-unformattted--yourviewname.html.twig

2. Replace yourviewname with your view's machine name.

3. Change the following:

  {%
    set row_classes = [
      default_row_class ? 'views-row',
    ]
  %}

to

  {%
    set row_classes = [
      default_row_class ? 'views-row',
      cycle(['even', 'odd'], loop.index0),
    ]
  %}

Explanation

cycle()

A core twig function that cycles through a given array of values.

loop.index0

Indicates the position (index) of the iterator during the looping, starting at 0.

More info on twig functions: https://twig.sensiolabs.org/doc/2.x/functions/index.html

Good Deed: The Web that binds us part 2

Earlier in the year, I connected my dad to the angel who ensured he had an education, thanks to Facebook. Some weeks after posting an answer on Quora, something told me to go to Facebook and check out the daughters timelines. One of them had actually posted pictures of Pastor Moon, asking that we all call him to cheer him up, as he was battling cancer. I told my dad, who insisted I ask for permission from one of the daughters, before he would call. My dad would call, and chat with the pastor for a while.

Pastor Moon's health got a boost, and he was extremely happy that Dad called him (Whoever said our health is not connected to our emotions lied). That was March.

This is June, and I came across another Facebook post from one of the daughters, requesting for prayers for Pastor Moon who was losing the battle against cancer, and might not even make it to his 59th wedding anniversary.

I took a snapshot of the post and sent it to my dad. He decided to go visit them. The ticket from Illinois to California was extremely expensive, he had a tight schedule, but he was determined to go. He did not even know where he would stay, but he was determined to, at least, see the man who's help had made him who he was today, even if it was for one last time.

Aunty Kathy, the daughter I had been chatting with on Facebook, was pensive: her dad could give up the ghost any minute; all they could offer my dad was the couch to sleep on; the nearest airport was 30 miles away, and there was no one to go pick him up. My dad still insisted.

Over the next two days, I struggled with installing Uber on his phone and setting it up (it is NOT easy teaching technology to someone over 60, believe me!), we checked for flights, the weather. And prayed.

God made it happen: my folks were able to get the money, my dad was able to get away from work, he booked his flight on time, Aunty Kathy's husband offered to pick him up at the airport, and paid for his hotel room for the two nights he stayed there. They took lots of pictures, called me via WhatsApp video call, and dad was able to see, hug, and talk to his hero.

I always wondered why dad would leave a career in banking, to go be a nurse, until I realized that Pastor Moon was a nurse, who trained thousands of nurses in Nigeria while he was around. His hero did it so well that he taught others, so of course he would.

Every time I remember, I just smile and get teary-eyed. The whole Moon family really appreciated the gesture. There was a lot of written letters, depicting gratitude. My dad was fulfilled. Thinking about him I am just happy I was able to help him achieve this, because he was too young when his biological father died, and he could not come home to Nigeria when his mother died. Being able to see this man that molded him at least one more time, meant the whole world to him.

Many people use technology everyday, for varied things. Staying in touch across borders and continents is one major use, but we must not use technology to override the ever-present need to hold on to, and reconnect with, the web that binds us all: love.

Good Deed: The Web that binds us part 2

Earlier in the year, I connected my dad to the angel who ensured he had an education, thanks to Facebook. Some weeks after posting an answer on Quora, something told me to go to Facebook and check out the daughters timelines. One of them had actually posted pictures of Pastor Moon, asking that we all call him to cheer him up, as he was battling cancer. I told my dad, who insisted I ask for permission from one of the daughters, before he would call. My dad would call, and chat with the pastor for a while.

Pastor Moon's health got a boost, and he was extremely happy that Dad called him (Whoever said our health is not connected to our emotions lied). That was March.

This is June, and I came across another Facebook post from one of the daughters, requesting for prayers for Pastor Moon who was losing the battle against cancer, and might not even make it to his 59th wedding anniversary.

I took a snapshot of the post and sent it to my dad. He decided to go visit them. The ticket from Illinois to California was extremely expensive, he had a tight schedule, but he was determined to go. He did not even know where he would stay, but he was determined to, at least, see the man who's help had made him who he was today, even if it was for one last time.

Aunty Kathy, the daughter I had been chatting with on Facebook, was pensive: her dad could give up the ghost any minute; all they could offer my dad was the couch to sleep on; the nearest airport was 30 miles away, and there was no one to go pick him up. My dad still insisted.

Over the next two days, I struggled with installing Uber on his phone and setting it up (it is NOT easy teaching technology to someone over 60, believe me!), we checked for flights, the weather. And prayed.

God made it happen: my folks were able to get the money, my dad was able to get away from work, he booked his flight on time, Aunty Kathy's husband offered to pick him up at the airport, and paid for his hotel room for the two nights he stayed there. They took lots of pictures, called me via WhatsApp video call, and dad was able to see, hug, and talk to his hero.

I always wondered why dad would leave a career in banking, to go be a nurse, until I realized that Pastor Moon was a nurse, who trained thousands of nurses in Nigeria while he was around. His hero did it so well that he taught others, so of course he would.

Every time I remember, I just smile and get teary-eyed. The whole Moon family really appreciated the gesture. There was a lot of written letters, depicting gratitude. My dad was fulfilled. Thinking about him I am just happy I was able to help him achieve this, because he was too young when his biological father died, and he could not come home to Nigeria when his mother died. Being able to see this man that molded him at least one more time, meant the whole world to him.

Many people use technology everyday, for varied things. Staying in touch across borders and continents is one major use, but we must not use technology to override the ever-present need to hold on to, and reconnect with, the web that binds us all: love.

Good Deed: The Web that binds us part 2

Earlier in the year, I connected my dad to the angel who ensured he had an education, thanks to Facebook. Some weeks after posting an answer on Quora, something told me to go to Facebook and check out the daughters timelines. One of them had actually posted pictures of Pastor Moon, asking that we all call him to cheer him up, as he was battling cancer. I told my dad, who insisted I ask for permission from one of the daughters, before he would call. My dad would call, and chat with the pastor for a while. Pastor Moon's health got a boost, and he was extremely happy that Dad called him (Whoever said our health is not connected to our emotions lied). That was March. Continue reading "Good Deed: The Web that binds us part 2"

Summary of the week from 19.06.2017

True Iron Bloggers:

Adedayo Adeniyi (@daydah) in {‘Decades’: ‘Chunks of Time’} :
David Opati Aswani (@susumunyu) :
Christine Graf (@christinegraf) :
Hagen Graf (@hagengraf) :
Dick Olsson (@dickolsson) :
Juergen Rinck (@irgendlink) :
Lena Roohnikan (@lerooco) :
Isa Schulz (@murgeys) :
Harry Tilley (@tilleyharry) in Harry Tilley’s Blog :
Harry Tilley (@tilleyharry) in Tilley France Blog :

The lazy ones:

  • Manfred Gosch (@1aolivenoel) (kind of holidays until August)
  • Joeri Poesen (@jpoesen) (Post was in last week – have to check – found …)
  • Moein Rezaei (@moeiiin)

Eliminated because of excessive debt:

Cash register:

this week: 10 €
total: 160 €
payed: 0 €
spend: 0 €

The PayPal account contains 50 Euro! 

Debts:

  • Moein Rezaei (@moeiiin) – 30 € or 6 good deeds
  • Joeri Poesen (@jpoesen) – 30 € or 6 good deeds
  • David Opati Aswani (@susumunyu) -25€ or 5 good deeds
  • Manfred Gosch (@1aolivenoel) – 10 € or 2 good deeds (on hold/holidays)
  • Hagen Graf (@hagengraf) – 10 € or 2 good deeds
  • Lena Roohnikan (@lerooco) – 10 € or 2 good deeds
  • Christine Graf (@christinegraf) – 5 € or 1 good deed
  • Juergen Rinck (@irgendlink) – 5 € or 1 good deed
  • Harry Tilley (@tilleyharry) – 5 € or 1 good deed
  • Adedayo Adeniyi (@daydah) –   minus 5 € because of good deeds

Previously retired (must pay 30 € for the re-entry):

  • Martin Gosch (since 16.01.2017)
  • David M.Wampamba (since 03.04.2017)
  • Osbert Mwijukye (since 03.04.2017)
  • Daniel Roohnikan (since 17.04.2017)
  • Jonathan Rukundo (since 13.03.2017)
  • Shedy Serem (since 16.01.2017)

Podcasts, Reden und Bundestagswahl

An diesem Wochenende musste ich mal wieder nach Deutschland fahren und hatte viel Zeit Podcasts zu hören. Ich überlege ja ob und wenn ja, was ich bei der Bundestagswahl wählen soll. Der Aufwachen Podcast mit Stefan Schulz und Tilo Jung ist wirklich hilfreich. Die beiden sind “jung” und sehen die Welt mit anderen Augen als ich. …

The post Podcasts, Reden und Bundestagswahl appeared first on Hagen Graf.

Stillstand

Nach Katze im Blogbeitrag zuvor kann eigentlich nur noch der Ruhemodus folgen: sprich, bis zum nächsten Liveblog-Projekt lege ich dieses Blog still. In Planung sind weitere UmsLand-Projekte in europäischen (Klein)Regionen (voraussichtlich ab 2018) und der Atlantik-Radweg im Blog radlantix.de als live gebloggte Radreise (wohl auch erst 2018). Nun aber erst einmal Sommerloch. Ab und zu … „Stillstand“ weiterlesen