PHPNews

Implementing Dark Mode on adactio.com

Jeremy recently implemented “Dark Mode” on his site. Tanks to CSS Custom Properties the implementation is pretty straightforward (also see my writeup here ) . But of course, Jeremy added some extra details that make the difference: In Dark Mode images are toned down to make ‘m blend in better, as detailed …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday October 9, 2019


GitHub CI Workflow for PHP applications

Mattias Geniar has shared his GitHub Workflow to make GitHub do the CI work for PHP applications: on: push name: Run phpunit testsuite jobs: phpunit: runs-on: ubuntu-latest container: image: mattiasgeniar/php73 steps: - uses: actions/checkout@v1 with: fetch-depth: 1 - …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday October 9, 2019


Political Enemies

Food for thought…  If you have a friend that aligns with the opposite political party, can you still be friends?  If you have a friend running for office for the opposing political party, would you donate? If you have a friend running for office for the opposing political party, would you help them campaign? …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday October 9, 2019


Reduce Duplication

Your next technique is to reduce duplication. If you review our currentArticlesController, we reference request keys in multiple places. Now as it turns out, …

Written by Laracasts - - Aggregated on Wednesday October 9, 2019


Nevermore, Amazon

Today a customer mentioned that she could get a new hardcover book online for $15. Our mission is not to shame anyone for their shopping practices, but we do …

Written by Signal vs. Noise - - Aggregated on Wednesday October 9, 2019


Folder types in AppleScript

I've recently moved to Adobe Lightroom Classic for photo editing, but am still using Apple Photos for viewing my photos on my iPhone and iPad. As such, I wanted an easy way to import photos exported from Lightroom into Photos, so I turned to AppleScript. My requirements are that I want to import all the photos in …

Continue reading »

Written by Rob Allen - - Aggregated on Wednesday October 9, 2019


Blogroll

I’m in a nostalgic mood and missing the web of the old days. I’m thinking about how we all used to have personal blogs, read through RSS, and we’d discover others through blogrolls. In order to help showcase personal bloggers that I follow I’ve created an old school blogroll page  with a list of some of the people …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday October 9, 2019


This site now supports dark mode

I prefer to use light interfaces, so I rarely use dark mode in macOS or iOS. I often see people add dark mode to their sites, but never really knew whether visitors actually care. I started a Twitter poll : Do you consider dark mode on websites / blogs (not apps) useful? The poll is still open. At the time of …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Wednesday October 9, 2019


Leverage Route Model Binding

So far. we've been manually fetching a record from the database using a wildcard from the URI. However, Laravel can perform this query for us automatically, …

Written by Laracasts - - Aggregated on Tuesday October 8, 2019


Listing your most used commands

A fun little command line task is to retrospectively look back at all the commands you run to which you use all the time. You'll find similar solutions to this on sites like StackOverflow, but they're not quite right. Since quite often commands are piped together the solutions generally ignore the piped commands. So …

Continue reading »

Written by Remy Sharp - - Aggregated on Tuesday October 8, 2019


Xdebug Update: September 2019

Xdebug Update: September 2019 London, UK Tuesday, October 8th 2019, 09:25 BST Another month, another monthly update where I explain what happened with Xdebug development in this past month. It will be published on the first Tuesday after the 5th of each month. Patreon …

Continue reading »

Written by Derick Rethans - - Aggregated on Tuesday October 8, 2019


React's versioning policy

React follows semantic versioning, but with a twist. From their versioning policy : When releasing critical bug fixes , we make a patch release by changing the z number (ex: 15.6.2 to 15.6.3). When releasing new features or non-critical fixes , we make a minor release by changing the y number (ex: …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday October 8, 2019


Hacktoberfest for design

Caneco had a cool idea for a spin on the Hacktoberfest to make logos for open source projects and submit the designs as PR’s. Being a fan of making illustrations I asked if I could help him and he agreed, so I’m going to make some logos this month and here is my first for the Laravel sweet alert package : Sweet …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday October 7, 2019