PHPNews

★ Fixing the valet share 301 Redirect Loop

One of the nice things of Laravel Valet is that it includes an easy way to make your local site available publicly. For this it has the aforementioned Ngrok built-in. To use it, just run the valet share command, and your local site will be shared through a *.ngrok.io subdomain. However, when combining valet …

Continue reading »

Written by Bram.us - - Aggregated on Friday November 16, 2018


★ Missing ~/.valet folder?

Earlier today I updated my Valet installation from version 2.0.x to 2.1.1. To my surprise the ~/.valet/ folder had gone missing, immediately making me think the update process somehow had gone wrong (even though Valet kept on serving sites) . Turns out that the ~/.valet/ folder got moved to ~/.config/valet/ …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday October 16, 2018


The Cost Of JavaScript In 2018

Addy Osmani: Building interactive sites can involve sending JavaScript to your users. Often, too much of it. Have you been on a mobile page that looked like it had loaded only to tap on a link or tried to scroll and nothing happens? Byte-for-byte, JavaScript is still the most expensive resource we send to mobile …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 3, 2018


What Made Darth Vader Visually Iconic

Always great stuff, by The Nerdwriter: About two years ago I started watching Star Wars with my children. Whilst watching the first movie (Episode IV) I kind of found Darth’s role quite disturbing. He was just floating there in the background, and all stuff that we associate with him wasn’t that well expressed. …

Continue reading »

Written by Bram.us - - Aggregated on Thursday August 2, 2018


carbon-cli – Carbon, from the CLI

carbon-cli is a CLI tool which interacts with the aforementioned Carbon , allowing you to create beautiful images of your source code. Installation per NPM/Yarn, or run it directly using npx npm i -g carbon-cli Usage is quite simple: carbon -f file.js carbon-cli – Carbon, from the CLI →

Continue reading »

Written by Bram.us - - Aggregated on Sunday July 15, 2018


Swoole – PHP asynchronous programming framework

Swoole is an high-performance network framework using an event-driven, asynchronous, non-blocking I/O model which makes it scalable and efficient. It is written in C language without 3rd party libraries as PHP extension. It enables PHP developers to write high-performance, scalable, concurrent TCP, UDP, Unix Socket, …

Continue reading »

Written by Bram.us - - Aggregated on Sunday July 15, 2018


CSS shape-outside Experiments

I like these pens by Kristopher Van Sant using shape-outside to wrap text in a shape. Take this heart for example: CSS Shapes Experiments → Back in 2006 (!) I created a small site/tool named “The Box Office” to fake that. It took the line-height and floated a truckload of boxes to one side to …

Continue reading »

Written by Bram.us - - Aggregated on Sunday July 15, 2018


Components and Concerns

Jeremy Keith, on Separation of Concerns and how that comes into play where one’s dealing with Component based design: My point is this: Separating structure, presentation, and behaviour is a good idea. Separating an interface into components is a good idea. Those two good ideas are not in conflict. They …

Continue reading »

Written by Bram.us - - Aggregated on Sunday July 15, 2018


30 seconds of PHP code

A curated collection of useful PHP snippets that you can understand in 30 seconds or less. These functions – like endsWith and startsWith for strings – should be part of the PHP core. 30 seconds of PHP code → (via Freek )

Continue reading »

Written by Bram.us - - Aggregated on Tuesday June 26, 2018


The Layouts of Tomorrow

With CSS Grid being available, Max Böck set out to find himself a layout challenge: I went over to dribbble in search of layout ideas that are pushing the envelope a bit. The kind of design that would make frontend developers like me frown at first sight. He settled on the “Digital Walls” shot (pictured …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday June 20, 2018


React Native at Airbnb

Gabriel Peal, Android developer at Airbnb: In 2016, we took a big bet on React Native. Two years later, we’re ready to share our experience with the world and show what’s next. The result is a 5-part series of posts: Part 1: React Native at Airbnb Part 2: The Technology Part 3: Building a Cross-Plat…

Continue reading »

Written by Bram.us - - Aggregated on Wednesday June 20, 2018


How Apple can fix 3D Touch

Eliz Kılıç writes down something that’s been bothering me too: Apple introduced 3D Touch and its new related interactions Peek and Pop in 2014. It’s been almost 4 years since its first introduction, yet people don’t know/use 3D Touch. Why would they? Even tech-savvy users don’t know which buttons offer 3D touch. …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday June 20, 2018