{ All snippets }

Tweetsnippet is a curated list of tips and tricks from Twitter.

Liam Hammett

Liam Hammett @LiamHammett

๐Ÿ”ฅ With Laravel Mix, if you're building Sass files, you can pass a list of PostCSS plugins as the fourth parameter that will only apply to the given file. This is useful if you want one process to handle multiple things as usually the postCss method will apply to all CSS files https://t.co/B67M4kWOX4

Jason McCreary

Jason McCreary @gonedark

Piggybacking off the last ๐Ÿ”ฅ tip, most Blade templates simply use the `if` directive. However, there are so many more Blade directives available. These are not only more expressive, but often streamline the code. Here's a side-by-side comparison: https://t.co/Z2Edmf8kDO

Tim MacDonald

Tim MacDonald @timacdonald87

๐Ÿ‘จโ€๐Ÿ”ง Finally got sick of seeing this error when pushing new branches. Turns out a simple config option allows `git push` to do the heavy lifting. Why is this not the default?! Do yourself a favour ๐Ÿ‘‡ https://t.co/hBJa5JJbIm

GIT