26 Sept 2009

Websites developers MUST know

开发人员一定要加入收藏夹的网站
Here are some amazing websites for developers, enjoy!



http://www.gotapi.com/
语言:英语
Language:English
简介:HTML,CSS,XPATH,XSL,JAVASCRIPT等API的查询网站。
Info: APIs for HTML,CSS,XPATH,XSL,JAVASCRIPT and so on

http://www.w3schools.com/
语言:英语
Language:English
简介:W3C制定的标准诸如XML,HTML,XSL等等的在线学习教程。
Info: Online tutorials for W3C XML, HTML, XSL and so on

http://www.xml.org.cn/
语言:中文
Language:Chinese
简介:可以说是XML的中国官方网吧。W3C标准的翻译组织与XML系列技术交流社区.
Info: Biggest XML organization in China engaged with W3C standards translation and XML technology exchange.

http://www.connectionstrings.com/
语言:英语
Language:English
简介:这里几乎收集了所有的数据库连接字符(connectionstring)了。
Info:You can find all database connection strings here.

http://www.itpub.net/
语言:中文
Language:Chinese
简介:我个人认为是国内最专业的综合性行业性技术类社区.
Info:just like the name, a big IT pub.

http://www.netvtm.com/
语言:中文
Language:Chinese
简介:内容多翻译于w3schools.com,少有原创。不过还是应该鼓励精品翻译。
Info: good translations of w3schools.com

http://www.regexlib.com
语言:英语
Language:English
简介:正则表达式库。搜索正则表达式用。
Info: online library of Regular Expressions and their usages.

http://www.rexv.org/
语言:英语
Language:English
简介:用Ajax开发的在线正则表达式验证器.
Info:A Online Regular Expression Validation Tool built by Ajax

http://www.koders.com/
语言:英语
Language:English
简介:代码搜索引擎,可以搜索几十种语言的代码。
Info: code search engine in several languages.

http://www.123aspx.com/Rotor/
语言:英语
Language:English
简介:.Net Frameworks的源代码。
Info: source code stack of .NET Frameworks.

http://dotnet.aspx.cc/
语言:中文
Language:Chinese
简介:孟宪会的资料站,虽资料大多比较简单,却解决了开发中的大部分问题?!
Info: a personal website for .NET. Easy and clear, powerful as well.

http://www.dofactory.com/Patterns/Patterns.aspx
语言:英语
Language:English
简介:23种设计模式的实现参考。特点是UML+精练的示例代码+简洁的解说风格。
Info: reference about 23 design patterns.

http://www.open-open.com/
语言:中文
Language:Chinese
简介:Java开源大全,如果你用.NET,照着它的名字前加N找找应该都有吧 ?!:)
Info:Open Source website for Java code.

http://www.riacn.com/
语言:中文
Language:Chinese
简介:我认为是国内少有的RIA专业技术站于交流社区.
Info: Nice RIA community in China.

http://www.cnpaf.net/
语言:中文
Language:Chinese
简介:中国协议分析网,很全面的协议资料网。
Info: Protocol analysis website

http://www.pinvoke.net/
语言:英语
Language:English
简介:通过.net调用win32等非受控API的资料大全。
Info:use .net to invoke win32 API

http://bbs.51js.com/
语言:中文
Language:Chinese
简介:无忧脚本,专业的脚本技术社区。
Info: professional JavaScript bbs

http://www.c-sharpcorner.com/
语言:英语
Language:English
简介:C# Corner,学习c#的好地方.
Info:C# corner

http://blog.csdn.net/group/experts/
语言:中文
Language:Chinese
简介:CSDN专家群,汇集CSDN专家的电子报.
Info:CSDN experts and electrical newsletters.

http://www.codeproject.com/
语言:英语
Language:English
简介:有很多可学习的示例代码,特点是丰富,深入浅出.
Info: lots of sample code.

http://www.gotdotnet.com/
语言:英语
Language:English
简介:微软开发维护的关于.net framework交流社区.
Info: .net framework community maintained by Microsoft

http://www.sourceforge.net/
语言:英语
Language:English
简介:全球最大的开源软体站点
Info:the biggest open source website all over the world.

http://www.asp.net/QuickStart/
语言:英语
Language:English
Info:Microsoft .NET Framework SDK QuickStart Tutorials

http://www.matrix.org.cn/
语言:中文
Language:Chinese
简介:与 Java 共舞,Java优秀的专业社区,文章质量很高.做.Net的朋友也可以从其借鉴很多知识.
Info: fly with Java. Nice Java community and articles with good quality

