enjoylife's Stuff

Home » enjoylife (52 trails)
enjoylife's Stats (public trails only):
Trails created: 52
Marks created: 722
Views received: 37,317
Positive ratings:
Negative ratings:
Comments received: 0
Comments left: 0
super master (enjoylife)

enjoylife's Trails

APXS is a Perl script that is created when you build the Apache web server from source. Chances are that if you are getting these errors and you obtained Apache as a binary distribution, that APXS is not configured correctly for your system. Your best bet is to get the Apache source from http://httpd.apache.org and build it yourself. Use the following for a basic build (read the Apache docs for other options):

[user@host] ~ $ cd /usr/local/src
[user@host] ~ $ gzip -dc apache_1.3.19.tar.gz|tar xvf -
[user@host] ~ $ cd apache_1.3.19
[user@host] ~ $ ./configure --prefix=/usr/local/apache \
[user@host] ~ $ --enable-module=most \
[user@host] ~ $ --enable-shared=max
[user@host] ~ $ make
[user@host] ~ $ make install

Note: The above steps assume that you downloaded the Apache source and placed it in your /usr/local/src directory.

Tags: source, user, tar, apxs, host, ...
A trail of 13 pages
标 题: Re: 请推荐个吃火锅的好地方
发信站: BBS 未名空间站 (Tue Apr 29 00:12:20 2008)

34396 Alvarado Niles Road, Union City 永和超市对面) 510-675-9919.
Tags: 超市对面, 题, 未名空, 永, 标, ...
A trail of 89 pages
TheFunded started publishing a list of top rated venture capitalists today. The ratings are based on reviews (either anonymous or not) written by entrepreneurs who’ve pitched those VCs.
Tags: who’ve, vcs, started, thefunded, venture, ...
A trail of 3 pages

Zazzle

sai-25-click.gif


sai-25-prev.gifsai-25-next.gif


Brought to you by:

sun_tag.logo_rgb.jpg

JUMPSTART YOUR STARTUP WITH SUN: Turn cost savings and shortened development cycles into a competitive edge with Sun Startup Essentials.

zazzle.jpg

Estimated Value: $250 million

Business:
Runs a site and manufacturing business allowing customers to create and custom design everything from T-shirts to coffee mugs to bumper stickers.

Location:
Redwood City, CA

Tags: sun, stickers, manufacturing, startup, redwood, ...
A trail of 10 pages
发信人: easy3333 (easy), 信区: Living
标 题: 买房教训(三)agent
发信站: BBS 未名空间站 (Tue Apr 22 18:51:01 2008)

还是写一下agent吧。
Tags: 题, 还是写一下agent吧。, 未名空, 标, 发信站, ...
A trail of 13 pages
发信人: zhcai (敌后武工队), 信区: SanFrancisco
标 题: Re: TMD,汽车空调坏了
发信站: BBS 未名空间站 (Mon Apr 28 03:10:59 2008)

刚才去walmart买了一瓶18盎司的。全灌进去才灌满一半。

为什么refregirant的压力跟发动机转速变化呢?

【 在 tidewater (弦影·攒 rp 中) 的大作中提到: 】
: 那个 R134a 的罐子里面应该有是压力的。
: 俺看到一个 link:
: http://www.id-usa.com/how_to_recharging.asp
: 不过最好去你车的 model 的老美论坛上去看看,DIY 打有准备的仗总是
: 磨刀不误砍柴工的。
Tags: 那个, 中, 信区, 俺看到一个, 发信人, ...
A trail of 13 pages
标 题: Re: 北京机场有卖SIM卡的吗?当天能买到上海的机票吗? 谢谢?
发信站: BBS 未名空间站 (Wed Apr 23 14:41:03 2008), 转信

sim卡就不要在机场买了,贵
出了机场好多小摊都可以买

机票的话 应该可以当时买到
不过你在网上订好的话会有折扣票
kooxoo.com这个网可以搜机票价格
搜到了再去那个航空公司的网站买
有些网站不收国际的visa master 需要有国内的银行卡
Tags: 需要有国内的银行卡, 应该可以当, 标, 未名空, 机票的话, ...
A trail of 43 pages
发信人: thirdwave (frog man), 信区: shopping
标 题: Re: 现在买x61s是不是好时机?
发信站: BBS 未名空间站 (Wed Apr 30 12:13:05 2008)

在原有系统下 先将硬盘分成两个区 记得用fat32格式
然后将系统拷贝到第二个区上去
然后U盘启动
从硬盘第二个区开始安装
这样你只需要一个16m的U盘就可以搞定重灌系统


