if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
Configuring your login sessions with dot files
.bashrc at ssh login
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
Configuring your login sessions with dot files
.bashrc at ssh login
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
sudo vi /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
sudo vi /etc/resolv.conf
sudo apt-get remove dhcp-client
sudo /etc/init.d/networking restart
The Country is a two-digit code -- for the United States, it's 'US'. For countries outside of the United States, see our listing of SSL Certificate Country Codes.
State and Locality are full names, i.e. 'California', 'Los Angeles'.
The Organization Name is your Full Legal Company or Personal Name, as legally registered in your locality.
The Organizational Unit is whichever branch of your company is ordering the certificate such as accounting, marketing, etc.
The Common Name is the Fully Qualified Domain Name (FQDN) for which you are requesting the ssl certificate.
If you are generating a CSR for a Wildcard Certificate your common name must start with *. (for example: *.domain.com). The wildcard character (*) will be able to assume any name that does not have a "dot" character in it.
Internet Explorer 8 works fairly well, but Internet Explorer has never been safe to use. This new security warning by Microsoft should be an awakening for many of us in the business world that still rely on IE for our daily operations. Is it time to switch to Google Chrome or Firefox and give up the patching game that Microsoft has us playing day in and day out. If you’re still using Internet Explorer, read the following alert issued by Microsoft on January 14th, 2010 and decide what you want to run on your business machines:
The following text comes from: http://www.microsoft.com/technet/security/advisory/979352.mspx – Please visit the site for all the details.
Our investigation so far has shown that Internet Explorer 5.01 Service Pack 4 on Microsoft Windows 2000 Service Pack 4 is not affected, and that Internet Explorer 6 Service Pack 1 on Microsoft Windows 2000 Service Pack 4, and Internet Explorer 6, Internet Explorer 7 and Internet Explorer 8 on supported editions of Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 are vulnerable.
The vulnerability exists as an invalid pointer reference within Internet Explorer. It is possible under certain conditions for the invalid pointer to be accessed after an object is deleted. In a specially-crafted attack, in attempting to access a freed object, Internet Explorer can be caused to allow remote code execution.
At this time, we are aware of limited, targeted attacks attempting to use this vulnerability against Internet Explorer 6. We have not seen attacks against other versions of Internet Explorer. We will continue to monitor the threat environment and update this advisory if the situation changes. On completion of this investigation, Microsoft will take appropriate action to protect our customers, which may include providing a solution through our monthly security update release process, or an out-of-cycle security update.
In a Web-based attack scenario, an attacker could host a Web site that contains a Web page that is used to exploit this vulnerability. In addition, compromised Web sites and Web sites that accept or host user-provided content or advertisements could contain specially crafted content that could exploit this vulnerability. In all cases, however, an attacker would have no way to force users to visit these Web sites. Instead, an attacker would have to convince users to visit the Web site, typically by getting them to click a link in an e-mail message or Instant Messenger message that takes users to the attacker’s Web site.
An attacker who successfully exploited this vulnerability could gain the same user rights as the local user. Users whose accounts are configured to have fewer user rights on the system could be less affected than users who operate with administrative user rights.
Alternative browsers:
Download Google Chrome here: http://chrome.google.com
Download Mozilla Firefox here: http://www.getfirefox.com
Download Opera here: http://www.opera.com
Installing applications on a terminal server is done slightly differently than typical installation in order to ensure that all permissions are properly set and the application is usable by all terminal services users.
There are two modes in terminal server, Execute and Install. By default all users are logged on in Execute mode and this means they can run programs etc. When you want to install an Application for use by everyone the Administrator should change to Install mode.
The best way to install software is to use the Add/Remove programs control panel applet as this will automatically set the mode to Install during the installation and then back to Execute at the end. Alternatively you can manually change your mode to install by typing
C:\> change user /install
To change back to execute use
C:\> change user /execute
And to check you current mode use
C:\> change user /query
In this example we will use Add/Remove to install Winzip on a terminal server.
All terminal server users will now have Winzip. An alternative would be to manually set the mode to install, install the software and set back to execute.
We all know that generally speaking, Windows Updates help solve old problems while bringing in new problems. Every once in a while, the update process itself fails, and you’re left with updates that don’t fully install, and can’t be removed from the update queue.
Here is a simple trick to clear that update cache in order to re-try the update or to disable it on your next Windows Update attempt.
1. Open Command Prompt by Start -> Run and type "cmd"
2. On the Command Prompt, type "net stop wuauserv". This is done so that you will terminate the windows automatic update service to allow us to delete the cache files
3. Still on the Command Prompt, type "cd /d %windir%" or "cd\windows"
4. Type "rd /s SoftwareDistribution"
5. Thats it, the cache has been purged. Now we need to restart the windows automatic update service again. To do that, type "net start wuauserv"
|
| Designed for extreme mobility, lightweight ThinkPad® X Series laptops deliver big in reliability, performance and durability. And with the edgy new X100e—Lenovo's first business entry ultraportable—X Series is more affordable than ever. Beyond light Lighten your load with X Series—most models weigh in at less than 3 lbs! Small footprint Starting at just 11.1" wide and 7.4" deep, crowded tables and tiny airline trays are no match for compact X Series laptops. | | |
| All-day computing The X200s model gives you up to 13.2 hours of battery life on a single charge! Spacious displays Enjoy roomy widescreens—up to 13.3" on the X301 model. Its LED backlit display helps ease eye strain, too. | ||
| |||||||||||||||||||||||||||||||||||
| Durability X Series notebooks are tough enough to take the rigors of business travel.
|
| Fast and energy efficient From CPUs that offer true parallel processing when running multi-threaded applications or multiple applications simultaneously to ultra-low voltage processors that balance performance and energy efficiency, X Series gives you several performance options. Need hardware-based security and integrated graphics for less battery power usage than discrete graphics? Or DirectX® 10 graphics support and enhanced visual performance? No problem. Check out all our X Series models to find the processor that's perfect for you. *Dual-core processors on X100e available first quarter 2010 | ||||||||||||
|