Composer PHP Memory Limit on MAMP Pro

With every PHP update MAMP Pro adds an updated `php.ini file, so previous adaptations are lost after upgrading.

Interestingly, editing a specific PHP versions config file (via File > Edit Template > PHP -> [Version]) doesn’t have any effect on MAMP’s PHP used on the command line. To increase the PHP limit to be able to work with Composer I did the following:

  1. Find the current memory_limit value by running:
    php -r "echo ini_get('memory_limit').PHP_EOL;“
  2. Find out which php-ini is currently loaded on the command line by running:
    php -r 'phpinfo();' | grep 'php.ini'
  3. Update that config file

Rinse and repeat with every MAMP update.

Spotify is terrible for Audio Books and Podcasts

When I impulsively re-subscribed to Spotify Premium last week it was for listening to and finding new music. All the more I was pleasantly surprised when I discovered a bigger-than-expected selection of audio books being available on Spotify these days. I found myself thinking about weather this could even justify canceling my Audible subscription and stick with Spotify for the long run (I’m not sure yet if I want to pay for both services on a constant basis). Continue reading

Design Better

Discover. Learn. Elevate.
Introducing the best practices, stories, and insights from the world’s top design leaders. Loaded with in-depth books, podcasts, and more, DesignBetter.Co is your essential guide to building remarkable products and teams.

The Missing Journaling Workflow

Of the difficulty to drop Day One

When I first heard of my Day One becoming a subscription service I – once again – started to reconsider how I want to keep my journal.

I’ve been using Day One for years and I’m really grateful for who they made regular journaling work for me. It’s hard to argue that whatever kind of journal system one employs: it’s worthless if you don’t actually use it. Continue reading

Set Front Page from settings[.local].php in Drupal 8

When working on Drupal projects I usually need to set a static front page by referencing a Node’s ID. When working with different environments chances are high that Node ID varies from environment to environment.

Luckily we can easily override any configuration value in the settings file and thus have different values in settings.php than in settings.local.php. It’s simple as that: $config['system.site']['page']['front'] = '/node/1';

Home Office Monday

Lunch break happens here today, thanks to #HomeOfficeMonday at @nimius 🙂 Smells like a pine forest in southern France 🌲