【 在 shirley (shirleymm) 的大作中提到: 】
: 那是不是需要1G的u盘才可以?
: 做启动U盘麻烦不?
Tags: 题, 信区, 做启动u盘麻烦不?, 发信人, 发信站, ...
A trail of 43 pages

A workaround for no x64 SendToOneNote Print Driver

I just got this from Bruce on the OneNote Test team:

It's not optimal, but it does work. I use it here at Microsoft on my Vista x64 machine.

  1. Install one of the many converter programs that will allow you to output images files when you “Print”. For example, I’ve played with http://www.print-driver.com/howto/msn_pdf_to_jpg.html 
  2. Open your file in the native application (ie Adobe Reader, PowerPoint, etc)
  3. Print to the new printer, outputting to TIFF (multipage color)(the defaults for the example program above work just fine)
  4. Boot OneNote
  5. Insert | Picture and choose the TIFF image file

Done! You can now take notes over your inserted images. I should note that we won’t OCR the images (it uses the same print driver that doesn’t install under x64), so you won’t be able to search for words in the images or copy–and-paste their content. You will be able to take notes over them, view them, and so on.

Bruce

As David wrote we are aware of this problem and there will be no fix for OneNote 2007 and we plan to address this in the next version of OneNote.  I just wanted to share this with everyone!

Tags: won’t, images, print, onenote, sendtoonenote, ...
A trail of 20 pages

The Solution

Customizing the list of filters isn't an obvious action, but nor is it difficult if you're comfortable with text editors (and Eclipse users certainly should be). There may be other ways, but this is what I did:

  1. Locate the directory of the Eclipse plugin being used for editing. This is usually something like eclipse/plugins/[plugin name]_[version]. I spend most of my time in Aptana, so my plugin directory is eclipse/plugins/com.aptana.ide.scripting_0.2.9.16696.
  2. Open the plugin.xml file in a text editor.
  3. Find the extension element whose point attribute has a value of org.eclipse.ui.ide.resourceFilters.
  4. Create a new filter element like any others that already exist, but containing the needed file pattern. If no extension element is found for resourceFilters, see below.
  5. Restart Eclipse using the -clean switch.

Being an Aptana user, I found that the plugin.xml file I had to edit didn't contain any resource filters so I just created one by adding the following code to the bottom of plugin.xml:


   
   

Tags: plugin, eclipse, resourcefilters, aptana, ide, ...
A trail of 1 page
标 题: Re: Megaupload一晚上能下3个wii游戏
发信站: 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.

