Showing posts with label tips n trick. Show all posts
Showing posts with label tips n trick. Show all posts

Monday, March 19, 2012

another text to ASCII

http://patorjk.com/software/taag/


              _    __ ______ 
             (_)  /_ |____  |
   __ _ _ __  _ ___| |   / / 
  / _` | '_ \| / __| |  / /  
 | (_| | |_) | \__ \ | / /   
  \__,_| .__/|_|___/_|/_/    
       | |                   
       |_|                 

this convert text into ascii

my previous entries convert image into ascii

Sunday, November 20, 2011

[Howto] Astro Beyond Remote Control

Do you know that your white astro remote control able to control power off and volume control?
Here you go:

i'm taking this article from other website for my reference and faster search also.

1. Press power button + OK until remote indicator light blink twice. (Edit Mode)
2. Enter 4 digit TV Codes (Refer tables)
3. To reset, enter Edit Mode (1) and press 977




Astro Beyond TV Codes
SAMSUNG 0060 0812 0618 0178 0587 0009 0093 0556 1235 0108 0037 0217 0264 0370 0072 0156 1208 0766 0814 0216 0290 0821 0163
SONY 1825 1505 0011 1651 0036 0650 1010 0037 0056 0093 0170 0074
PHILIPS 0037 0556 1744 0772 1246 1304 0178 0108 0195 0087 0374 0760 0343 0595 0009 0200 0361 1521
PANASONIC 0650 0226 1650 1636 0108 1310 0037 0556 0163 1208 0508 0896 0361 0853 1335 0367 0516 0548 0001
TOSHIBA 1508 (MY TV) 0508 0060 0009 0714 0036 0156 1656 0070 0093 2060 0264 1935 0412 1164 0618 1582 0650 0821 1704 0217 0109 1457 1916 1908 0698 0037 0736 1556 1037
LG 1423 0001 0178 0037 0556 0876 0370 1768 0377 0009 0714 0060 0217 0108 0216 0290 0163 0606 0109 0689 0715 0823 0829 1556 1191 0247 0367 1681 1539
PIONEER 1260 0760 0011 1070 1457 0698 0109 0037 0287 0556 0428 0370 0343 0361 0486 0512
SHARP 0093 0009 1393 0036 0491 0818 0256 1819 0650 0294 0653 0412 0516 0200 0760 2214
JVC 0653 1818 0036 1153 0606 1653 0371 0508 0731 0683 0192 0218 0418 0093 0650
 

Alternatively:

To control volume press OK + Vol Up to control TV volume
or OK + Vol Down to use default astro setting.

article ref: http://stinkyfruit.wordpress.com/2010/02/13/astro-b-yond-volume-control/

Thursday, November 03, 2011

mysql index technique

http://www.w3schools.com/sql/sql_create_index.asp

My idea; field index just for frequently used table for searching. since updating is slow, (see note) no index for frequently updated data .

Indexes allow the database application to find data fast; without reading the whole table.


Note: Updating a table with indexes takes more time than updating a table without (because the indexes also need an update). So you should only create indexes on columns (and tables) that will be frequently searched against.

Monday, October 31, 2011

optimize mysql with index

if you want to join large table, indexing may help.

table1: 30,000 rows
table2: 40 rows

indexing for example user ID may speed up select query

SELECT name, phoneNo, address FROM table1 INNER JOIN table2 ON table1.userid = table2.userid

with no index, query takes about 8second
but with index query only 0.4second

Wednesday, October 26, 2011

convert image into ASCII

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx




This is me in Color Mode


::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::
::::::::::::::::.::+**+:::::::::::::::::
:::::::::::::::#########*:::::::::::::::
:::::::::::::+#@#@@@@#####*+::::::::::::
::::::::::::*#@@@#####@@@@##+:::::::::::
::::::::::::#@@#+::::::+*@@##:::::::::::
:::::::::::#@@*:.......::+#@@:::::::::::
:::::::::::@@*::........::+@@*::::::::::
:::::::::::@#:::........:.:#@*::::::::::
:::::::::::@*+::..........:+@*::::::::::
:::::::::::@++::.........::+#*::::::::::
::::::::.::@++:..,....,..:::#+::::::::::
:::::::::.:@+++**+...:+++:::#:::::::::::
::::::::::.@+++:+++.::+:+,::#.::::::::::
:::.....::.#:+**#*::+:+#:**+#......:::::
........:.+#++++::+..:::::+:+++:....::::
.........:+++::.:.:..+:..:::+.+......:::
.........:+++:::+::..:....::+:+.........
..........++++:..:::..:...:+............
..........:+++::.:**+*:...:+:+..........
...........:++::.:::::...::+:...........
............:++::++++++::::::...........
.............+++***:::*+::::............
.............++++:+**+:::++.............
..............*+++:...::+++.............
..............**++:::::++++.............
..............****+++++**++.............
..............+***####***+:.............
..............#+********++:#............
..............#+:+*+++++::,##+..........
..........*###@,::++++::::,#####:.......
........#######,+:::::::+,,########+....
.....:#########:,::::::+ ,.#########*#+.
..:*#*########## ,:.::+ ,,*#############
*#*#############, ...:,.,,##############
*###############, ,::,.*, ##############
################,+*,.,,::,##############
################*.,.,, ,,:##############
#################  ,    ,###############
################# ,     .###############
#################       :###############
#################,      *###############
######@##########.,,    ################
######@##########*,,    ################
################## ,    ################
##################    ,,################
@######@##########   ,,+################
@######@########## ,,,,###########@#####
@@################,,,,,#################
@@################:,,,,################@
@@######@#########*,,,.##########@#####@
@@@#####@##########, ,+###############@@



This is me in black and white ;)




get yours at:
http://speedfinger.org/html/modules/ASCIIArtist/exe.php?image=http%3A%2F%2Fspeedfinger.org%2Fhtml%2Fmodules%2FASCIIArtist%2Fimages%2Fkatok02.jpg&resolution=2&mode=1&color#000000&font-size=11&line-height=9&letter-spacing=0&fixed_char=W&new_window=on

Wednesday, September 28, 2011

[tips] pord forward on windows XP

windows xp do not have internal function to do port forward. i found simple (super duper small) program to complete this task:

www.quantumg.net/portforward.php

you can download here: http://www.quantumg.net/portforward_bin.zip

source code also available at the website. thank you for the usefull tiny program.

Saturday, August 13, 2011

interesting tool: visual traceroute

http://www.yougetsignal.com/tools/visual-tracert/

also know which website is shared in your shared hosting


good luck.

send email using telnet

http://www.rdpslides.com/webresources/FAQ00035.htm

You do/type thisServer responds with
Telnet to hostname on port 25220 (then identifies itself - possibly with several lines of 220 + text)
HELO your_domain_name or whatever250 (followed by human readable message)
MAIL FROM:you@hostname.com (ie, your email address)250 is syntactically correct (or similar)
RCPT TO:them@someplace_else.com (email address you want to send to)250 is syntactically correct
DATATells you to send data then CRLF period CRLF at end
You type your message then CRLF period CRLF (ie, type a period on a line by itself then hit ENTER)250
QUITSignoff message

Friday, July 22, 2011

says.my [ ads ]

hi.. i already registered this program few months ago. not very interesting but just try


maybe you should try too.. (for malaysian only)

:)

i just sharing this two URL to become verified user. DO NOT click if this ads is not match your interest.

2. http://says.my/apis17/petpet - This is PetPet ads.

i think this is interesting. leave your comment

Wednesday, May 25, 2011

Sunday, May 08, 2011

Good online marketing

Another good example for online marketing is always let user's know your website is always active.

For example.

once every 2 weeks or a month, we just can say hi or greeting to all user registered on your shopping cart system telling that you're happy they register on your website.

you can use,

Subject:

Greetings from Yourwebsite.com


Dear Apis,

We hope you enjoy your stay with us at yourwebsite.com

Thank you.

This is some good example. maybe giving you idea in another creative way. :)

Sunday, March 27, 2011

mysql dump and restore

http://www.patrickpatoray.com/?Page=30

mysqldump --user=XXXXXXXX --password=XXXXXXXX --databases DB_NAME --tables TABLE_NAME > /PATH/TO/DUMPFILE.SQL

mysql --verbose --user=XXXXXXXX --password=XXXXXXXX DB_NAME < /PATH/TO/DUMPFILE.SQL

Thursday, March 24, 2011

exclude yum fastest mirror

todays i found vietnam mirror and it is very2 slow.

edit
vi /etc/yum/pluginconf.d/fastestmirror.conf

[main]
exclude = viethosting.vn

Tuesday, March 15, 2011

celcom. how to know your number

hi.
today i have tips & tricks for you all

to get your own celcom phone number (in case forget your own number) or have too many numbers to remember.

dial *118#
answer 8. My account
answer 1. Check Balance

then you will receive SMS Berjaya Dihantar

you will get sms from 2888
Baki 01x xxxxxxx RM100.00, sah sehingga 7/1/2012, tarif plan 3G Blue

now you get your phone number.

alternatively: send sms "BAL" to 2888

good luck :)

Sunday, December 19, 2010

power off (shutdown) centos server

my linux box not power off after shutdown command. search across google and found this


trying poweoff command my server & still waiting if this success. :)

Monday, June 28, 2010

ICS on windows 7

if you want to share internet connection using ICS from windows 7 to another windows 7 ICS connection, you maybe receive ip 192.168.137.1 is being used by other connection.

you can change this ip anyway into other address to prevent conflict. there are some registry hack available from this location

http://www.windowsnetworking.com/kbase/WindowsTips/WindowsVista/RegistryTips/RegistryHacks/ChangingtheDefaultIPAddressofICSinVista.html

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\SharedAccess\Parameters
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services\SharedAccess\Parameters


change into different IP address to enable internet sharing from WLan to Ethernet. this works for me! :)
Related Posts Plugin for WordPress, Blogger...