revath
Wed Sep 19 2018
use Application.get_env(:your_app,:env)
in prod instead of Mix.env
. when you deploying to prod. https://gitlab.com/codemancers/diffity-vue/commit/076c54a418d988208627f61f206176744aefca30
akshay
Tue Sep 18 2018
React provides us with Portals
which can be used to render children into a DOM node that exists outside the DOM hierarchy of the parent component
akshay
Tue Sep 18 2018
React provides us with Portals
which can be used to render children into a DOM node that exists outside the DOM hierarchy of the parent component
goromlagche
Fri Sep 14 2018
dev/tty
https://linux.die.net/man/4/tty
yuva
Mon Sep 10 2018
GCE has quotas on your account. You can see them here https://console.cloud.google.com/iam-admin/quotas and you need to mail them if you wish to increase any of your resources under your project. So, you can't just scale up to whatever scale you would like to!
mrinmoy
Mon Sep 10 2018
rails 5 has config.action_view.automatically_disable_submit_tag set to true by default
kamal
Thu Sep 06 2018
If you have trouble booting after a routine update, just select your main hard drive as the startup disk and it will boot normally. More info here: https://jeroenmols.com/blog/2017/12/26/macosupdate/
harshwardhan
Fri Aug 31 2018
accessing a deep nested object in javascript made easy https://github.com/facebookincubator/idx
akshay
Thu Aug 30 2018
Rails ActionController provides :stale?
and :fresh_when
methods which can be use to set HTTP_IF_NONE_MATCH
and HTTP_IF_MODIFIED_SINCE
headers on the browser. This helps the client to check whether the page has been modified. Response freshness is checked by matching Last-Modified
and ETag
from the server against the client request's HTTP_IF_MODIFIED_SINCE
and HTTP_IF_NONE_MATCH
headers. If it matches, then the server responds with 304 (“not modified”) status code. This will make the client to make use of cached copy of the page - thus saving us from the time spent in generating the response.
kamal
Tue Aug 28 2018
rspec has a --bisect
flag that helps to chase down order-dependent test failures. It will figure out the minimum number of tests when run in order will produce the test failure.
Showing 48 to 50 of 66 results