估计就是楼主说的那个
--
Tags: 题, 估计就是楼主说的那个, 发信站, 发现装了megaupload, 后有, ...
A trail of 3 pages
You've got a long weekend ahead, and aside from your inevitable grill mastery, you need to find the perfect brew for your weekend feast. Beer-lovers web site Beer Suggest is here to fill that need, rounding up and reviewing over 4000 beers and over 1100 breweries to help you find the perfect beer for any occasion. The site has both wiki and review elements, so if you consider yourself a connoisseur you can update or review any beer on the site to provide your expert recommendations.
Tags: beers, mastery, inevitable, reviewing, update, ...
A trail of 1 page
Drupal专业开发指南是一本drupal初学者必须要看的书。它详细介绍了drupal的工作机制,以及如何制作drupal的模块、主题、区块、节点等等教程。
深入分析了drupal的方方面面。
如果你是一个drupal的初学者,别犹豫了,赶紧去看吧,这本书能让你少走很多弯路!
我的第一个模块也是在这本书的指导下编写出来的。
drupal专业开发指南的作者是JOHN VANDYK和MATT WESTGATE,由葛鸿儒翻译。
Drupal专业开发指南 绪论
Drupal专业开发指南 致谢
Drupal专业开发指南 序言
Drupal专业开发指南 作者和审稿人
Drupal专业开发指南 第1章 Drupal工作原理(1)
Drupal专业开发指南 第1章 Drupal工作原理(2)对请求提供服务
Drupal专业开发指南 第2章 创建一个模块(1)
Tags: drupal专业开发指, 审稿人, matt, 致谢, 的作者是john, ...
A trail of 6 pages
那就该纳税人付了。 上次房地产危机(1990年左右), 导致 1043 家saving and loan bank 的倒闭 (这次到现在才几家)。 它们把政府的保险公司FSLIC 搞倒了。 然后国会有成立一个 公司 RTC专门处理这些倒了的银行。 政府供花了 1601亿 (保 险公司365亿, 国会另拨款 124亿)。 后来政府把原来FSLIC 的业务, 并到了 FDIC 。 所以这次INDYMAC 这个FSB 由FDIC处理了。
Tags: (保, 国会另拨款, 搞, 政府供花了, 所以这次indymac, ...
A trail of 10 pages
my first test
Tags: test, extentions, first, enjoylife, firefox, ...
A trail of 6 pages
It’s hard to find a place to research food—the kind that you buy at the grocery store and put into your body every day. As people become more aware, and concerned, about what thy eat, a site like Zeer 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.
Tags: food—the, it’s, place, concerned, nutritional, ...
A trail of 3 pages

What is CHDK?

The Canon Hacker's Development Kit, aka CHDK, is a firmware enhancement that supports an impressive array of Canon digital cameras. I emphasize the enhancement aspect of CHDK because the tool is non-permanent and non-destructive, meaning that you load it onto your camera whenever you want to use it; CHDK makes no changes to your camera, and turning it off is simply a matter of restarting your camera. Installing CHDK involves copying a couple of files onto your camera's memory card; permanently removing it from your camera entails deleting those files. It's simple and powerful (sort of like hacking your router firmware) but even easier.
Tags: chdk, camera, onto, permanently, array, ...
A trail of 22 pages

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

Tags: smartctl, root, cron, grep, temp, ...
A trail of 2 pages
Mmmmmmm. That's not that good of a card if you want to play Bioshock & Diablo III at a decent settings, if this is a laptop, then that's fine and dandy, but I'd highly suggest you get something like an 8800GT to put in place of it if you're buying a desktop. They are only $130 now on http://newegg.com and are absolutely AMAZING cards (I have 1, I love it. I'm a huge gamer.) The 9000 series is the latest from NVIDIA other then the 2 series, but there are some lower-class cards for NVIDIA to make profit, the 9300GS is definitely one of them. The 9600GT-9800GT/GX2 would be the higher-class cards in the 9 series. 8800GT > 9600GT nonetheless. =)
  • 5 hours ago
Tags: nvidia, series, place, diablo, huge, ...
A trail of 2 pages
标 题: [已解决]有没有办法将dol装到wii channel里
发信站: BBS 未名空间站 (Wed Oct 15 00:41:49 2008)

找了半天,不得其门。
这儿有好多wii hack,是autoinjectuwadinjectorv3 吧
http://www.nes-hacks.com/downloads/wii-downloads/apps-and-loaders/

我还找了doltool, wadtool..都不得其法。。
那个用过的讲讲?


解决方法:
准备
1. autoinjectuwadinjectorv3 from http://www.nes-hacks.com/downloads/wii-downloads/apps-and-loaders/
2. 现成wad 一个
3.需要改的 dol, 如geeckoos.dol
4.common-key.bin: copy common-key from backup-creator_v1,(就是你转iso to partition.iso在那个目录)
rename to common-key.bin

执行:

D:\wii\autoinjectuwadinjectorv3>injectuwad geckoos.dol Ocarina+GeckoOSChannelv1.
07d.wad geckoos 4 y

结果:
@Waiting 0 seconds for disc write...

1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
@Calculating ROM size...
@Reading ROM data...
1 file(s) copied.
Old MD5 sum: 36f82955cd15ece6f274ef1374a4b712
Recalculating MD5 sum... OK
New MD5 sum: 36f82955cd15ece6f274ef1374a4b712
Writing file... OK
@Using sha1.exe to calculate sha1 of 00000000.app
@Using sha1.exe to calculate sha1 of 00000001.app
Trucha sign enabled
Cert... OK
Trailer... OK
TMD... OK
There are 3 files described on the TMD.
Ticket... OK
Signing Ticket... 97 it. OK
00000000.app... OK
00000001.app... OK
00000002.app... OK
Signing TMD... 27 it. OK
Header... OK
Writing title.wad file... OK
1 file(s) copied.


@All done!

有一堆文件生成,
HB-geckoos.dol.wad 就是你要的东东。
Tags: geckoos, dol, wii, tmd, app, ...
A trail of 9 pages
I was reading the forums over at gpspassion.com and their users had some pretty neat tricks for modifying your Mio C520 Digiwalker system. Some might even work on the Mio C720 Digiwalker cousin unit as the coding seems to be pretty much the same! Before trying any of these make sure you back up all your system files off the Mio device incase something goes wrong. These were taken directly from the thread on the website http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=87762 so stop by and thank them. Here’s three cool tricks for the device.
Tags: gpspassion, here’s, forumsen, digiwalker, pretty, ...
A trail of 9 pages

HI DO YOU NEED HELP ON YOUR PROJECT? LET ME HELP YOU.
BATHROOM,KITCHEN,PAINT,SHEETROCK,TEXTURE,TILE
FENCE,GATE,DECK
ROOFING,GUTTER,GUTTER CLEANING
HAULING & CLEANUP,BACKYARD,YARD CLEANING,STORAGE,GARAGE
JUST GIVE A CALL (408)608-8332
Tags: bathroom, texture, fence, sheetrock, tile, ...
A trail of 12 pages
What you end up with is a smoother flowing picture, but it's dependant on the source, and the particular t.v.'s ability to deal with the input.

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.
Tags: refresh, frames, rate, signal, television, ...
A trail of 4 pages
Yale University economist Robert Shiller, pioneer of the widely watched Standard & Poor's/Case-Shiller home price index, said there's a good chance housing prices will fall further than the 30 percent drop in the historic depression of the 1930s. Home prices nationwide already have dropped 15 percent since their peak in 2006, he said.
Tags: home, shiller, nationwide, dropped, pioneer, ...
A trail of 10 pages
Ponoko, which launched at TechCrunch40, has introduced a revamped site that will bring e-commerce functionality to their marketplace, allowing users to buy, sell, and give away the designs they’ve created. The site allows designers to sell their products and have Ponoko ship them directly to customers, enabling them to create a virtual storefront with few (if any) upfront costs.
Tags: ponoko, they’ve, sell, introduced, storefront, ...
A trail of 29 pages
MarketGuru’s concept has promise but the site is entering a space with a number competitors who provide very similar offerings. These include Covestor, CakeFinancial, SocialPicks, and Mint, which has just introducing investment tracking. That said, the social investment space can certainly support more than a few competitors, so MarketGuru has a fighting chance (especially with people who don’t actually want to play with real money).
Tags: investment, marketguru, marketguru’s, don’t, covestor, ...
A trail of 19 pages
标 题: 请问两倍spx的ETF ticker是啥?
发信站: BBS 未名空间站 (Tue Jul 15 13:51:20 2008)

我土,只知道个spy

sso, sds

http://www.proshares.com/funds
Tags: 题, 请, 我土,只知道个spy, 未名空, 标, ...
A trail of 21 pages

This page describes how to setup your development environment to compile/deploy AppFuse or StrutsResume from the command line. After setting this up, you might want to checkout HowTo Run Ant in Eclipse. This is how I currently have things setup and what I advise clients to use when we use AppFuse as a baseline for webapp development.

Table of Contents

  • [1] Download - links to download the JDK, J2EE, Tomcat, Ant and MySQL
  • [2] Install - detailed instructions on where to extract/install all of the above packages
  • [3] Configure - how to configure your environment variables
  • [4] Additional Tips - other tools I recommend using

Download [#1]

Tags: strutsresume, ant, install, baseline, jdk, ...
A trail of 9 pages
标 题: Re: 都是很牛的公司,都要求工作经验,没有一次面试机会,没戏
发信站: BBS 未名空间站 (Mon Feb 4 13:16:16 2008)

efinancialcareer.com的用处,在于看看哪个猎头在你求职的专业里最活跃,然后可以
直接去联系那个猎头。

那个网站是猎头用来搜集简历的,很少有公司直接去上面post。
Tags: 集简历的,很少有公司, 最活跃,然后可以, 猎头在你求职的专业里, 的用处,在于看看哪个, 直接去上面post。, ...
A trail of 19 pages
I like what I’ve seen so far of Israeli startup AllRise - a website that allows users to file complaints against anyone or anything, argue their case, have the community choose sides, and ultimately vote on who should prevail.
Tags: i’ve, allrise, community, sides, choose, ...
A trail of 1 page
http://welcome.bbb.org/

https://odr.bbb.org/odrweb/public/GetStarted.aspx

投诉很有效
Tags: bbb, 投诉很有效, odrweb, odr, https, ...
A trail of 30 pages

上海飞燕: 021-33040392

上海百盛: 021-33040960

上海宏运: 021-62996722


这个link 里有比较全的代理名单,mitbbs上搜到的:

http://www.travelsuperlink.com/cn/agent/airtravel_china_agent.php

Tags: 这个link, airticket, airtravel, 上海飞燕, 上海百盛, ...
A trail of 2 pages
 

班门弄斧,抛砖引玉

刚到美国读研究生时,一个月的TA 钱才400刀。除去吃饭,房租,电话,水电,养一辆300刀买的,除了喇叭不响,剩下哪儿都响的破车之外,所剩无几。可又想尽快富起来,于是就在暑假里,进了一家中餐馆,干起了waiter  行当。

这家中餐馆在当地还算是不错的一家餐馆。衡量餐馆档次的一个标准是看它有没有烈酒牌。在美国,不是所有的餐馆都可以卖烈性酒的。如果申请不到可以卖烈性酒的牌照,那就只能卖饮料和啤酒。当然,卖啤酒也要有牌照,只是相对来说容易申请得多。

有 了烈酒牌,餐馆就可以卖酒精度高的酒了。我们常说的白兰地,威士忌,兰姆酒,伏特加是基本的,最主要的是,用它们可以调出各式各样的鸡尾酒来。调一杯鸡尾 酒,只要一两盎司烈酒,加以其他辅料就行了,真可以说是一本百利。加上酒的种类多了,可以吸引更多的顾客,所以,餐馆都希望能卖烈酒。

这家餐馆的老板和经理都是台湾人。经理在餐馆里一般负责前台,包括招呼客人,管理waiter, waitress, 还有就是负责酒吧,当然,也包括调酒。经理和他老婆都是台湾某个大学商学院毕业的。不知为什么,就是愿意在餐馆里干。还是不知为什么, 他和我很投缘,闲来无事,就和我聊聊酒。从他那里,我知道了一些最基本的调酒常识。并且,没事,就自己弄点不同的酒尝尝。

先说常见的酒,有Gin(金酒),Whisky(威士忌),Rum(兰姆酒),Vodka(伏特加)Brandy(白兰地)等等。这些酒可以直接喝,也可以用来勾兑成鸡尾酒。每种酒又有不同的牌子。比如,金酒有Beefeater就是瓶子上画着一个穿着红衣服的老头扛着枪的那种。威士忌有, Johnnyie Walker红带和黑带, Jack Deniels。兰姆酒有BacardiMalibu,伏特加有SMIRNOFFSTOLICHNAYABSOLUT等等。

直接喝的方法一般有两种,一种加冰,叫做on the rocks, 一种不加冰,叫做straight.  加冰块可以喝起来比较爽口,不呛,但喝到后来就没味了。酒瘾较大的人,喜欢喝比较纯正的感觉,就喝straight。高级一点的老美餐馆或法国餐馆,还有自己酿的威士忌。如果在餐馆点酒,你可以说,要一个Beefeater straight Beefeater on the rocks

除了点牌子直接喝,还有就是点鸡尾酒了。鸡尾酒的种类实在是太多了。这里只说几个常点的。

首推 Singapore Sling 新加坡司令,原因是和我们的版主名字相似。它的调法是,

2 oz 金酒,1/2 oz 樱桃白兰地,1/2 柠檬挤汁,1 tsp 砂糖, 2 个冰块,在一个叫做Tom Collins glass  高脚杯里续满 carbonated water,再加上一个红樱桃作为点缀,插上吸管,玲珑剔透,晶莹可爱,很有端庄淑女的风范。

Long Island Iced Tea 长岛冰茶:

3/4 oz tequila(特奇拉,一种烈酒),3/4 oz 兰姆酒,3/4 oz 金酒,3/4 oz伏特加,3/4 oz triple sec (一种配酒的甜汁), 3/4 oz sour mix, 这些超市里都有卖的。把以上的酒混在一起搅匀,倒一点可乐,加一瓣柠檬。非常香,酒的味道也比较浓。

Pina Colada 媲娜渴拉达:

2 oz light 兰姆,3 oz 菠萝汁,2 oz 椰奶,加冰,在blender里打碎,倒进大口的高脚杯,加上樱桃和菠萝。 

喝起来,一股菠萝和椰子的清香。

Strawberry Daiquiri2 oz light 兰姆酒。1/2 oz triple sec1 oz 青柠檬汁,1/2 tsp 砂糖,1 个冰块,5 个草莓,把所有东西放入blender. 用高速打拌后,倒入杯中,用吸管喝。

我之所以提Pina Colada Strawberry Daiquiri, 除了是因为它们popular 以外,在餐馆里点drink 时,还可以为孩子们点它们,这时要说Pina Colada virgin, Strawberry Daiquiri virgin 表示没有酒精,这样,bar tender 就知道这是给小朋友点的,就不放酒了。

还有一种适合小朋友喝的饮料,叫Shirley Temple, 也是不含酒精的饮料,不妨试试,他们一定爱喝,省得老是可乐,雪碧,七喜。

另外Pina Colada Strawberry Daiquiri 在超市里都有兑好了的,只要买来,按说明去做就行了。我以前就给儿子做过,很容易,儿子也很爱喝。到我自己喝时,加上兰姆酒就行了。

以上几种酒是不分男女。 若是男士想来点高的,常见的可以试试, screw driver(螺丝钻, 伏特加和桔汁), 血玛莉(伏特加和番茄汁,再洒点胡椒面),曼哈顿(威士忌加味美思),Vodka Martini(伏特加马提尼),Margarita(玛格丽特, 杯口上有一圈盐)。这些都是很不错的。

老美还讲究饭后酒。常见的有KAHLÚA COFFEE Irish Coffee.  我有一次替一个老美律师打官司当翻译。他把我和他的客户带到市里最高的酒店,吃完饭, 在弦乐四重奏乐队的伴奏下, Bar tender 表演了一通制作Irish Coffee. 

先将Irish 威 士忌到进一个高脚杯里,然后把它点燃。将燃烧着的威士忌在两个高脚之间杯到来倒去。只见一团火球在空中飞来飞去,出了这杯飞入那杯,一滴也没有洒到杯子外 面,待威士忌的火焰将要熄灭时,高脚杯的壁上已充满了威士忌的香味。这时再倒进热腾腾的咖啡,真正是美酒加咖啡,弄得我心儿醉。若不是考虑面子,可真想喝 完了这一杯,又要它第二杯。这时才能体会到何日君再来这首歌的魅力。

知道上面这几样酒,就好比郭静初学降龙十八掌一样,一招亢龙有悔,就可以应付一气了。这时,无论是和老外一起吃饭,还是自己家人出去撮,点酒就不怵了。而且,您还或许会慢慢爱上此道了。

Tags: ,, 有, 。, ),, strawberry, ...
A trail of 2 pages
The C-shell offers a number of special commands known as control codes. Control codes define commands specific to the operating system. To issue a control code, hold down and press the corresponding letter key. The following summarizes some of the most commonly used control codes:
 d Signals the end of a file you are entering from the terminal if typed at the beginning of a line or if typed twice elsewhere in a line.
 c Cancels a command or interrupts a running program.
 z Suspends a process or job but does not terminate it: use fg to restart suspended process or job.
common_alias myscreen '~/bin/screen'
common_alias ls   'ls --color=auto'


common_alias findfile    'find . -follow -type f | grep $*'
common_alias findtext 'find . -not -name "*.d" -not -name "*.o" -not -name "*.a" -follow -type f -print0 | xargs --null grep $*'
#common_alias findcode    "find -follow -type f -name '*.cpp' -o -name '*.h' -o -name '*.java' -o -name '*.const' -print0| xargs --null grep $*"
common_alias findcode 'find . -name "*.cpp" -name "*.h" -name "*.java" -name "*.c" -name "*.hpp" -follow -type f -print0 | xargs --null grep $*'
common_alias findcdb 'find . -name "*.layout" -name "*.def" -name "*.cdb" -follow -type f -print0 | xargs --null grep $*'
common_alias findweb 'find . -name "*.aml" -name "*.xml" -name "*.xsd" -name "*.mdl" -name "*.sml" -follow -type f -print0 | xargs --null grep $*'
common_alias findany 'find . -follow -type f -print0 | xargs --null grep $*'

 

export PS1="\h@\u:\w% "
export DISPLAY=l-sjn-jezhao:0.0
export LS_COLORS='di=01;33'

function cleanup(){
        echo "Removing $1 files..."
        find \. -follow -name "$1" | xargs rm
u Clears the command line.




Tags: grep, alias, xargs, name, findcode, ...
A trail of 44 pages

Yum is usually already installed if you're running Fedora Core. In case you are using Red Hat Enterprise Linux or an older Red Hat Linux distribution. You can find Yum at: http://dag.wieers.com/packages/yum/

The configuration of Yum is inside the rpmforge-release package. You need to install it yourself.

If you've done that, the rest is simple. Upgrade your system by doing:

yum update

You can add new software by typing:

yum install

Or update installed software:

yum update

Or search for software in the local repository meta-data:

yum search

Or simply list all available software:

yum list available

From time to time you may want to save some diskspace:

yum clean

Tags: yum, update, software, installed, time, ...
A trail of 1 page

sudo apt-get install openssh-server

*Remember: You can open a terminal by pressing Alt+F2, typing gnome-terminal and pressing enter

Tags: openssh, apt, server, install, terminal, ...
A trail of 88 pages
To turn off indenting, you can use:

:set noai
:set noautoindent
Tags: noai, noautoindent, indenting, vim, linux, ...
A trail of 1 page
Hi,

I am currently following the advice at ThinkWIKI to get it working on my X61 tablet with Ubuntu 8.04.1 (everything else works great!).

My problem is that since I have 2.6.24 (which has some issues with the kernel patch) I am trying to use the Zen-Sources kernel.

However the kernels don't seem to be .tar.bz2 but rather .patch.bz2 meaning the
Code:

# tar jxf 2.6.27-rc7-zen3.patch.bz2

just reports back with an error complaining about it not being a tar file.
Tags: tar, jxf, meaning, kernel, tablet, ...
A trail of 5 pages
标 题: 中文版miomap2008+最新四维全国地图
发信站: BBS 未名空间站 (Sun Mar 9 22:39:58 2008)

目前可以在mio中国的官网下载专区里下载, 只有Wince5.0内核的
机器可以使用(凡是使用欧美版miomap/igo需要GAPI支持的机器,同样需要GAPI来运行中文版miomap2008)。 PJ方法:

1. 3.5"版本下载及破解:
http://www.cyberfans.cn/bbs/viewthread.php?tid=11307&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%3D19

2. 4.3"版本:
2008.03.05 官方下载: http://www.mio.com.cn/
(左侧地图下载)
最新版的破解暂缺,二月版的破解文件应该可用,见: http://www.fileswap.com/share/?id=0d5bd023a3ee11c7abca5b42a93c4866

3. 搭配该软件的手写输入法
1) mio 输入法: http://www.cyberfans.cn/bbs/viewthread.php?tid=10836&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%3D19

2) 捷通手写输入法见:
http://www.cyberfans.cn/bbs/thread-10432-1-1.html


