The OpenIndiana project is an enterprise operating system based on the illumos kernel, which is a fork of the OpenSolaris project. OpenIndiana is open source, free, and community driven, and because it is based on the OpenSolaris kernel, it supports my favorite file system – ZFS.
Continue reading Creating an OpenIndiana USB boot stick under Windows 7 →
In part 1, we set up a git server and created a blank project. Now let’s write some code on our development box and commit it to our git repo.
Continue reading Git part 2: interacting with your project →
Cookies are used to store a variety of shared state information between your browser and a web server. The most common use for cookies is to maintain your session state, since HTTP in itself is a stateless protocol.
Continue reading Session Cookie HTTPOnly Flag – Java, .NET Rails 3 and Coldfusion →
The last three times I upgraded the VirtualBox Guest Additions on my Backtrack box, they have not installed completely and cleanly. My guess is this has to do with lack of kernel 3.x support from VirtualBox that I’m sure they will add eventually, as I believe Backtrack with kernel 2.6 worked fine.
Continue reading Install/Upgrade VirtualBox Guest Additions on Backtrack 5 R2 →
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? →