Dak's Blog

Digital Life

CSS Tutorial – Introduction to CSS

Posted by mukeshdak on 2010 Feb 20

This first CSS article is designed to get your ‘feet on the ground’. You should know at least a little about HTML and web design before you begin. Once you finish reading this page, you will be ready to jump into the tutorial!

via CSS Tutorial – Introduction to CSS.

Posted in coding | 1 Comment »

Advanced Excerpt • Spare Pencil

Posted by mukeshdak on 2010 Feb 20

Advanced Excerpt

This plugin adds several improvements to WordPress’ default way of creating excerpts.

1. It can keep HTML markup in the excerpt (and you get to choose which tags are included)

2. It trims the excerpt to a given length using either character count or word count

3. You can customise the excerpt length and the ellipsis character that will be used when trimming

4. The excerpt length is real (everything belonging to HTML tags is not counted)

5. Possibility to ignore custom excerpts and use the generated one instead

6. Theme developers can use the_advanced_excerpt() for even more control (see the FAQ)

via Advanced Excerpt • Spare Pencil.

Posted in WordPress | Leave a Comment »

www.BharatiyaMobile.com – Trace Mobile Location and Service Details Only for India

Posted by mukeshdak on 2010 Feb 20

Posted in link | Leave a Comment »

Hindi movies on youtube

Posted by mukeshdak on 2010 Jan 31

Posted in fun | Leave a Comment »

Play Classic DOS Games on Ubuntu Linux | TechSource

Posted by mukeshdak on 2010 Jan 26

I know some of you can’t get enough of those classic games, so after showing you how to play Super Nintedo (SNES) games on Ubuntu Linux using an emulator, I will be giving instructions on how you will be able to run DOS games on it. To do this, you will also need an emulator and download DOS games from the internet.

The package that you will have to install is DOSBox.

via Play Classic DOS Games on Ubuntu Linux | TechSource.

Posted in fun | Leave a Comment »

How to use your own domain with Amazon S3 | FLV Mate Blog

Posted by mukeshdak on 2010 Jan 26

Today you are going to learn how to point your own domain or sub-domain to your Amazon S3 account. In this setup, for example, when user access http://media.your-domain.com/you-file.pdf they actually download the file from Amazon S3.

via How to use your own domain with Amazon S3 | FLV Mate Blog.

Posted in Hosting | Leave a Comment »

Chetan Bhagat’s speech at Symbiosis « As I like it

Posted by mukeshdak on 2010 Jan 26

Following is the speech by Chetan Bhagat given at the orientation programme for the new batch of MBA students at Symbiosis, Pune.

Good Morning everyone and thank you for giving me this chance to speak to you. This day is about you. You, who have come to this college, leaving the comfort of your homes (or in some cases discomfort), to become something in your life. I am sure you are excited. There are few days in human life when one is truly elated.

via Chetan Bhagat’s speech at Symbiosis « As I like it.

Posted in Motivation | Leave a Comment »

How to make text disappear inside a textbox on focus with JavaScript

Posted by mukeshdak on 2010 Jan 25

How to make text disappear inside a textbox on focus with JavaScript

This is a rather elegant solution for crowded websites with not much space. Particularly to place “Enter your comment here:” in front of a textarea, or “Enter Username:” before a textbox.

via How to make text disappear inside a textbox on focus with JavaScript.

Posted in Uncategorized | Leave a Comment »

PHP check folder if empty – roScripts

Posted by mukeshdak on 2010 Jan 25

function check_empty_folder ( $folder ) {
 $files = array ();
if ( $handle = opendir ( $folder ) ) {
 while ( false !== ( $file = readdir ( $handle ) ) ) {
if ( $file != "." && $file != ".." ) {
 $files [] = $file; }
} closedir ( $handle ); }
return ( count ( $files ) > 0 ) ? FALSE : TRUE; }

via PHP check folder if empty – roScripts.

Posted in Uncategorized | Leave a Comment »

PHP one line IF statement

Posted by mukeshdak on 2010 Jan 25

Refer following links

http://forum.atlantaphp.org/index.php/t/67/

http://www.losercoalition.net/blog/2008/11/php-single-line-if-statement-short-if.html

http://www.learnphp.org/tutorials/PHP-One-Line-IF-Statement-75410.html

http://www.phpbuilder.com/board/showthread.php?t=10248518

Posted in post | Leave a Comment »