注: 以上PJ信息主要来自www.cyberfans.com.
Tags: cyberfans, http, 题, pj方法, 捷通手写输入法见, ...
A trail of 15 pages
标 题: Re: 现在只有BOA在美国境外取现不收手续费么?
发信站: BBS 未名空间站 (Thu Oct 2 23:38:11 2008)

http://www.flyerguide.com/wiki/index.php/Credit/Debit/ATM_Cards_and_Foreign_Exchange
Tags: 题, 未名空, 标, 发信站, 站, ...
A trail of 6 pages
Tags: mother, enjoylife, ...
A trail of 1 page

一图抵千言,用一张清晰的结构图来表达自己的想法往往比文字更加直观。GraphViz是一个可以将简单语法描述的结构转化为图形的工具。它是AT&T Research搞出来的开源项目,在官方主页上你可以看到一些样图

Graphviz在各种平台下均可使用,首先到这里下载你所需要的版本,安装完之后会自动将命令添加到路径中去。

然后编辑一个简单的文本文件

digraph G {
    begin -> end
}

将它保存为a.dot,然后运行dot a.dot -Tpng -o a.png,就生成了下面的图形

Graphviz示例

Tags: 这里, 更加直观。, 样图, dot,然后运行dot, 将它保存为a, ...
A trail of 6 pages
    How to List my tables in Oracle database

