Yuva
Sat Jun 16 2018
If one wants to run iex without starting any applications
iex -S mix run --no-start
is very handykamal
Thu Jun 14 2018
For models A and B, if A has_one B, then A.new.b.build wont work. You have to say A.new.build_b.
akshay
Mon Jun 11 2018
Sidekiq processes jobs in a multithreaded process. Which means there is no guarantee that the jobs that are enqueued will processed in the same order. So you'd need to consider the aspect of context switch that can happen and thus make sure that the worker code is thread safe.
Yuva
Tue May 22 2018
Today I came to know that the name of process which takes care of clipboard is called
pboard
on mac. If clipboard is acting funny, just kill this process!harshwardhan
Thu May 17 2018
while tesing with enzyme if you are unit testing your component method with component.instance().methodName() always double check if the method that you are testing have access to "this" variable manually. Currently even if it does not have "this" access the test will pass
emil
Wed May 16 2018
You can create a quick screencast using hangouts and then share the video as a private youtube video
mrinmoy
Tue May 15 2018
mrinmoy
Tue May 15 2018
emacs has a "M-x base64-encode-region"
manu
Mon May 14 2018
In ruby you can use any single non alpha numeric character as delimiter for % notation. The following are all same %(foo bar); %w[foo bar]; %w%foo bar%; %w$foo bar$; And many more. https://en.wikibooks.org/w/index.php?title=Ruby_Programming/Syntax/Literals#The_%_Notation
mrinmoy
Fri May 11 2018
git bundle https://git-scm.com/docs/git-bundle
Showing 59 to 61 of 73 results