Today I learned
  • Home
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
Sign in Subscribe

email

A collection of 2 posts
rails

Rails : Devise : Send different Emails for Confirmation based on the presence of attribute or parameter

So what am I up to today? - I thought of scribbling down some pieces of code that I wrote to help one of my interns in my company to help complete a task. I was juggling with my daily work and I suddenly got a ping in our slack
Apr 27, 2016 1 min read
til

Email notification when someone logs in via SSH

To setup email notification, login to your server as root. Edit .bashrc vim .bashrc add the following line at the end, changing "ServerName" to the host-name of your server and "[email protected]" to your own email address. echo 'ALERT - Root Shell Access (Server-name) on:' `date` `who` | mail
Jul 13, 2015
Page 1 of 1
Today I learned © 2023
Powered by Ghost