dailyhack
dailyhack copied to clipboard
🐱💻 Tiny Tiny Hacks we use in our daily life.
We sometimes write the same code multiple times. For example Configs (related to webpack bable, prettier, eslint etc), frequently used react component code and other boiler plate code. Some of...
Use CSS class names to easily change stuff on your websites. It keeps code cleaner and builds your CSS-vocabulary over time. For example toggling display of an element:- **CSS** ```...
Get your public SSH keys from GitHub ```https://github.com/username.keys ``` Replace "username" with actual GitHub username [Source](https://twitter.com/seanwalberg/status/1118186667653902336)
I just leanred this hack that you can get your GitHub Profile Photo URL by adding `.png` in the last of your github profile URL. Like this. GitHub Profile: [https://github.com/mddanihyusuf](https://github.com/mddanihyusuf)...
Recently I add search input box into dailyhack.xyz and without search icon the input doesn't feel good according to UX. So, to add a icon inside input box need more...
1. create emoji by typing : https://matthewpalmer.net/rocket 2. you can thread by click + ![](https://i.ibb.co/W3KNn29/maker.gif)
Last week I build an tool to make quick JSON API for quick use and host them on GitHub Repository. Here is the tool: https://apiwithgithub.com [![Tool Demo](https://img.youtube.com/vi/WE2uyOpA11g/0.jpg)](https://www.youtube.com/watch?v=WE2uyOpA11g) 📢 Good New...
This is for adding contributors into README.md
How to make ASCII tables with a simple Python library. Like this: ![image](https://user-images.githubusercontent.com/9165019/57144727-51dbba80-6ddf-11e9-9d86-e5d92166bd5c.png) Use this Pythin Library: [https://pypi.org/project/terminaltables/](https://pypi.org/project/terminaltables/) Suggested by @sergio
I'm building an small project with GitHub APIs and by default this is the config `Cache-Control: public, max-age=60, s-maxage=60` Means GitHub APIs will be cache for next 60 sec of...