dailyhack
dailyhack copied to clipboard
🐱💻 Tiny Tiny Hacks we use in our daily life.
You've setup your dns but it doesn't work. It typically means you've set it up wrong or the dns having propagated to all DNS servers yet. I use https://dnschecker.org/ to...
Paste these 3 lines of PHP code at the beginning of your PHP-file: (right after `
Put this in your bash profile: ``` function title() { echo -e "\033]0;${1:?please specify a title}\007" ; } ``` Then just type `title "myTitle"` in the terminal.
This terminal command will hide everything on your desktop, so it doesn't give you anxiety 😅 It doesn't actually delete the stuff on your desktop, it just hides it. You...
``` var x = 2; var y = 3; var z = 'hello'; console.log({x, y, z}); ``` This will print out the following: > {x: 2, y: 3, z: "hello"}
I use this command super often, basically whenever I want to push a new feature for KanbanMail to production. It pushes my dev branch, goes to master, merges my dev...
Link Preview Tool: I found this tool in Zeit example repository https://github.com/zeit/now-examples and It's quite helpful and Nice if A Blog post or any page don't have any featured image...
I use [Pablo](https://pablo.buffer.com/) for quickly creating a properly sized image for Twitter, Facebook, LinkedIn, and search engines. It's not as full featured as an image editor, but that is the...
I use Kent C. Dodd's [netlify-shortener](https://github.com/kentcdodds/netlify-shortener) tool to setup a free URL shortener on Netlify. It works by updating a `_redirects` file in your repository with a CLI command, so...
I'm using a hack to play YouTube Videos sometime while I do code. This trick is working on MacOs. `double click on video` and then click `Picture in Picture`. that's...