Archive for the 'Uncategorized' Category

Google Mobile htaccess for japan region

RewriteEngine on

RewriteCond %{HTTP_USER_AGENT} ^DoCoMo.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^KDDI.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Vodafone.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^SoftBank.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^J-PHONE.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mozilla.+DDIPOCKET.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mozilla.+WILLCOM.*

RewriteRule ^$ http://www.google.com/gwt/n?u=http://www.example.com [R,L]

– become — on wordpress

– or — become — on wordpress 2.7
to avoid it. change formatting.php in wp-include folder.

line 47 before:
$static_characters = array_merge(array(‘—’, ‘ — ‘, ‘–’, ‘xn--’, ‘…’, ‘“’, ‘\’s’, ‘\’\”, ‘ ™’), $cockney);
$static_replacements = array_merge(array(‘—’, ‘ — ‘, ‘—’, ‘xn--’, ‘…’, ‘“’, ‘’s’, ‘”’, ‘ ™’), $cockneyreplace);

line 47 after:
$static_characters = array_merge(array(‘—’, ‘ — ‘, ‘–’, ‘xn--’, ‘…’, ‘“’, ‘\’s’, ‘\’\”, ‘ ™’), $cockney);
$static_replacements = array_merge(array(‘—’, ‘ — ‘, ‘–’, ‘xn--’, ‘…’, ‘“’, ‘’s’, ‘”’, ‘ ™’), $cockneyreplace);

output oracle sql query result to file

taka@ns2#~>sqlplus

SQL*Plus: Release 10.2.0.3.0 – Production on Sun Sep 21 16:32:13 2008

 

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

Enter user-name: xxxxx

Enter password: 

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 – 64bit Production

With the Partitioning, OLAP and Data Mining options

 

SQL> spool sql.lst

SQL> select * from academic;

     ACNUM    DEPTNUM FAMNAME              GIVENAME             INITIALS

———- ———- ——————– ——————– ———-

** rows selected.

SQL> spool off

 

 sql.lst is saved at your home directory.

Create MS-DOS Bootdisk. without HIMEM

When we flash bios or do something simple, we still using old MS-DOS.

but how we can create MS-DOS bootable disk with windows xp or vista?

well answer is we can create one from format option of xp or vista. but what if you like to have windows 98 MS-DOS bootable disk.

 

this is how to do.

 

Get image form http://www.allbootdisks.com

follow instruction how to do at allbootdisks.com

 

few bios update program hate HIMEM support. avoid MS-DOS load HIMEM,

edit config.sys to not load HIMEM.