天生我才必有用

林海峰《我地大家》

Posted in 音乐    作者:Ray    2008年二月29日

Jan_Lam-We-Promo-CPOP-2008-FFK

专辑名称:我地大家
歌手姓名:林海峰
唱片公司:Gold Label
发行日期:2008年02月25日
专辑语言:粵语专辑1CD

曲目列表

  1. 我哋大家
  2. GO GO 飞龙
  3. 你老板
  4. 傻婆
  5. 三角朱古力
  6. 大闷棍
  7. 我掉
  8. 世界有古怪(有谢安琪)
  9. 我系边个
  10. 冷面笑匠
  11. 齐齐整整
  12. 粒粒
  13. 踎低喷饭

专辑简介林海峰的最新作品,如果《我哋大家》真的是特别为零八北京奥运创作的话便更添嘲讽意味,风格明显由香港特区成立十周年纪念主题曲《始终有你》转化而来,没 有像《福佳始终有你》明刀明枪的翻玩恶搞,保留雄伟正派万人同心大合唱的感觉之下,香港、未来、经济、困难、美好,将一切模糊为啦啦两字,狮子山下且共 济,一方面继续求求其唱,一方面信就会精彩,矛盾之中有着无可奈何的苦笑和悲意。

标签: ,

MySQL (Can’t connect to) (10061)

Posted in 数据库    作者:Ray    2008年二月29日

今天在Debian 4.0的服务器上安装了MySQL的服务,安装非常的简单,服务器也已经运行起来。但现在却碰到了一个,就是从其他客户端连接(即非localhost),却死活连不上,同时返回一个错误Can't connect to MySQL server on 'server' (10061)。
查了半天的原因未过,猜想是不是由于mysql服务的配置问题。就好奇的去看了一下my.cnf,原来原因真的是配置的问题,只需修改#bind-address = 127.0.0.1,把注释去除,原来无法连接的问题就解决了。

标签:

jQuery – autocomplete

Posted in Javascript    作者:Ray    2008年二月27日

想找一个jQuery的autocomplete的实现,谁知道竟然有这么多,(官方也不推荐一下)。

先把这些网址记录下来,已被将来使用:

  1. http://www.pengoworks.com/workshop/jquery/autocomplete.htm :不过界面土了点。
  2. http://www.dyve.net/jquery/?autocomplete UI挺不错,准备先试用这个。
  3. http://plugins.jquery.com/project/jqac 这个官方网站Plugin中。
  4. http://plugins.jquery.com/project/jq-autocomplete 奇怪的是官网还有另一个,晕。

不过都没使用过,有空我会再试用一下。不过中文输入法的问题,可能还有做一点修改。

标签: ,

如何设置Linux的DNS客户端

Posted in Linux    作者:Ray    2008年二月26日

Debian是使用NetworkManager来设定DNS Server的地址,如果没有安装GUI这样不就不能设定了。

其实解决的方法非常简单,Linux都是使用/etc/resolv.conf,只需要在此配置文件中加入:
nameserver 192.168.1.1 这样就可以了,其中192.168.1.1替换成你的DNS服务器的IP地址。

标签:

UK Chart Show Album Top 10 (Feb 24th 2008)

Posted in 音乐    作者:Ray    2008年二月25日
Rank Album
1 The Feeling – Join With Us
2 Nickelback – All The Right Reasons
3 Amy Winehouse – Back To Black – The Deluxe Edition
4 Mark Ronson – Version
5 Mika – Life In Cartoon Motion
6 Michael Jackson – Thriller 25
7 Adele – 19
8 Jack Johnson – Sleep Through The Static
9 Jonathan Ansell – Tenor At The Movies
10 Rihanna – Good Girl Gone Bad
标签:

Professional Python Frameworks

Posted in eBook    作者:Ray    2008年二月20日

python.jpg

