PHPNews

★ When empty is not empty

Recently when I was working on a project I got some strange results when using the empty function. Here's what I was debugging. I've simplified the code a …

Written by murze.be - - Aggregated on Saturday May 19, 2018


Xbox Adaptive Controller

In my family, we are not big gamers. We have an old WII and then just iOS games. The main reason for this is because one of my family members has slight cerebral palsy that affects their entire left side. Going through life with this has its challenges and playing has always been pretty much out of the question. The …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Friday May 18, 2018


My extinguished kindle

Last night I reached for my Kindle to continue reading 1984. I had just started part 3 of the book and a big turn of events had just happened. Except, I couldn't. My Kindle's screen had cracked. Or the e-paper in particular. After doing some quick reading, it seems that this is fairly fatal for a Kindle and it was …

Continue reading »

Written by Remy Sharp - - Aggregated on Friday May 18, 2018


Weekly Update 87

We're on a beach! It's the day after 3 pretty intense days of NDC conference and the day before Scott heads back to the UK so beach was an easy decision. The conference went fantastically well and, in all honesty, was the most enjoyable workshop I think I've done out of ~50 of them these last few years. NDC will be …

Continue reading »

Written by Troy Hunt - - Aggregated on Friday May 18, 2018


Performance Impact of Removing OOBGC

Until last week, GitHub used an Out of Band Garbage Collector (OOBGC) in production. Since removing it, we decreased CPU time across our production machines by 10%. Let’s talk about what an OOBGC is, when to use it, and when not to use it. Then follow up with some statistics about the impact of removing it from …

Continue reading »

Written by GitHub Engineering - - Aggregated on Friday May 18, 2018


Final Tweaks

Now that anyone can pull in our preset, let's make a few final tweaks and call it a series! View the source code for this episode on GitHub.

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Distribute a Composer Package

Now that our preset is mostly complete, the next step is to distribute it as a reusable Composer package. Don't worry, it's easy. View the source code for …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Stubs

In this episode, we'll create a handful of stubs. In this context, a stub is simply a placeholder file that is constructed exactly as we wish for it to appear …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Tweak Your NPM Scripts

You'll likely want to replace or remove a number of the default npm packages that are included out of the box. Luckily, Laravel offers a method to assist with …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Macro it Up

Laravel presets allow us to configure the initial front-end scaffolding for any new Laravel project. While the framework ships with a few options out of the …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Redirect www to non-www subdomain

Nginx's server_name can handle multiple hostnames. But we often want to redirect "www" to non-"www" subdomains (or visa-versa!). (Don't forget to handle SSL connections to the domain you are redirecting). More info: https://t.co/WaBdUmDVwU pic.twitter.com/WcM2tEDqD7 — Chris Fidao (@fideloper) May 17, 2018 …

Continue reading »

Written by Servers for Hackers - - Aggregated on Thursday May 17, 2018