Skip to content

Instantly share code, notes, and snippets.

this is just text file. you can create any other type of file as well !
$ git config --global core.editor 'mate -w'
sample file
# in your ~/.profile file, append a line like
alias go='cd ~/projects/'
export LSCOLORS='xx'
alias go='cd ~/projects'
alias ls='ls -F -a -G'
alias ep='mate ~/.bashrc'
alias rl='source ~/.bashrc'
require 'tlsmail'
Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)
ActionMailer::Base.delivery_method= :smtp
ActionMailer::Base.perform_deliveries= false
ActionMailer::Base.default_charset="utf-8"
ActionMailer::Base.raise_delivery_errors =true
ActionMailer::Base.smtp_settings= {
export PS1="\[\033[00m\]\u@\h\[\033[00m\]:\[\033[00m\]\w\[\033[00m\] \`ruby -e \"print (%x{git branch 2> /dev/null}.grep(/^\*/).first || '').gsub(/^\* (.+)$/, '(\1) ')\"\`\[\033[00m\]$\[\033[00m\] "
validates_format_of :email,:with => /(\w[-._\w]*\w@\w[-._\w]*\w\.\w{2,3})/
# reg exp for email validation
.bundle
db/*.sqlite3
log/*.log
tmp/**/*
config/database.yml
.DS_Store
doc/api
doc/app
*.swp
*~