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.
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.
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.
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.
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.
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:
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.
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.
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.