原文地址
Original posted
http://blog.chinaunix.net/u/16882/showart_2008304.html

15 Sept 2009

Workrave-Multi-platform Personal Time Management Software

平时有没有觉得上网久了脖子疼呢?
眼睛想从迷人的电脑屏幕上离开却欲罢不能?
利用这款强制休息的软件,可以充分得到休息
还有为电脑一族准备的休息操,值得尝试

If you are suffering time waste everyday and can NOT concentrate on the things you need to do, you MUST try this piece of software, which can help you to manage you time efficiently. There are also some extra exercises for people sitting in front of computer all day.

workrave,跨平台的个人时间管理软件
先贴几张screen shots看看:

Workrave, a multi-platform personal time management software. Just have a look of its screen shots:


这是UNIX下的截图

These are screen shots in UNIX environment:







还有Windows版本的截图:

These are screen shots in Windows environment:










官网:
Home page:
http://www.workrave.org/welcome/

下载:
Download:

windows版:
Windows version:
http://prdownloads.sourceforge.net/workrave/workrave-win32-1.9.0-installer.exe

linux版:
linux version:
http://sourceforge.net/project/showfiles.php?group_id=62552

How Can You Refer to the 26 English Letters

26个英文字母有时不容易分辨,尤其是打电话讲到地址,路名或者姓名的拼写的时候,
如何指代这26个字母呢?这样的问题西方早就遇到,也早就做了标准规定,下面就看一看答案吧.


原来他们用无线电用的字母代号来分辨,具体规定如下(实际生活中没有这么讲究罢了,想起什么就是什么了):
  A Alfa 
  B Bravo 
  C Charlie 
  D Delta 
  E Echo 
  F Florida 
  G Golf 
  H Hotel 
  I India 
  J Juliet 
  K Kilo 
  L Lima 
  M Mike 
  N November 
  O Oscar 
  P Papa 
  Q Quebec 
  R Romeo 
  S Sierra 
  T Tango 
  U Uniform 
  V Victor 
  W Whisky 
  X X—ray 
  Y Yankee 
  Z Zulu 

14 Sept 2009

ubuntu下的网络电视

=================21/11/2009============================
windows下(注意! windows下)破解ppstream的vip影片办法
可以找到vip的地址,用播放url的方法看
不花钱看会员影片,谁让咱比较"差钱"呢!
详细见新帖:
http://52xenos.blogspot.com/2009/11/ppstream-vip-hack.html
=======================================================
linux版本正在研究中...

linux安装pps请继续往下看:


ppstream终于也开窍了,出了linux版本
不过目前尚处于实验阶段,只有命令行版本
至于调用totem还是利用mplayer
看个人喜好了。我比较懒,懒得配置,就totem好了

If you want to install ppstream within Ubuntu,
please follow the instruction below:

方法如下:(最简单的方法,14/09/09更新)



1,编辑源:
1, edit the source.list

sudo gedit /etc/apt/sources.list

打开后加入下面2行,保存退出
add the following rows at the end, save and exit

deb http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main 


2,直接安装
2, install pps directly

sudo apt-get install totem-pps


依赖关系会自动将libpps, libppswrapper, gst-plugins-pps等包装上。
All dependances would be handled automatically, including libpps, libppswrapper and gst-plugins-pps.

使用方法:
Usage:

totem---编辑---插件--ppstream
totem--edit--plugins--ppstream

8.04需在编辑->插件->PPStream 首选项里启用兼容旧的 totem.
For Ubuntu8.04, you need tick the compatible with old totem plugin option.

注意:如果加入源更新时出现没有公钥的错误,解决方法如下:
PS: if you meet the error of "No public key" when update the source list, you can fix it as following:

gpg --keyserver wwwkeys.pgp.net --recv-keys PUBLIC KEY HERE
gpg --export -a PUBLIC KEY HERE > /tmp/key
sudo apt-key add /tmp/key

pplive解决方案:

这一页下载deb包直接安装吧(谁让我比较懒呢)
如果你在ubuntu中文论坛已经登录,直接猛击这里下载附件即可.
============================================

13 Sept 2009

ubuntu更新错误

今天更新u910的时候突然无端端碰到下面的问题:
正在读取软件包列表... 有错误!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_karmic_restricted_binary-i386_Packages
E: 无法解析或打开软件包的列表或是状态文件。


正准备上报bug,发现有人早已在904的时候碰到这个问题了,解决方法如下:




sudo rm /var/lib/apt/lists/* -vf


然后再次更新就可以了:

sudo apt-get update
sudo apt-get upgrade