-
-
Recent Posts
Recent Comments
Categories
- Bash
- BerkeleyDB
- Browsers
- Cable
- Chrome
- Cool Problems
- CPAN
- CSS
- Data Structures
- Databases
- DNS
- Editors
- Errors
- Everything Else
- Fedora
- Firefox
- Firewall
- Flash
- Forking
- Hardware
- HTML
- ImageMagick
- Images
- Internet Explorer
- IpTables
- Lingo
- Linux
- Log4perl
- Mediawiki
- Monitoring
- Munin
- MySQL
- Netgear
- Perl
- PHP
- PhpMyAdmin
- Postfix
- Regular Expressions
- Routers
- RPM
- Samba
- Screen
- SSH
- SSHFS
- Subversion
- Synergy
- Troubleshooting
- Ubuntu
- VIM
- Windows
- Windows Vista
- Wordpress
- YUM
Blogroll
Archives
Tags
Meta
CNN.com- Bonnie Blue actress from 'GWTW' dies
- President to aides: Find economic spark
- Hurricane Earl downgraded as it approaches East Coast
- Workers rescued after oil platform fire
- BP uncaps oil well in Gulf
- Mideast peace talks start
- Convicted killer spared death penalty
- Opinion: Social Security can help states
- U.S., Iran battle on basketball court
- She drops 100 pounds, gains new life
BBC- Europe agrees finance watchdogs
- ICC chief executive on cricket charges
- Explosion on Gulf of Mexico rig
- Tanker runs aground off N Canada
- DCAL cuts 'will mean job losses'
- Pakistan trio hit by ICC charges
- Strike 'kills Afghan civilians'
- Bid for Middle East peace begins
- The mint with a whole lot of food miles
- Man 'strangled wife and hid body'
AL JAZEERA ENGLISH (AJE)
Monthly Archives: February 2009
How To Get Yesterday's Date using BASH Shell Scripting
The new short way: $ date -d ’1 day ago’ +’%Y/%m/%d’ 2009/07/21 Or the longer way: Yesterday in epoch seconds $ yesterday=$((`date +’%s’` – 86400)) Get default formatted yesterday’s date $ date -d “1970-01-01 $yesterday sec” Tue Feb 17 01:27:32 … Continue reading
Posted in Bash, Linux
2 Comments
How To Centralize Bookmarks using Firefox and Google Bookmarks
Create a label in Google Bookmarks with all the bookmarks you want to centralize. Then, create a live bookmark in Firefox with the following URL, replacing the label name with the one you created: http://www.google.com/bookmarks/lookup?hl=en&sort=title&output=rss&q=label:live Copy and paste this link … Continue reading
Posted in Firefox
Leave a comment
How to Quickly Add Multiple Indexes to a MySQL Table
Instead of: ALTER TABLE my_table ADD KEY `key1` (`apple`); ALTER TABLE my_table ADD KEY `key2` (`banana`); do this: ALTER TABLE my_table ADD KEY `key1` (`apple`), ADD KEY `key2` (`banana`);
Posted in MySQL
Leave a comment
ssh_exchange_identification: Connection closed by remote host
On the destination server, remove the known_hosts file: rm ~/.ssh/known_hosts Remove any relevant entries in your /etc/hosts.deny file: /etc/hosts.deny: # DenyHosts: Fri Jun 25 16:10:25 2010 | sshd: xxx.xxx.xxx.xxx sshd: xxx.xxx.xxx.xxx Also, try this in your /etc/hosts.allow file /etc/hosts.allow: SSHD: … Continue reading
Posted in Linux, SSH, Troubleshooting
Leave a comment