Tuesday, August 23, 2011
Troubleshooting MySQL Slow Queries with Tcpdumps
Great article by Sean Hull - Troubleshooting MySQL Slow Queries with Tcpdumps
Monday, August 22, 2011
VIM (tutorial 1)
I - insert at the begin of line
A - append to end of line
o/O - open a new line after/before the current
v/V - Visual mode to select text
Shift+R - replace text
C - change remaining part of line
r - replace one character
~ - changes case
J - joins lines
Ctrl+A - increment a number
Ctrl+B - decrement a number
. - repeat last command (a simple macro)
= indent line
A - append to end of line
o/O - open a new line after/before the current
v/V - Visual mode to select text
Shift+R - replace text
C - change remaining part of line
r - replace one character
~ - changes case
J - joins lines
Ctrl+A - increment a number
Ctrl+B - decrement a number
. - repeat last command (a simple macro)
= indent line
Thursday, August 18, 2011
Thursday, August 11, 2011
Git on RHEL/CENTOS
Git is not available in RHEL repository. Use the following commands to install it.
rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum install git
rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum install git
Wednesday, August 10, 2011
wget utlity on MAC
By default wget utility is not included in MAC. So I decided to install it through 'port'
sudo port install wget
---> Computing dependencies for wget
---> Fetching archive for wget
---> Fetching wget
---> Attempting to fetch wget-1.12.tar.gz from ftp://ftp.gnu.org/gnu/wget
---> Verifying checksum(s) for wget
---> Extracting wget
---> Applying patches to wget
---> Configuring wget
---> Building wget
---> Staging wget into destroot
---> Installing wget @1.12_3+ssl
---> Activating wget @1.12_3+ssl
To customize wget, you can copy wgetrc.sample to wgetrc
in /opt/local/etc and then make changes.
---> Cleaning wget
sudo port install wget
---> Computing dependencies for wget
---> Fetching archive for wget
---> Fetching wget
---> Attempting to fetch wget-1.12.tar.gz from ftp://ftp.gnu.org/gnu/wget
---> Verifying checksum(s) for wget
---> Extracting wget
---> Applying patches to wget
---> Configuring wget
---> Building wget
---> Staging wget into destroot
---> Installing wget @1.12_3+ssl
---> Activating wget @1.12_3+ssl
To customize wget, you can copy wgetrc.sample to wgetrc
in /opt/local/etc and then make changes.
---> Cleaning wget
Skirt Steak
I made barbecure at "Ford Street balcony" (aka my apartment). I inivted few friends and relatives to my place. We decided to make skirt steak.
It is really good choice for barbecue because:
Skirt Steak price is about $10 per lb. For more information read on wikipedia
here
It is really good choice for barbecue because:
- delicious
- healthy
- fast
Skirt Steak price is about $10 per lb. For more information read on wikipedia
here
Old Craton Aqueduct & Groton Gorge Park (hiking)
I hiked Old Craton Aqueduct path from Ossining Train Station to New Craton Dam that is located in Groton Gorge Park.
It was my third time exploring this area, few years back went with Ignat. I really enjoyed the hike before. So on 8/6/2011 I decided to explore the area again in my first date with Alina.
We drove from NYC to Ossining Station and park there. August is not great idea for hiking but it was not so hot. We hiked for about 15 miles both ways and enjoyed the hike.
It was my third time exploring this area, few years back went with Ignat. I really enjoyed the hike before. So on 8/6/2011 I decided to explore the area again in my first date with Alina.
We drove from NYC to Ossining Station and park there. August is not great idea for hiking but it was not so hot. We hiked for about 15 miles both ways and enjoyed the hike.
Tuesday, August 2, 2011
Tesla motors
There is "Tesla Motors" store on West 25th street between 9th & 10th street. The store is located on my way from subway station to work. I am very interested in electrical cars and see huge future in them. It is good for environment, country, people and etc.
I would consider to buy one of the cars in near future.
See some pictures that I took from my iPhone 4.




I would consider to buy one of the cars in near future.
See some pictures that I took from my iPhone 4.




Victor's Birthday
Sunday July 31, 2011 after soccer game in Garritsen beach we meet at Victor's house to celebrate his 45th birthday... There were 6 people in the birthday celebration. I had good time and have a chance to know some people better.
One show that I like to watch is House MD. Accidently I find out that Lisa Edelstein that plays Cuddy on the show is related to Lesha. Small world.
One show that I like to watch is House MD. Accidently I find out that Lisa Edelstein that plays Cuddy on the show is related to Lesha. Small world.
The Starett-Lehigh Building
The Starett-Lehigh Building located at 601 West 26th Street, New York New York 10001.
Martha Stewart Living Omnemedia office located here. The building is huge and has very interesting history.
For more information click here


Martha Stewart Living Omnemedia office located here. The building is huge and has very interesting history.
For more information click here


Subscribe to:
Posts (Atom)