From git-scm.com: “Git is distributed version control system focused on speed, effectivity and real-world usability on large projects.” It is the new subversion. Every coder seems to be using it and every coder seems be loving it. I’ve only scratched the surface with it and can already see how it will help me manage development on my current project.
Continue reading Git part 1: Intro to git, setup a git server on CentOS and create a new project
Like PHP or any other web programming language, you can deploy multiple instances of the same Rails application on the same server. One reason for having multiple instances on the same server would be the need for multiple exclusive data sets while saving costs on hardware and administration from having to maintain multiple boxes. All you need to do is duplicate the application files, change your database configuration in each directory, and configuring some virtualhost settings.
Continue reading Separate session per URI under Rails 3.1 and Phusion Passenger
I often wish I knew when a command in bash’s history was run. Luckily, you can add it for all future commands. Put this in your bash_profile or bashrc:
Continue reading Bash history with timestamp
dirlistdiff.sh is a simple bash script to send an email alert when items are either added or removed from a directory. The script is intended to be run as a cron job on a regular basis.
Continue reading Script: email alert on directory changes
netstat on Solaris lacks some of the options that linux and Windows netstat have. Most noteably, a flag that will allow you to see which process is bound to a listening network port is missing. On linux, this flag is -p and on Windows it is -b.
Continue reading Solaris – show listening process without lsof
The SSLv2 protocol is an obsolete version of SSL that has been deprecated since
1996 2011 due to having several security flaws. Current standards (2016) are SSL 3.0 and TLS 1.0TLS1.0-1.2 with SSL being fully deprecated, however, a common finding in Nessus scans of web servers SSLv2 is still enabled. IIS through v7 and Apache with OpenSSL prior to v1.0 have it enabled by default.
Continue reading SSLv2, why are you still around?