http://www.dba-oracle.com/bk_sqlplus_list_tables_views.htm

SELECT * FROM all_tables; <- all tables you have access to
SELECT * FROM user_tables; <- all tables owned by currently logged in user
SELECT * FROM dba_tables; <- all tables in database


I am glad to know that we have Database forum here.

Just installed Oracle database server under Ubuntu Linux, It did took some time but finally beast is installed.

Now how do I list tables? Mysql has
Code:
SHOW DATABASES;
USE mydb;
SHOW TABLES;
SELECT * FROM mytable;
So far I am able to login into the Oracle using command-line tool called SQL*Plus:
Code:
$ sqlplus scott/tiger
Now how do I list tables?

I am just taking print out of Oracle sql pdf but please give me command so that I know it is working.
Reply With Quote
  #2 (permalink)  
Old 12-19-2006, 02:03 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 848
nixcraft is an unknown quantity at this point
Default

To list all your tables in Oracle server, use the following command:
Code:
SELECT * FROM cat;
First connect to server using Oracle sql plus client:
Code:
sqlplus scott/tiger
Now type at sql> prompt:
Code:
SELECT * FROM cat;
Also don't forget to set the column widths
Code:
COL table_name FORMAT a30;
COL table_type FORMAT a30;
Now to get list of tables in oracle:
Code:
SELECT * FROM cat;
Tags: tables, code, sql, oracle, select, ...
A trail of 3 pages
标 题: 贡献点干货,实在有用的- 海运大批量物品回国
发信站: BBS 未名空间站 (Fri Feb 29 04:27:11 2008)

