TypeScript Tip 💡 ️Did you know? You can assign field variables inline using TypeScript ✌️

JavaScript

Getting started with git 5 📣 Merging is bringing changes from separating branches together, this is quite common when more developers work on separate branches and need to bring all their additions together. Enjoy 😄

Tools

Vue Directive Shorthand Cheat Sheet! 👇

Vue.js

💛 JavaScript tip 💛 You can quickly filter out all falsy values from an array by combining filter with the Boolean constructor function. 👇🏻

JavaScript

If you want to automate an admin colour scheme based on the #WordPress environment type, you can do it with this code. Good as a mu-plugin.

PHP

TypeScript Tip 💡 If you cannot infer or define the type, use 'unknown' instead of 'any'. Using 'unknown' forces you to null-check or narrow the type before using it. 'unknown' is the type-safe counterpart of 'any'.

JavaScript

💛 JavaScript tip 💛 This is how you calculate the total sum of an array with only one line of code. 👇🏻

JavaScript

React Tip 💡 You can use 'React.Children.toArray' to let React automatically assign a key to its children.

React

🔥Cool Tip: How to get fonts and colors from any website. 1. Enable CSS Overview under settings > experiments > CSS Overview. (you should see a new CSS Overview tab after this) 2. Click on Capture Overview from CSS Overview tab. 3. Enjoy!

CSS
Browsers

You can also skip command prompts when seeding the database by using -n flag #Laravel

Laravel

Here's how you can use PHP's spread operator to merge two arrays together. Technically this will be faster than array_merge too! Spreads also support anything implementing Traversable.

PHP

Do you have multiple #Laravel factory states and you want to seed the database with each state? Take this example where it will ask you how many entries for each state you want to create

Laravel

The tweet will be reviewed and posted as soon as possible

{{ newSnippetForm.errors.url[0] }}

{{ newSnippetForm.errors.categories[0] }}