Blogs

installing wine 1.3.4 on fedora13

Take file :

The source is available from the following locations:
http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.3.4.tar.bz2
http://prdownloads.sourceforge.net/wine/wine-1.3.4.tar.bz2

or

wget -c http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.3.4.tar.bz2
tar zxvf wine-1.3.4.tar.bz2
cd wine-1.3.4
./configure
make

Get Indian Time in PHP Code


<?php
echo "Default Server Time ".date("h:i A");

$time_now = mktime(date('h')+14,date('i')+31,date('s'));
echo date('h:i A',$time_now);
?>

Solr debugging using eclipse

Instructions to use Eclipse for Apache Solr Development


create a web project
copy all source codes to src
copy all jsp to WebContent
configure tomcat with -Dsolr.solr.home=....

how to check system 32 bit or 64 bit linux.

how to check system 32 bit or 64 bit linux.
What am I running here? is that 64 bit OS??
Because some of applications acting like it is 64 bit?

Commands:

$ uname -m
i686


#uname -ar
Linux linux 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux


cat /proc/cpuinfo

Change Image On Hover


<img src="image1.gif"
onmouseover="this.src='image2.gif'"
onmouseout="this.src='image1.gif'">

Date and time Formating in PHP :: String to Date


<?php
echo 'strtotime ("now") : '.strtotime ("now"), "";
echo 'strtotime ("10 September 2000") : '.strtotime ("10 September 2000"), "";
echo '("Y-m-d\T00:00:00", strtotime ("10 September 2000") )'.date ("Y-m-d\T00:00:00", strtotime ("10 September 2000") )."";
echo 'strtotime (" 1 day") : '.strtotime (" 1 day"), "";
echo 'strtotime (" 1 week") : '.strtotime (" 1 week"), "";
echo 'strtotime (" 1 week 2 days 4 hours 2 seconds") : '.strtotime (" 1 week 2 days 4 hours 2 seconds"), "

Drupal 7.0 Alpha 1 released, Drupal 7.0 is available now!

pdate: Drupal 7.0 Alpha 2 is available now!

http://drupal.org/drupal-7.0-alpha1

SarkariTenders.com launches state-of-the-art Search system

sarkaritenders.png

SarkariTenders recieves more than 250 indian government tenders every day.Keeping this in mind, a powerful search system was needed for its members.

Sarkari Tenders is proud to announce the new advanced search system to search tenders in a much better way.
The new system enables users to refine search results futher based on ministry, Location, Category,

"Search system is heart of this website, we wanted our users to find the precise tenders with ease" says Umesh Sharma,
the technical person behind SarkariTenders.com.

Linux Timestamp Command?


date '+%s'

print first last array element


a = [ "a", "b", "c", "d", "e" ]
// needed to print "a" and "e"
a.at(0) #=> "a" [0]
a.at(-1) #=> "e" [count(a)-1]

Syndicate content