Posts

Showing posts from May, 2017

SMTP_ISSUES, #MAILER_ISUSES, #NET::OPEN-TIME-OUT ERROR ON SERVER

If you are getting this type error on server. 
 1.  SMTP send mail connection timed out
 2.  Net::OpenTimeout (execution expired): 
running the following command on your droplet:
nc -z smtp.gmail.com 25 If it does not output the following, it's possible that SMTP is blocked on your droplet. In this case you should enable smtp setting from digital oceans. Also In that case, please file a support ticket and the support team will take care of it.

SPLIT BIG XML FILE INTO SMALL-SMALL CHUNK

Split big xml file into small-small chunksplit -b 100k -d -a 3 myxmlfile.xml newxmlfile.WE CAN REFER :-

http://unix.stackexchange.com/questions/1588/break-a-large-file-into-smaller-pieces

WITHOUT DEVISE LOGIN AND SIGN UP IN RAILS

We can follow the link below for authentication without using Devise Gem
https://gist.github.com/thebucknerlife/10090014