Devhints.io Profile Banner
Devhints.io Profile
Devhints.io

@devhints

Followers
8,316
Following
0
Media
44
Statuses
79

I help developers learn new things. Random TIL's everyday!

Joined October 2017
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@devhints
Devhints.io
6 years
CSS: you can increase specificity using [class]. ⚡
Tweet media one
5
32
109
@devhints
Devhints.io
3 years
Grep is so flexible. Thanks to mtking2 on GitHub for these!
Tweet media one
2
12
64
@devhints
Devhints.io
6 years
Did you know you can search for CSS properties in Chrome's inspector? Great for hunting that one rule. 👌
0
18
45
@devhints
Devhints.io
7 years
The new #nocode cheatsheet has everything you need to write secure applications. ⚡
Tweet media one
0
8
37
@devhints
Devhints.io
6 years
Here's a list of iPhone screen sizes! ⚡
Tweet media one
1
5
21
@devhints
Devhints.io
7 years
SQL: Joins explained in a venn diagram
Tweet media one
0
7
23
@devhints
Devhints.io
6 years
Great for HTML comments!
@oriolbosch
Oriol Bosch
6 years
Just discovered figlet via @devhints
Tweet media one
0
2
15
0
3
21
@devhints
Devhints.io
4 years
All good now, site is back up 🎉 Enjoy!
1
0
17
@devhints
Devhints.io
7 years
CSS: Here's a list of all system font fallbacks! ⚡
Tweet media one
0
4
17
@devhints
Devhints.io
7 years
css: the new `all: initial;` will reset everything (margins, padding, and so on). You need cssnext to make it work for now, though. ⚡
Tweet media one
0
5
17
@devhints
Devhints.io
7 years
JavaScript: your browser has a text-to-speech engine. ⚡️
Tweet media one
0
7
17
@devhints
Devhints.io
3 years
Check out these Vim digraphs: type ctrl-k followed by the letters in blue to enter these Greek letters. Thanks fo ehrenmurdick on GitHub!
Tweet media one
0
3
14
@devhints
Devhints.io
4 years
Happy new year! Got a new chatsheet for Ruby's stimulus-reflex. Thanks to existentialmutt on GitHub for this :)
Tweet media one
1
1
12
@devhints
Devhints.io
7 years
Generate cool text: $ echo "Your text here" | figlet ⚡
Tweet media one
1
3
12
@devhints
Devhints.io
6 years
This is what it's all about: helpin' a brother (or sister) out. <3
@brunoskrebs
Bruno Krebs
6 years
Every time I spend a couple of months away from a technology, I feel a little rusty when I come back to it. On times like that, cheatsheets can prove useful. Like this one for @reactjs :
2
7
18
0
1
13
@devhints
Devhints.io
4 years
We are migrating hosts for right now, and might be causing some downtime. Please bear with us!
0
2
10
@devhints
Devhints.io
7 years
You can convert videos to animated GIF's in the command line using mplayer + imagemagick. ⚡️
Tweet media one
0
4
12
@devhints
Devhints.io
7 years
HTTPie is a very useful command-line HTTP client! Kinda like curl, but easier ⚡️
Tweet media one
0
8
12
@devhints
Devhints.io
6 years
Did you know bash supports arrays?
2
0
12
@devhints
Devhints.io
7 years
HTML: There's <input type='time'> and <input type='date'>, never mess with 3rd party datepickers again! ⚡️
0
3
10
@devhints
Devhints.io
7 years
ZSH: If you forgot to add 'sudo' on your last command, type "sudo !!" ⚡️
Tweet media one
1
1
7
@devhints
Devhints.io
7 years
Vim: vim scripting isn't that hard. See our quick guide at
Tweet media one
0
5
9
@devhints
Devhints.io
7 years
JavaScript: shell.js lets you do some common CLI commands in Node.js. ⚡️
Tweet media one
0
0
10
@devhints
Devhints.io
7 years
bulma (CSS) supports `widescreen` and `fullhd` screen sizes. ⚡
Tweet media one
0
1
9
@devhints
Devhints.io
7 years
JavaScript: convert any date into a UNIX timestamp by adding + to it, eg, `+new Date()` ⚡️
Tweet media one
0
2
8
@devhints
Devhints.io
7 years
Thanks for all the support on Devhints over at @ProductHunt ! <3
@ProductHunt
Product Hunt 😸
7 years
Documentation is annoying to write AND annoying to read 💻 DevHints creates TL;DR for docs to fix the latter 🙏
Tweet media one
0
1
28
0
0
9
@devhints
Devhints.io
6 years
Redux (js): devhints has a list of a few interesting & recommended Redux plugins. ⚡
Tweet media one
0
3
7
@devhints
Devhints.io
7 years
HTML: You can set Android toolbar colors via: <meta name='theme-color' content=' #ff00ff '>
1
1
6
@devhints
Devhints.io
7 years
figlet: you can change fonts using `-f <fonthere>`. ⚡
Tweet media one
0
0
7
@devhints
Devhints.io
7 years
Some cool links for learning #vim 👾
@dieegosf
Diego Fernandes
7 years
Quer aprender Vim? 1º - Vim Adventures: 2º - VimGenius: 3º - Vim Cheatsheet:
0
2
3
0
2
7
@devhints
Devhints.io
6 years
Stylus (css): Stylus supports both CSS-style syntax and indent-style syntax flawlessly. ⚡
Tweet media one
0
1
4
@devhints
Devhints.io
7 years
React: use componentDidCatch() to catch errors in your components. ⚡️
Tweet media one
0
0
7
@devhints
Devhints.io
7 years
Redux (JavaScript): Let's learn about middlewares: ⚡️
Tweet media one
0
1
6
@devhints
Devhints.io
7 years
Markdown in one image ⚡️
Tweet media one
0
0
6
@devhints
Devhints.io
7 years
CLI: change extensions easily using `rename`: $ rename -s .jpg .jpeg * ⚡
Tweet media one
0
1
5
@devhints
Devhints.io
7 years
CSS: You can have multiple backgrounds by separating them with commas. ⚡️
Tweet media one
0
1
5
@devhints
Devhints.io
7 years
Hello! I'm 👌♥️
0
3
4
@devhints
Devhints.io
7 years
Thanks @codesponsor for making running devhints.io sustainable. ♥️
@rstacruz
Rico Sta. Cruz
7 years
Thanks Eric of @codesponsor for believing in open source! 🔥
Tweet media one
3
0
23
0
1
5
@devhints
Devhints.io
7 years
React: optimize your components by using React.Component instead of React.Component. ⚡️
Tweet media one
0
0
5
@devhints
Devhints.io
7 years
jest (js): beforeEach() runs before every test, beforeAll() runs just once. ⚡
Tweet media one
0
0
5
@devhints
Devhints.io
7 years
Jest (JavaScript): you can mock setTimeout/setInterval timers in tests. ⚡️
Tweet media one
0
0
5
@devhints
Devhints.io
7 years
CSS: The `background` property is shorthand for color, image, position, size, repeat and attachment. ⚡️
Tweet media one
0
0
4
@devhints
Devhints.io
7 years
Xpath: You can test out xpath expressions in your browser via $x('//div') ⚡️
Tweet media one
0
1
2
@devhints
Devhints.io
7 years
iPhone 7 and 8 have the same resolution. ⚡️
Tweet media one
0
0
3
@devhints
Devhints.io
7 years
Document your JavaScript with Jsdoc comments. Here's a quick overview of common features:
@nin_bryan
Bryan pico🌼🐤
7 years
The ultimate cheatsheet for Jsdoc.
1
0
1
0
1
3
@devhints
Devhints.io
7 years
Sketch: here are some common shortcuts. ⚡️
Tweet media one
0
1
3
@devhints
Devhints.io
7 years
Vim: aside from Esc, you can exit insert mode using ^[ or ^C. ♥️
0
1
3
@devhints
Devhints.io
7 years
Ansible: there are 3 common formats in defining your tasks. ⚡️
Tweet media one
0
1
3
@devhints
Devhints.io
7 years
Thanks for the mention, @msdevCA :)
0
0
2
@devhints
Devhints.io
7 years
CSS: The `font` property is shorthand, but the `font-family` segment is required. ·
Tweet media one
0
0
3
@devhints
Devhints.io
7 years
Bash: `rm image-{a,b,c}.jpg` will remove image-a.jpg to image-c.jpg. ⚡️
0
1
2
@devhints
Devhints.io
7 years
Bash: "named pipes" lets you get the output of a command and use it like it's a file. ⚡️
Tweet media one
0
0
2
@devhints
Devhints.io
6 years
@pjhampt0n Thank you! :) Glad you like it!
0
0
1
@devhints
Devhints.io
7 years
Cron format for "every hour" is `0 * * * *`.
Tweet media one
0
0
2
@devhints
Devhints.io
6 years
Spacemacs (emacs): `SPC bn` goes to the next buffer,` SPC bp` goes to the previous. ⚡
Tweet media one
0
0
1
@devhints
Devhints.io
7 years
Atom: ctrl+shift+k deletes the current line. ctrl+shift+d deletes it. ⚡️
Tweet media one
1
1
1
@devhints
Devhints.io
7 years
npm & Semver: version ranges ^1 and ~1 and 1 and 1.x are all the same. ⚡️
Tweet media one
0
0
1
@devhints
Devhints.io
7 years
@ampsantos0 Thank you!! 🤗
0
0
1
@devhints
Devhints.io
7 years
0
0
0
@devhints
Devhints.io
7 years
Hey friends! @rstacruz of Devhints.io will be on vacation for the upcoming week. Will attend to your PR's in a few days!
0
0
1
@devhints
Devhints.io
7 years
@yowainwright @rstacruz <3 btw, I really suggest using Jest instead of mocha-jsdom! Jest has built-in support for jsdom.
0
0
1
@devhints
Devhints.io
7 years
@hamza_ouaghad Thanks bruh 👊
0
0
0
@devhints
Devhints.io
7 years
@brewNcode Hope you find it useful! :)
0
0
1
@devhints
Devhints.io
7 years
JavaScript: in ES2015, you can now do multiline strings with backticks: console.log(` hello world `) ⚡️
0
0
1
@devhints
Devhints.io
7 years
@nekosamurai411 Awesome! Glad you appreciate it :)
0
0
0