dailyhack
dailyhack copied to clipboard
🐱💻 Tiny Tiny Hacks we use in our daily life.
In Angular it's easy to view JSON object just bind like this. ``` {{jsonObject | json}} ``` In React You have to stringify first to the JSON object. ``` {JSON.stringify(this.state.json,...
[Join!](https://twitter.com/sagalbot/status/1120138210645037057) **Just Reply, and get the Party Started**
You can simply use `location = location;` or `location.reload();` in your JavaScript to reload the page current page. 533 more ways how you can do it: http://www.phpied.com/files/location-location/location-location.html
Everyone knows that if you use `target="_blank"` on a link tag that link will be open in a new tab. But using just this is a security risk and could...
**I found out this trick by Sergio Mattei, The Creator of Makerlog :)** _It`s very annyoing when I have to use a differnt email everytime I use a website!_ Stop...
I use this when need to quickly add some HTML to a page programmatically. Code is: ```js function el (type, attrs, children) { children = children || [] attrs =...
🌎 [FixMySpeakers.com](https://fixmyspeakers.com/) ![solution](https://user-images.githubusercontent.com/10732770/55984640-dff2d400-5c6b-11e9-834f-ca8b20ac3a15.gif) 🛠 How it works It works just like the ⌚️ Apple watch's built-in water ejection feature. It plays a specific tone that generates sound waves which causes...
Press `ctrl + cmd + space` and display Character Viewer. Go to the Emoji section and display emojis. Double click on the Emoji of your choice to insert it in...
You can add unlimited alias to your gmail account adding a '+'. eg : email : [email protected] alias1 : [email protected] alias2 : [email protected] You can filter emails by theses alias
If you use VSCode and prefer to use sass instead of plain old css. You can install the [Live Sass Compiler](https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass) from the extension marketplace. After you installed the extension...