光吵架不行,这里还是多些实在有用的信息比较好,对各位已经海归的、准备海归的,
犹豫不决要不要海归的。。。有帮助。

我在美国除了随飞机托运的一些东西外,其他家当打包装箱了25个单件(有大尺寸行李
箱,有中等大小纸箱等),总计1.5立方米,约230公斤。

美国提供海运的公司很多,一般DOOR-TO-DOOR地海运上述物品总要大约2000美元上下。
我选择的是美国那边自己把箱子送到当地城市他们指定的仓库,中国这边他们负责送到
家门口(非上海或其他海港,因此需要一段国内运输)。最后运费(不包括保险)为
460美刀左右。保险自己选,海运保险不贵。

美国这边一切顺利,海运公司会发给你一个运输号,你要把它写在每个纸箱的标签上,
正反两面都要贴一张标签,上面写上你的姓名、地址、中美联系电话等。建议大家把箱
子用质量好的胶带封好,不要吝啬胶带,要能达到开箱的时候因为打不开胶带骂娘的地
步。

中国这边麻烦点,具体步骤如下(针对在上海入关的朋友):

1. 货到,海运公司中国代理电话联系你
2. 你携带护照、留学回国人员证明等材料去上海清关提货
3. 到上海的海运公司中国代理处,交纳RMB620提货费(本人情况,各位的可能不同)
,我还交了RMB300的仓储费(我的货在那边睡了2个星期左右)

