To view the differences side by side between two files:
diff -y FILE1 FILE2 | less
Using this on large diffs, can quickly show you exactly what changed between the two files in a human readable format.
diff -y FILE1 FILE2 | less
Using this on large diffs, can quickly show you exactly what changed between the two files in a human readable format.
In Gmail | Shift + T | Create a task based on the open message |
G and then K | Open Tasks, or shift the cursor from Gmail to Tasks | |
In the Tasks Window | Tab | Moves task right ("subtasks") |
| Shift + Tab | Moves task left |
Ctrl + Up | Moves task up | |
Ctrl + Down | Moves task down | |
Shift + Enter | Edit task details, including due date or notes | |
Esc | Close Tasks | |
Shift + Esc | Shift the cursor from Tasks to Gmail |
at 12:00 /EVERY:Su Forfiles.exe -p C:\WINDOWS\system32\LogFiles\W3SVC1 -m *.log -d -30 -c \"Cmd.exe /C del @path\"
Keep an inventory. A simple spreadsheet should suffice. If you have employees, account for your time and their time in handling the items. Treat their time spent as part of the cost, but don’t over-do-it. If some products take more time to prepare, treat their time as sunk costs and move on.
I used the steps outlined here:https://help.ubuntu.com/8.04/serverguide/C/certificates-and-security.html
SummaryGo to the home directory by executing the following command:cd ~Generate the keys for the Certificate Signing Request (CSR) by running the following command:openssl genrsa -des3 -out server.key 2048Enter an 8+ character passphrase when prompted.Create the Certificate Signing Request (CSR) using the following command:openssl req -new -key server.key -out server.csrOPTION 1: If you are actually going to be in production, then at this point you would submit the CSR to an online certificate authority (CA) for processing. Then you would continue using the CRT file received from the CA.OPTION 2: For non-production environments, you can create the self-signed certificate using the following command:openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crtThen copy the certificate and key to their corresponding folders:sudo cp server.crt /etc/ssl/certs
sudo cp server.key /etc/ssl/private
Edit /etc/apache2/sites-enabled/000-defaultInsert the following outside of the <VirtualHost *:80></VirtualHost> tagsThe top of the file works.<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
DocumentRoot /var/www
</VirtualHost>
Enable the SSL module in Apache 2 by running the following command:
Step 4: Restart Apache 2 Web Servera2enmod ssl
Run this command from the command line:sudo /etc/init.d/apache2 restartEnter the passphrase you previously chose when generating the CSR
I found a useful post on configuring CodeIgniter to always redirect protected pages to the SSL site.The post is located here: http://stackoverflow.com/questions/1500527/how-to-use-ssl-with-codeigniterI chose Option 1 and did the following:Edit the file /system/application/config/config.php, and set the base_url to the non-ssl site as follows:$config['base_url'] = "http://www.yoursite.com/";
Then edit /etc/apache2/sites-enabled/000-default and under the <VirtualHost *:80> tag enter the following for each folder you'd like to protect with SSLRedirectPermanent /sslfolder https://www.yoursite.com/sslfolderNOTE: Omit the trailing slash after sslfolder