紫风乱写

除了他眼前的屏幕,这个人什么也没看见。
被周围的电脑簇拥着,他只知道他所创造的现实,但又意识到那是虚幻。
他已经超越了技术。也超越了机器。
posts - 62, comments - 93, trackbacks - 0, articles - 0
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

     摘要: 软件开发团队和测试团队之间的关系是复杂而有趣的,双方有共同目标,又互相竞争。双方的共同目标在于减少软件交付之后缺陷的严重程度和数量。双方的利益竞争在于测试人员尽可能的发现软件开发团队交付的软件产品的缺陷。在这种情况下,减少无谓的内耗,共同保证共同目标的实现,才可能实现双方的共赢。但是在很多时候,软件开发团队和测试人员之间总存在着一种紧张的关系,并因此无谓的添加了到达共同目标的困难。

在我经历过的一些开发过程中,多次因为与测试人员之间的颇为愉快的合作,实现了双赢和共赢。总结出来几点,抛砖引玉:
1. 保持良好的心态,提高对开发人员与测试人员之间关系的认识
2. 对于客户想法的理解,开发团队与测试团队需要达成一致并且保持同步。
3. 互相帮助,共同提高  阅读全文

posted @ 2010-10-24 05:07 Justfly Shi 阅读(1797) | 评论 (0)编辑 收藏

1. test if the command notify-send is installed
notify-send "Hello"
If the command is not found, install the required package following the tips
2. vi notify.sh and input the below content into it.
#!/bin/bash
DISPLAY=:0.0 /usr/bin/notify-send -30000 "<b>Take a Break!</b>"
3. chmod +x notify.sh
4. crontab -e
5. add the below content as a new line in the opened file. and then save it
*/45 * * * * /home/jimmy/notify.sh
6. Done!

posted @ 2010-09-28 15:49 Justfly Shi 阅读(351) | 评论 (0)编辑 收藏

It is only available for one session.
using the below command before you run your query
ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS';
For more information, refer to the page http://www.oracle.com/technology/products/database/sql_developer/howtos/howto_policy_date_formats.html

posted @ 2010-08-11 16:45 Justfly Shi 阅读(350) | 评论 (0)编辑 收藏

In Ubuntu, key F10 is used to open the first item of the menu bar, but If you use Emacs key binding in eclipse, F10 is used as the redo key. So you need to do the below change.

Run gconf-editor, browse to /desktop/gnome/interface then scroll down to menubar_accel and delete the F10 value.

From http://www.h4ck3r.net/2010/04/07/debugging-step-over-f10-eclipse-ubuntu/

posted @ 2010-07-22 23:35 Justfly Shi 阅读(317) | 评论 (0)编辑 收藏

install jdk via Synaptic package manager, the name of it is sun-java6-jdk
download the eclipse install file for Linux

1.Extract the eclipse download and move to opt.

tar xzf wtp-all-in-one-sdk-1.0-linux-gtk.tar.gz
sudo mv eclipse /opt/eclipse
cd /opt
sudo chmod -R +r eclipse
sudo chmod +x `sudo find eclipse -type d`

2. Then create an eclipse executable in your path
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudo vi /usr/bin/eclipse

With this contents
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
export GDK_NATIVE_WINDOWS=1

$ECLIPSE_HOME/eclipse $*

3 Then create a gnome menu item
sudo vi /usr/share/applications/eclipse.desktop

With this contents
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true


4 You now have a working eclipse. But run this command first to initialize the set up
. /opt/eclipse/eclipse -clean

Then from here on you can run from the menu item applications/programming/eclipse

posted @ 2010-07-22 23:27 Justfly Shi 阅读(323) | 评论 (0)编辑 收藏

查找包含某字符串的所有文件
grep -F 'aaa' -R ./

如何指定输出文件的某几行
想输出多行用:
sed -n '1,np' file
跳着输出用";"
sed -n '1p;4p;7p;9p' file

posted @ 2010-07-22 23:25 Justfly Shi 阅读(259) | 评论 (0)编辑 收藏

open System->Administration->Language support
1. Install/Remove languages->check 'Chinese(Simplified)
2. Keyboard input method system->ibus
open System->Preferences->IBus Preferences->Input method->add "Chinese Pinyin"->move it to the top

posted @ 2010-07-22 23:23 Justfly Shi 阅读(400) | 评论 (0)编辑 收藏

http://www.linuxsir.org/bbs/thread362467.html
下面的这个已经不再维护了。上面的这个好使。
http://www.linuxsir.org/bbs/thread320802.html

posted @ 2010-07-22 23:23 Justfly Shi 阅读(539) | 评论 (2)编辑 收藏

create or edit file /etc/hal/fdi/policy/mouse-wheel.fdi, change its content to below
<?xml version="1.0" encoding="UTF-8"?>
<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>


then run the below command

sudo rm /var/cache/hald/fdi-cache
sudo /etc/init.d/hal restart
sudo /etc/init.d/gdm restart

posted @ 2010-07-22 23:21 Justfly Shi 阅读(375) | 评论 (0)编辑 收藏

当Eclipse无法找到类,无法正确导入类的时候,有的时候是因为index出错,删除下面这个目录
.metadata\.plugins\org.eclipse.jdt.core

posted @ 2010-06-29 15:21 Justfly Shi 阅读(615) | 评论 (0)编辑 收藏

仅列出标题
共6页: 上一页 1 2 3 4 5 6 下一页