`
peigen
  • 浏览: 75992 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
今日是属于全球自由软件世界的节日:软件自由日 。所有自由软件的拥护者们都在关注或庆祝这一节日。我们的骨头大侠(bones7456)也献上了他的礼物:位于浙江杭州的、一个高质量Ubuntu源。 新闻来源:http://li2z.cn/2009/09/18/ubuntu_mirror/ 骨头兄亲自搭建并维护这个Ubuntu源,本着追求完美的原则,保证源的及时同步和完整性是该源的重要特色。同时,该源位于浙江杭州百兆共享宽带的电信机房,速度也是可以保证的。 据TualatriX向骨头询问得知,该源的同步频率是“间隔两小时模式”,也就是说,在一次同步完成的两小时后,即开始下一次同步。尽可能的保 ...
主系统:Ubuntu 桌面环境:Gnome 窗口管理器:Compiz 文件管理器:还是gnome自己的Nautilus够了 Panel:Gnome-Do & Gnome-panel 虚拟机: Virtual Box 运行windows程序:Wine 网页浏览器:Firefox & Chromium & Opera....偶是尝鲜主义。 下载工具:transmison IM工具:Skype, Web QQ,xchat,该死的WangWang Office工具:OpenOffice.org, Google Docs 文本编辑器:vim, ...
使用: def name = System.in.readLine()   抛出如下错误 Caught: groovy.lang.DeprecationException: readLine() on InputStream is no longer supported. Either use a Reader or encapsulate the InputStream with a BufferedReader and an InputStreamReader. at peigen.Console.readInputLine(Console.groovy:44) ...
转自http://blog.sina.com.cn/s/blog_6135ea800100f1bi.html   window下 打开C:\Windows\System32\drivers\etc 找到hosts文件,用记事本打开。   linux下 sudo vi /etc/hosts   添加(直接写在原来的文件内容下面,原有内容无需删除!): 203.208.33.100 lh1.ggpht.com 203.208.33.100 lh2.ggpht.com 203.208.33.100 lh3.ggpht.com 203.208.33.100 lh4.ggph ...
链接mysql的时候select出来的都是乱码... 因为之前用的5.1.0的驱动,换成5.1.6的驱动即可   这个工具3年前就在用,但是还是有很多不满意的地方,开发者刻意不放出源码...也不知道是为啥,还是在sf托管的项目...
Spring中嵌套事务的方式可以在org.springframework.transaction.TransactionDefinition中找到。 PROPAGATION_REQUIRED -- 支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。 PROPAGATION_SUPPORTS -- 支持当前事务,如果当前没有事务,就以非事务方式执行。 PROPAGATION_MANDATORY -- 支持当前事务,如果当前没有事务,就抛出异常。 PROPAGATION_REQUIRES_NEW -- 新建事务,如果当前存在事务,把当前事务挂起。 PROPAGATION_N ...

Meld编码问题解决

  按照如上配置即可解决编码问题...都是GBK惹的祸阿
1:准备好替换工具,gnome环境推荐用meld,kde环境试用kdiff3(我没kde..也没装kdiff3,不知道效果如何)不敢胡喷 在debian like环境用 sudo apt-get install meld安装即可 2:备份你的ccrc_xcleardiff,并下载附件 的脚本. cd /home/peigen/soft/java/eclipse/plugins/com.ibm.rational.clearcase.compare_merge.linux.x86_7.0.1.D061004 (版本不一定一样哦) cp  ccrc_xcleardiff ccrc_xclea ...
    awk '{print $1}' ~/.bash_history | sort | uniq -c | sort -gr | head
得到长度代码: %x="abcd" #方法一 %expr length $x 4 # 方法二 靐o $ 4 # 方法三 %expr "$x" : ".*" 4 # expr 的帮助 # STRING : REGEXP anchored pattern match of REGEXP in STRING 查找子串代码: %expr index $x "b" 2 %expr index $x "a" 1 %expr index $x "b" ...
实我是为了不用全路径.... 找到~/.bashrc里面PS1=........... 默认的PS1="[\u@\h \W]\$",其中\W就是路径的设置选项,大写的W是简介模式,小写的为全路径模式,自己改改就OK了   请按需取用
  Learning-Jme2-tutorial_3   请浏览:http://peigen.info/2010/1/29/Learning-Jme2-tutorial_3/ 以后在http://peigen.info/category/JME/更新   3) Hello TriMesh ( Note: the starter tutorials in this wiki are not always up to date with the latest development version of jME. You can find up t ...
Learning-Jme2-tutorial_2 请浏览:http://peigen.info/2010/1/29/Learning-Jme2-tutorial_2/以后在http://peigen.info/category/JME/更新 2. Hello Node ( Note: the starter tutorials in this wiki are not always up to date with the latest development version of jME. You can find up to date source ...
Learning_JME2-Tutorial_1   请浏览:http://peigen.info/2010/1/29/Learning-Jme2-tutorial_1/以后在http://peigen.info/category/JME/更新 1) Hello World ( Note: the starter tutorials in this wiki are not always up to date with the latest development version of jME. You can find up to date source fi ...
眼泪~~汹涌~~~大姨父走的时候我在南昌,现在,我在杭州~~~该死的杭州,我就不该来杭州...愿姥姥平安~~~请母亲也注意自己的身体...都是操劳了一辈子的...我却在该死的杭州...我为什么要来杭州!!!!!!!!!!!!!理想,该死的理想...理想,什么是理想.....理想就是要我现在这样么,理想.....明天是我的生日...最,最,最可悲的生日
Global site tag (gtag.js) - Google Analytics