发信站: BBS 未名空间站 (Thu Nov 6 15:06:59 2008)
发现装了megaupload toolbar 后有
happy hour premium - Every day, from 9pm to 3am eastern, we're giving away
premium status for free for every user of the Megaupload Toolbar! Simply
press the happy hour button and enjoy the full set of premium features.
估计就是楼主说的那个
--
makes more and more sense. Zeer, which launched earlier today, is a product review site for food. It contains nutritional information for 114,000 food products, and each one can be rated and reviewed.first, make a script, like /root/check_temp.sh:
#!/bin/sh TEMP_A=`/usr/sbin/smartctl -d ata -A /dev/sda | grep Temperature | cut -d ' ' -f37` TEMP_B=`/usr/sbin/smartctl -d ata -A /dev/sdb | grep Temperature | cut -d ' ' -f37` THRESHOLD=65 #In case Temp B doesn't return a reading (You only have one drive) if [ "$TEMP_B" = "" ] ; then TEMP_B=0 fi #Check to make sure it's not running too hot if [ $TEMP_A -gt $THRESHOLD ] || [ $TEMP_B -gt $THRESHOLD ] ; then logger -s "One of the drives has exceeded the threshold of $THRESHOLD degrees C." poweroff fi
make it executable: chmod 755 check_temp.sh
edit root's crontab (/etc/crontabs/root) to include this script. This one will run the script every fifteen minutes:
# standard crontab format for busybox cron daemon. # fields may be lists # min hour day month wd command # * * * * * dosomething # save the time every 60 minutes use 7 minute past the hour. 7 * * * * date +%m%d%H%M%Y.%S > /var/lib/now 0,15,30,45 * * * * /root/check_temp.sh
Then, either reboot the box, or restart cron: /etc/init.d/crond.sh stop, etc/init.d/crond.sh start
The most common refresh rate for today's Televisions are 60hz for NTSC-based systems and 50hz for PAL-based systems. However, with the introduction of some Blu-ray Disc and HD-DVD players that can actually output a 24 frame per second video signal, instead of the traditional 30 frame per second video signal, new refresh rates are being implemented by some television display makers to accommodate these signals in the correct mathematical ratio.
If you have a TV with a 120hz refresh rate that is 1080p/24 compatible (1920 pixels across the screen vs 1080 pixels down the screen, with a 24 frame per second rate). The TV ends up displaying 24 separate frames every second, but repeats each frame according to the refresh rate of the TV. In the case of 120hz each frame would be displayed 5 times within each 24th of a second.
In other words, even with higher refresh rates, there are still only 24 separate frames displayed every second, but they may need to be displayed multiple times, depending on the refresh rate.
To display 24 frames per second on a TV with a 120hz refresh rate, each frame is repeated 5 times every 24th of a second.
To display 24 frames per second on a TV with a 72hz refresh rate, each frame is repeated 3 times every 24th of a second.
To display 30 frames per second on a TV with a 60 hz refresh rate, each frame is repeated 2 times every 30th of a second.
To display 25 frames per second on a TV with a 50 hz refresh rate (PAL Countries), each frame is repeated 2 times every 25th of a second.
To display 25 frames per second on a TV with a 100 hz refresh rate (PAL Countries), each frame is repeated 4 times every 25th of a second.
If the television is also required to do a 24 frame per second to 30 frame per second or vice versa frame rate conversion, then you also have to deal with 3:2 or 2:3 Pulldown as well where the 24 frames of film will be stretched onto 30 frames.
SQL JOIN
The JOIN keyword is used in an SQL statement to query data from two or more tables, based on a relationship between certain columns in these tables.
Tables in a database are often related to each other with keys.
A primary key is a column (or a combination of columns) with a unique value for each row. Each primary key value must be unique within the table. The purpose is to bind data together, across tables, without repeating all of the data in every table.
Look at the "Persons" table:
I love the Drupal CMS. One of my favorite features of Drupal is the ability to do a multisite install. This site and my other blog, i <3 stella, are hosted on the same box, using the same Drupal install. Several sites can share one codebase. Updates are easily rolled out to every site simultaneously. Overall, it's a wonderful idea. But I have some problems with the implementation...
We'll look at one solution to these problems.
I assume here that you are using Linux hosting, that you have shell access, and that you have at least a passing acquaintance with symlinks. If you're looking for a webhost that meets these requirements, check out 1and1 shared hosting. I've been happy with them, and all of their packages above $9.99/mo will do what you need.
Microsoft/IIS guys, you can't do a symlink. You're looking for something called a junction... good luck with that.
