ITeye博客

大花猫

bighuamao · 共 12 篇文章

Oracle SQL

如果有一列的值为null,则数学运算结果就是null。 e.g. select last_name, 12*salary*commission_pct from employees; commission_pct为null的行,12*salary*commission_pct结果都是null 别名: select last_name AS name, commission_pct comm from employees; select last_name "Name", salary*12 "Annual Salary" from employees; Concatenation: sele…

2012-04-08 22:56 · Oracle · 评论(0)

英语学术论文常用句型

英语学术论文常用句型 Beginning 1. In this paper, we focus on the need for 2. This paper proceeds as follow. 3. The structure of the paper is as follows. 4. In this paper, we shall first briefly introduce fuzzy sets and related concepts 5. To begin with we will provide a brief background on the Introduction 1…

2010-12-19 13:11 · English · 评论(0)

I'm the one

I'm the one who make me see the morning sun I'm the one who make me stand still on the ground I can swim in the ocean I can fly in the sky I won't drown or fall anymore Cos I'm not scared I'm the moon of the night, shining thorough my eyes I'm the beautiful rain when my heart is dry And I know ther…

2010-11-25 23:54 · 评论(0)

[转]小户型装修金钟奖揭幕 最时尚小户型

好漂亮,转走了,嘻嘻。。。 [![

2010-10-25 23:08 · Life · 评论(0)

pythonchallenge -- lev 02

table=str.maketrans("abcdefghijklmnopqrstuvwxyz", "cdefghijklmnopqrstuvwxyzab") orig="""g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. \ bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. \ sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj. """…

2010-08-05 11:06 · Python · 评论(0)

pythonchallenge -- lev 01

print(2**38) 结果:274877906944

2010-08-05 11:04 · Python · 评论(0)

用流利的英语介绍中国的特色

1. 元宵节: Lantern Festival 2. 刺绣: embroidery 3. 重阳节: Double-Ninth Festival 4. 清明节:Tomb sweeping day 5. 剪纸: Paper Cutting 6. 书法: Calligraphy 7. 对联: (Spring Festival) Couplets 8. 象形文字: Pictograms/Pictographic Characters 9. 人才流动: Brain Drain/Brain Flow 10. 四合院: Siheyuan/Quadrangle 11. 战国: Warring States…

2010-07-11 10:40 · English · 评论(0)

重装windows系统后ubuntu 10.04 grub2的恢复

解决方案如下 用Ubuntu live启动进入Ubuntu 运行终端,输入命令:sudo fdisk -l(在罗列出的计算机的盘符信息中找到Linux所在的盘符,如我的是在Dev/sda3) 再输入命令:sudo -i(获取权限) 输入命令:mount /dev/sda3(数字为你的Ubuntu所在盘符) /mnt(注意空格不可少) 输入:grub-install --root-directory=/mnt /dev/sda 至此,Grub基本修复完毕。 (拔U盘)关机重启。熟悉的双系统Grub引导界面会出现,此时选择进入 Ubuntu。 4.在终端输入命令:sudo update-grub…

2010-07-10 19:19 · Linux · 评论(0)

[转载][软件评测] MLDonkey研究 – 调教Mac平台最快的驴

[前言]: 很久之前就想写一篇关于MLDonkey的文章, 一直没有动力, 今天趁着回父母家无事, 把关于我知道的MLdonkey的调教方法公布一下, 基本上所有内容都是从互联网上google以及整合出来的, 不需要高深的技巧, 尽量做到for dummies. [首先简单介绍一下MLDonkey]: MLDonkey是一个从2002年就开始的开源多平台P2P项目, 其运行平台包括绝大多数主流操作系统包括: Linux, Unix, Solaris,MacOSX, MorphOS, Windows. 它支持几种常见的P2P传输协议:ED2K (包括 Kademlia和Overnet), Bi…

2010-07-10 08:36 · Linux · 评论(0)

Linux & Mac & Dos & Windows

Linux is for people who want to know why it works. Mac is for people who dont want to know why it works. DOS is for people who want to know why it does not work. Windows is for people who dont want to know why it does not work.

2010-07-08 16:12 · Anything · 评论(0)

Ubuntu10.04设置

安装sun jdk $ sudo vim /etc/apt/sources.list 添加源: deb http://archive.canonical.com/ lucid partner 保存,然后: $ sudo apt-get update $ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk $ sudo apt-get install sun-java6-plugin 如果系统已经装了openjdk, 运行 $ sudo update-alternatives --config java 选择sun的jd…

2010-07-07 10:33 · Linux · 评论(0)

MySQL中文乱码

Issue: MySQL数据库存储的中文为乱码 Env: Deiban + MySQL 5.1.47 1、MySQL字符集 查看当前MySQL服务器支持的所有字符集 mysql> SHOW CHARACTER SET; 任何一个给定的字符集至少有一个校对规则。它可能有几个校对规则。 列出一个字符集的校对规则 mysql> SHOW COLLATION LIKE 'ucs2%'; mysql> SHOW COLLATION LIKE 'utf8%'; 校对规则命名约定:它们以其相关的字符集名开始,通常包括一个语言名,并且以_ci (大小写不敏感)、_cs (大小写敏感)或_bin (二元)结束…

2010-07-04 17:04 · MySQL · 评论(0)