Browsing articles in "IT"
Jan
31
2012

XAMPP

XAMPP is an easy to set up Apache distribution containing MySQL, PHP and Perl. XAMPP is absolutely very easy to install and to utilize – just download, extract and start. Xampp can be acquired here. It is really a breeze to install and also to use. It is an easy to setup Apache distribution that contain MySQL, PHP and Perl. It is accessible on SourceForge and is maintained by Apache Friends . Xampp has in [...]

Jan
14
2012

Coding coding and coding…

coding art

Sometimes it may be simpler to write your own program from scratch if you have good knowledge about what you are going to do. But it would be better if you can read, debug, understand, and improve other programmers’ code. Having the capability of digesting existing code is a must for a programmer.

Jan
10
2012

Runtime error: division by zero

Division by Zero

So, after more than 10 years of writing code, I’m making a basic careless mistake in PLC – division by zero. This is so ashamed. Although I am not really interested in this kind of graphical block programming but it’s a nice lesson to learn.

May
8
2011

Smartphones have dumb owners

Google survey suggests many smartphones have dumb owners. I myself also find that my phone is getting smarter. I have never found its full power yet. And each time I discover something new on its capabilities, I’m amazed! How about you? Are you making the most out of your smartphones yet? If not, try to learn using your phone, treasure it. You don’t always need to upgrade to a new phone. Because even the old [...]

Apr
7
2011

SquallLTT presents: SPB Shell 3D running on my HTC Desire

This video shows the SPB Shell 3D v1.0.2 (which I purchased from Android Market few days ago) running on my HTC Desire. The launcher is really a next generation of user interface. With the price of 19 bucks, the APP is a bit expensive compare to others but it is a good investment. Right now, the launcher performs quite well on my device though I still expect improvement from SPB. Alright, enuf for boring long [...]

Jul
16
2010

Some notes for string handling

Clearing my phone since it is very messy with a lot of files, and found some notes here: Handling string in C# List of Numeric Formats * C or C – For Currency. Uses the cultures currency symbol. * D or D – Integer types. Add a number for 0 padding eg D5. * E or e – Scientific notation. * F or f – Fixed Point. * G or g – Compact fixed-point/scientific notation. [...]

May
19
2010

How to get auto upgrade WordPress on host pipni.cz

Host pipni.cz has some security settings that don’t allow user to access the default temp directory, so we can’t do auto upgrade version for WordPress. Here, I’ll show you how to do auto upgrade by creating our own temp directory. 1) First, add a “tmp” foler under wordpress blog directory. 2) Added the following lines to “wp-config.php” to point wordpress temp directory to it if ( !defined(‘WP_TEMP_DIR’) ) define(‘WP_TEMP_DIR’, dirname(__FILE__) . ‘/tmp/’);

May
8
2009

Config Aptana Studio to work with XAMPP

Launch you Aptana Studio, select: Run -> Run… A dialog appears and choose the following options:

May
7
2009

Force www vs non-www to avoid duplicate content on Google Search

When you have your site accessible both under your_domain.com and www.your_domain.com you may come up with duplicate content on Google Search. To avoid such problems you can use the following lines in your .htaccess file to force only the www version of your web site: RewriteEngine on RewriteCond %{HTTP_HOST} !^www.your_domain.com$ RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301] Note that the .htaccess should be located in the web site main folder. This will redirect all requests to the non-www [...]

May
7
2009

Duplicate content fix index.html vs / (slash only)

This similar to the www vs non-www version of your site work-around. As you might now you, by default you can access your site as http://www.domain.com/ and http://www.domain.com/index.html with some setups it can be index.php or index.asp or default.aps, etc. Unfortunately, this creates a risk of duplicate content from the search engine point of view. To avoid this, you can use the following ModRewrite rules in your .htaccess file: RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ [...]

Pages:12»

Domain Registrations starting at $9.98*

Categories

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

EverBot twitter