{ All snippets }

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

Wes Bos

Wes Bos @wesbos

πŸ”₯ 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

CSS
Caleb Porzio

Caleb Porzio @calebporzio

πŸ”₯ 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

Paul Redmond πŸ‡ΊπŸ‡Έ

Paul Redmond πŸ‡ΊπŸ‡Έ @paulredmond

πŸ”₯ If you work with PHP composer all day, consider adding ./vendor/bin to your path to save those precious keystrokes ⌨️ https://t.co/J6V1ZLxSYZ

PHP