author avatar

manu

Tue Jan 16 2018

There is a global location for git ignore *nix - ~/.config/git/ignore
author avatar

harshwardhan

Sun Jan 14 2018

open chrome devtools, press cmd(ctrl) + shift + p and type show coverage and press enter, once you reload the page you can see the amount of JS fetched and how much is actually getting used on that page
author avatar

harshwardhan

Wed Jan 10 2018

Array.from() takes a second argument which is a map. Example: Array.from(Array(10), (element, index) => //some logic to fill the array)
author avatar

manu

Fri Jan 05 2018

Rails console does lazy connection to database and this behaviour can be changed with by adding ActiveRecord::Base.connection to console config block.
author avatar

mrinmoy

Wed Jan 03 2018

"localization" referred as "l10n", and "internationalization" referred as "i18n". cause,
l10n => "l" in between 10chars(o, c, a, l, i, z, a, t, i, o) and then "n"
i18n => "i" in between 18chars and then "n"
Also Globalization (g11n), Localizability (l12y).
I didnt knew, never noticed, and I feel stupid now :P
author avatar

harshwardhan

Wed Jan 03 2018

[...Array(100).keys()] will return a range from 0 to 100

Showing 60 to 62 of 69 results