Aug 30, 2012

Google mail(gmail) search tips.

Looking for an email from user with image(s) attach.
from:test@test.com.ph filename:(jpg OR jpeg OR png)

Linux - Solution for Numpad not working.

One morning I got crazy on my numpad coz its not working, even do it was ON. I dont even know what is the combination of keys I press. But when I googled it I found that more user encounter too. Solution:
Ctrl+Shift+Numlock
In that solution I found the supposed to press Ctrl+Shift+Numlock to copy text was press Ctrl+Shift+Numlock :(

Aug 28, 2012

Tomcat: Change timezone setting.

As default tomcat use GMT timezone. To set this one, modify your catalina.sh or starup.sh a the location before the execution of the tomcat boostrap and add data below.
$JAVA_OPTS="$JAVA_OPTS -Duser.timezone=Asia/Manila"
Please find the timezone By Continent or in Asia

Aug 24, 2012

Credit Card testing

Testing Card
VISA, 4716081467305766, 03/15
Diners Club, 38520000023237, 11/14
Discover, 6011000990139424, 02/14
MasterCard, 5135299256640694, 06/14
enRoute, 214999060738825, 03/13
VISA, 4111111111111111, 03/15
American Express, 347836551942260, 07/14
Diners Club, 30569309025904, 02/13
VISA, 4024007135532710, 05/14
Diners Club, 38767186195160, 12/12
Discover, 6011963280099774, 10/12
VISA, 4111111111111111, 03/15

Master Card (16 Digits) 5105105105105100
Master Card (16 Digits) 5555555555554444
Visa (13 Digits) 4222222222222
Visa (16 Digits) 4111111111111111
Visa (16 Digits) 4012888888881881
American Express (15 Digits) 378282246310005
American Express (15 Digits) 371449635398431
Amex Corporate (15 Digits) 378734493671000
Dinners Club (14 Digits) 38520000023237
Dinners Club (14 Digits) 30569309025904
Discover (16 Digits) 6011111111111117
Discover (16 Digits) 6011000990139424
JCB (16 Digits) 3530111333300000
JCB (16 Digits) 3566002020360505

MasterCard:5431111111111111
Amex:341111111111111
Discover:6011601160116611
American Express (15 digits):378282246310005
American Express (15 digits):371449635398431
American Express Corporate (15 digits):378734493671000
Diners Club (14 digits):30569309025904
Diners Club (14 digits):38520000023237
Discover (16 digits):6011111111111117
Discover (16 digits):6011000990139424
JCB (16 digits):3530111333300000
JCB (16 digits):3566002020360505
Mastercard (16 digits):5555555555554444
Mastercard (16 digits):5105105105105100
Visa (16 digits):4111111111111111
Visa (16 digits):4012888888881881
Visa (13 digits):4222222222222
I list this one server to as testing or simulate for error payment. I some place our payment gateway give as testing credit card which all is valid. To simulate payment error, Try to use above.