4. 去宝山三门路的上海海关申报。大家千万千万注意:那里的海关工作人员告诉我,
这样的海运物品在你乘飞机回国入境时应该申报!!!我当时根本不知道,没有申报。
5. 在上海海关填写若干材料,补上一份说明,解释情况(即入境时未申报)。大家再
次千万千万注意:只有你在留学获得学位一年内回国工作,才可以享受相关免税待遇。
否则,有些物品要交关税。
6. 上海海关的工作人员,态度和蔼可亲,办事效率很高,我的留学回国证明过期了,
照规定应该缴纳一定的关税,可是他们没有难为我,让我随便填了些物品数量,一分钱
关税没收!感动啊,终于体验了一把祖国母亲的温暖,顿时感到海关的姑娘都很靓,小
伙都特帅!

7. 海关在提货单上盖了个戳,然后给我张地图,告诉我去3公里远的检疫局报检。我怀
着忐忑不安的心情过去,结果人家一听是留学回国人员携带的私人物品,立马直截了当
地再盖个戳。
8. 两个戳就算完了,回到代理处,给他们提货单,他们安排把货从上海送到我家,送
到后电话通知。

上午11点到达四川北路的海运公司代理处,中午吃了个午饭,下午去了宝山的海关和检
疫局,等我把提货单交回代理,办完所有事情,下午3点。总体感觉他们办事效率很高
,清清楚楚,基本对留学回国人员一路绿灯。