TITLE : Professional Python Frameworks: Web 2.0 Programming with Django and Turbogears (Programmer to Programmer) (Paperback)
AUTHOR : by Dana Moore (Author), Raymond Budd (Author), William Wright (Author)
PUBLISHER : Wrox publisher
ISBN : 0470138092
EDITION : 1st
PUB DATE : October 15, 2007
LANGUAGE : English

DESCRIPTION:

As two of the leading MVC web frameworks for Python, Django and TurboGears allow you to develop and launch sites in a fraction of the time compared to traditional techniques and they provide greater stability, calability, and management than alternatives. Packed with examples, this book will help you discover a new methodology fordesigning, coding, testing, and deploying rich web applications. A team of expert authors shows you the power of MVC frameworks and the capabilities of the TurboGears and Django packages. The Django chapters show you how to automate production of common web development tasks, portal creation, and content management, so you can focus on higher-level application issues and design. The TurboGears chapters illustrate how to rapidly create modern, highly interactive Web 2.0 applications. For both frameworks, you’ll create useful applications that exemplify common Web 2.0 design paradigms and their solutions. Ultimately, you’ll leverage your Python skills using Django and TurboGears and go from novice to RIA expert. What you will learn from this book

  • How you can use frameworks to save you time and frustration in the development cycle
  • The elements, differences, and similarities of the TurboGears and Django frameworks
  • Advanced capabilities of both frameworks and how they easily solve issues common to web applications
  • Approaches to simplifying your client side JavaScript® with MochiKit, a Pythonic JavaScript library
  • How to pair TurboGears with Flash for even more possibilities.

Who this book is for This book is for Python developers who want to learn rapid Web 2.0 development techniques using frameworks and incorporating a model-view-controller architecture. Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

标签: ,

UK Chart Show Album Top 10 (Feb 17th 2008)

Posted in 音乐    作者:Ray    2008年二月19日
Rank Album
1 Jack Johnson – Sleep Through The Static
2 Nickelback – All The Right Reasons
3 Michael Jackson – Thriller 25
4 Adele – 19
5 Morrissey – Greatest Hits
6 Michael Buble – Call Me Irresponsible – Special Edition
7 Amy Macdonald – This Is The Life
8 Scouting For Girls – Scouting For Girls
9 Mika – Life In Cartoon Motion
10 One Night Only – Started A Fire
标签:

为网页添加网络书签

Posted in 网站设计    作者:Ray    2008年二月19日

1.del.icio.us书签代码

<a href="http://del.icio.us/post"
onclick="window.open('http://del.icio.us/post?v=4&noui&jump=close&
url='+encodeURIComponent(location.href)
+'&title='+encodeURIComponent(document.title),'delicious',
'toolbar=no,width=700,height=400'); return false;>
Save This Page</a>

具体使用说明参加:http://del.icio.us/help/savebuttons

标签: ,

TinyMCE 3.0 发布

Posted in Javascript, 网站设计    作者:Ray    2008年二月19日

著名的所见即所得编辑器 TinyMCE 终于发布了 3.0 正式版。

TinyMCE 是一个平台独立基于Web的Javascript HTML WYSIWYG编辑器,采用JavaScript/ECMAScript开发。

它的主要特性包括:

  1. 主题/模板支持,多语言支持(包括简体中文)
  2. 支持通过插 件的方式进行扩展。
  3. 可工作在Mozilla Firefox和MSIE、Safari上。

很多网站系统都采用了 TinyMCE,其中包括 :Wordpress、Joomla等等。同时在官方的Wiki中也包含了丰富的示例,非常容易学习。自己的第一次接触还是使用Joomla的时候。

标签:

如何知道自己所使用的Linux发布版本

Posted in Linux    作者:Ray    2008年二月18日

1.Linux的内核版本:

Linux的内核版本可以通过两种途径获知:

  • Boot Time messages
  • dmesg | head -1

  • /proc/version
  • cat /proc/version

2.Linux发行版本

可以通过/etc/issue来获得Linux发布版本信息,在命令行输入: cat /etc/issue

标签: