yuva
Mon Mar 05 2018
We can specify integrity and crossorigin on link and script tags. More here https://hacks.mozilla.org/2015/09/subresource-integrity-in-firefox-43/
yuva
Mon Mar 05 2018
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden Looks like this attribute can be used to preload content, or am I wrong?
mrinmoy
Mon Feb 26 2018
a sample/template rspec spec to test concurrent api calls. https://gist.github.com/goromlagche/835bd371d5e4825580e8c9e4430c7ea2
revath
Wed Feb 21 2018
Never Wrap a component with HOC inside the render method. This will cause numerous unmount and mount of same component on each render.
atul
Tue Feb 20 2018
Vim tip - Hitting g Ctrl-g will show you some tech info about the current file, like number of words or how many bytes it has
-- Col 1 of 25; Line 184 of 184; Word 471 of 472; Byte 4266 of 4291
-- Col 1 of 25; Line 184 of 184; Word 471 of 472; Byte 4266 of 4291
atul
Thu Feb 15 2018
In ssh url
git@github.com:code-mancers/engineering-blog.git
git is the user on github.com server. Even ssh://code-mancers@github.com/engineering-blog.git
is a valid git url since git tries to clone it but since there is no code-mancers user on github hence git is not able to clone it.emil
Tue Feb 13 2018
You can use https://www.fullstory.com to record user sessions and play back interactions. UX designers use this tool to understand how to improve their design.
harshwardhan
Tue Feb 13 2018
always use default props while writing react component, reduces the number of unexpected bugs which are hard to reproduce.
manu
Tue Feb 13 2018
a
tags without an href
are not links, they are placeholders for links. Also, capybara only click on links which have the href attribute.manu
Fri Feb 02 2018
Difference between usage of size/count/length when dealing with ActiveRecord::Relations and got rid of many
COUNT(*)
queries. Good article on the same - http://work.stevegrossi.com/2015/04/25/how-to-count-with-activerecord/Showing 62 to 64 of 73 results