🔥 You can use new CSS logical properties instead of top/bottom/left/right. Makes designing multi-language websites much easier when the flow direction changes. CSS Grid and Flexbox already setup for this with start/end values. https://t.co/gielwhWQBI
🔥 Something I'm doing a *lot* in my own codebases: extracting exception messages to domain exceptions and readable static methods. Really cleans up codebases and allows for better reusability.
More #DevTips: https://t.co/LhsCAz563J https://t.co/OQH4D3IZV9
Replacing all occurrences of a substring with another string is a common operation.
The new String.prototype.replaceAll API is here to help! 🎉
🔥 Super clean little way to disable submit buttons while a form is posting 👌
Just learned that you can reference an input element in the handler by "name" (no long document.querySelector) 🙌
(Video in reply) https://t.co/BqhOETXIq5
Hey Future Jake 👋 🤓
Need to create a large file full of random stuff on the command line? dd to the rescue!
dd if=/dev/urandom of=file.txt bs=1048576 count=100
The last number is the approximate final file size in MB. https://t.co/810bh0hEZp
#Laravel tip of the day: did you know that in JSON Resource class you can specify with() or withResponse() methods to return some *meta* data with response? Like version number or some header value. Read more here: https://t.co/ruuFOqwdPI https://t.co/yFh1OOyoob
🧐 Most of our @laravelphp Passport implementations do not use actual OAuth stuff. They are limited to Password Grant Tokens.
And by default Passport adds 15 routes. This is how to tweak it to add only 3 👇 https://t.co/5REY7XuJZT
DevTools Tip: https://t.co/mUe3Mc48hz() is great for grouping console messages to make them more readable 📖 https://t.co/xem3kfkvn8
Use CSS variables in your transforms so you don't need to rewrite the whole transform rule in order to transition a single property. Thanks @syntaxfm @wesbos @stolinski #webdevelopment #code https://t.co/hOyqnG5oH0
🔥 If you work with PHP composer all day, consider adding ./vendor/bin to your path to save those precious keystrokes ⌨️ https://t.co/J6V1ZLxSYZ