Saturday, September 30, 2006
GNOME 圆滑字体显示恢复
中国各大银行缩写
中国银行(BC):" 不存!"
中国农业银行(ABC):"啊?不存?"
中国工商银行(ICBC):"爱存不存! "
民生银行(CMSB):"存么,傻B! "
招行(CMBC):"存么,白痴 !"
国家开发银行(CDB):"存点吧!"
兴业银行(CIB):"存一百!"
北京市商业银行(BCCB):"白存,存不?"
汇丰银行(HSBC):"还是不存!"
笔记本用的耳塞坏了
Tuesday, September 26, 2006
How to uninstall broken jedit on ubuntu?
# cd /var/lib/apt/lists
remove the file(s) dl.sourceforge.net_sourceforge_jedit_._Packages and dl.sourceforge.net_sourceforge_jedit_._Sources
# rm -fr dl.sourceforge.net_sourceforge_jedit_._*
then
# cd /var/lib/aptitude
open the file pkgstates and delete any related lines to the packages jedit
finally
# cd /var/lib/dpkg
open the file status and lete any related lines to the packages jedit
# sudo apt-get clean
# sudo apt-get update
Now I'm able to use apt-get or synaptic to install/remove/update packages !!!
Thanks to ramaddan for help me to find the right way.
Miniplayer 固件升级 T1.009
主要更新:
- 升级过程不再格式化磁盘
- 从WOW音效升级到DNSe
- 改善按键后10秒屏闪的问题
- 增加单曲循环功能
- 当前歌词颜色随着设置的字体颜色改变
- 修正随机播放问题!
Sunday, September 24, 2006
无线网卡设定 ubuntu
在ubuntulinux无线网卡的设置是很简单的,但是如果你不小心丢失了你的设置怎么办,或者突然无线网络不能使用了?我就是使用下面的网络配置来重新启动我的无线网络的。注意,我们使用我的“有线”网卡。
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# auto dsl-provider
# iface dsl-provider inet ppp
# provider dsl-provider
# added by pppoeconf
auto eth1
iface eth1 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
wireless-essid gentoo
# wireless-rate auto
# wireless-mode Managed
# wireless-ap 00:15:E9:0A:B0:7C
# wireless-channel 1
wireless-key s:wep_passwd
iface eth0 inet static
address 192.168.0.119
netmask 255.255.255.0
gateway 192.168.0.1
Desktop Backgrounds For Designers
I’ve been on a customizing-my-mac kick lately. Today it’s my desktop background.
A search for desktop backgrounds will yield you a ton of results (I got 11,600,000). Most of them are crap, but if you’ve got a few days hours, you can find some well designed gems.
If you don’t have the time, I’ve put together a list of some of my favorite desktop background sources:
Mandolux (The image above is from here)
555design
Artlebedev
RAILhead Design
Atacama Design
My Desk City (ignore the Hello Kitty desktops)
Sensitive Light
Caedes
InterfaceLIFT
Endeffect
Pixel Girl Presents
Twisted Sun
Patrick Bennett
Deviant Art
VladStudio
Guikit
Panoramas (for those of you with two monitors)
MacDesktops (there are some nice ones)
Saturday, September 23, 2006
买了一个桌子和床
快要到10月了,国庆假期怎么过呢?最近给桌面选择wallpaper,发现我不是太喜欢那么模糊和昏暗的图片了,对色彩鲜明的东西倒是很有兴趣了。为什么呢?
“不知道什么时候是尽头”,这句话听起来好像并不是那么坏,但是却又有种无赖的感觉,可能每个人都有可能遇到吧,别担心,相信自己努力就有收获,就算没有,那还去想什么呢 ;)
Friday, September 22, 2006
Slackware or Gentoo?
Thu Sep 21 04:05:03 CDT 2006
This is still Slackware 11.0 release candidate 5 (for now), and is still the
last release candidate, scout's honor. We are nearly there. :-)
a/devs-2.3.1-noarch-25.tgz: Added /dev/i2c-* devices.
Thanks to Jean Delvare.
Just a reminder on devs, as I've had some email about it. As it stands, devs
is required to boot even if the machine runs a 2.6+ kernel and uses udev.
a/hotplug-2004_09_23-noarch-11.tgz: Don't allow dhcpcd -k to make noise at
shutdown time if dhcpcd is not running (as in cases where it was shut down
manually, or the lease time was infinite).
[.......]
Thursday, September 21, 2006
MySQL函数SUBSTRING_INDEX
SUBSTRING_INDEX(str,delim,count)
返回字符串 str 中在第 count 个出现的分隔符 delim 之前的子串。如果 count 是一个正数,返回从最后的(从左边开始计数)分隔符到左边所有字符。如果 count 是负数,返回从最后的(从右边开始计数)分隔符到右边所有字符。
mysql>SELECT SUBSTRING_INDEX('www.mysql.com', '.', 2);
-> 'www.mysql'
mysql> SELECT SUBSTRING_INDEX('www.mysql.com', '.', -2);
-> 'mysql.com'
并且这个函数是多字节安全的。
Tuesday, September 19, 2006
The Future of Web Apps Summit
前几日在旧金山举行的未来网络服务峰会上很多优秀web2.0站点的创始人都作了精彩的演讲。
Discover how the web's most successful sites and applications were built, plus get expert practical advice from the best in the business on creating your own web app. Whether you're a developer, business owner or entrecodeneur, join us for this exclusive two-day audience with the biggest names in web development.
- Kevin Rose , digg
- Mike Arrington , TechCrunch
- Mike Davidson , Newsvine
- Jeff Veen , Google
- Tantek Çelik , Technorati
- Dick Hardt , Sxip
- Cal Henderson , Flickr
- Matt Mullenweg , WordPress
- Evan Williams , Odeo
- Tom Coates , Yahoo!
- Ted Rheingold , Dogster
- Carl Sjogreen , Google Calendar
- Steve Olechowski , Feedburner
- Ryan Carson , Amigo DropSend
Friday, September 15, 2006
微软发布Zune音乐播放器
微软(总算)如期发布了Zune:WiFi, 30GB硬盘,内置FM,3英寸屏幕(QVGA);格式支持H.264, MP3, AAC, WMA,Zune间可以有限的无线共享(Zune-to-Zune sharing)。价格暂时保密。"
Sunday, September 10, 2006
Miniplayer随机播放问题解决方法
正常情况下,miniplayer是不能随机播放的,但是你把“随机播放“打开,从列表最后一首歌播放,再按”下一首“之后,就可以随机播放了,这个问题终于解决了,不过说实话,1G的容量感觉还是不够的……