补充:我携带的主要是私人衣物、书籍、音乐CD和其他一些杂物,没有电器(电器可能
会管的严点)。

版主,要求伪币500,谢谢!
Tags: 检, 到后电话通知。, 标, 步。, 海运大批量物品回国, ...
A trail of 1 page

This past week proved that you can't rely on something as simple as a web browser to keep your personal data and identity safe from harm.

Critical flaws were found in the Internet Explorer and even Firefox web browsers, leaving users potentially vulnerable to spyware, viruses, and password-sniffing. But don't throw up your hands in defeat—with the right software tools and a little Advanced Common Sense, you can secure your data so that even if someone did get onto your computer or into your email, they'd find nothing but headaches and woe. Read on for our list of ten software apps and strategies for locking down your online life. Photo by Anonymous Account.

Tags: data, web, defeat—with, software, headaches, ...
A trail of 5 pages
First off, if you love Baseball, skip this post for a minute and go claim one of the 1,000 beta accounts we have for Baseball Boss - click “register” on the top left and use the code “techcrunch” to get in. Then come back here and see why you’ll be glad you did.
Tags: “techcrunch”, “register”, you’ll, code, love, ...
A trail of 2 pages

Who takes more risk? The venture capitalist who funds a start-up, or the entrepreneur who founds it? 

Answer? The entrepreneur. 

Let me explain...

Tags: founds, venture, start, startup, capitalist, ...
A trail of 7 pages