表情  

131510_2055778422_wuwkjzmz.jpg (JPEG Image, 456x2745 pixels)

Blogged with Flock

15 Unreasonably Useful Websites  

15 Unreasonably Useful Websites

Blogged with Flock

可恶  

NND,YouTube都被封了,链接到youtube的视频全都完蛋啦.可恶啊

郁闷  

突然发现一个人不见了~yang

郁闷的清晨  

早上7点把电脑拆开清灰,其间把cpu 显卡都拆下来,再装上去,竟然启动不了了,bois提示错误,于是把bois清空,还是不行.干脆把电池拆下重装,按下电源,啥反应没有,屏幕黑的.以为bois烧坏.又想到可能cpu没装好,于是又重装了下,启动,还是没反应.又把bois跳线跳来跳去,跳了几下,竟然好了.累死了,竟然搞了两个小时.
可惜今天起了个大早,全泡汤了

无聊  

大四,逃课,上网,找工作...

Marc Terenz - Love To Be Loved By You  

me singing ``what goes around`` Justin Timberlake  

Me singing Heaven  

Image resize  

 

1、记住该记住的,忘记该忘记的。改变能改变的,接受不能改变的

  2、能冲刷一切的除了眼泪,就是时间,以时间来推移感情,时间越长,冲突越淡,仿佛不断稀释的茶。
  3、怨言是上天得至人类最大的供物,也是人类祷告中最真诚的部分

  4、智慧的代价是矛盾。这是人生对人生观开的玩笑

  5、世上的姑娘总以为自己是骄傲的公主(除了少数极丑和少数极聪明的姑娘例外)

  6、如果敌人让你生气,那说明你还没有胜他的把握

  7、如果朋友让你生气,那说明你仍然在意他的友情

  8、令狐冲说“有些事情本身我们无法控制,只好控制自己。”

  9、我不知道我现在做的哪些是对的,那些是错的,而当我终于老死的时候我才知道这些。所以我现在所能做的就是尽力做好每一件事,然后等待着老死

  10、也许有些人很可恶,有些人很卑鄙。而当我设身为他想象的时候,我才知道:他比我还可怜。所以请原谅所有你见过的人,好人或者坏人

  11、鱼对水说你看不到我的眼泪,因为我在水里.水说我能感觉到你的眼泪,因为你在我心里。

  12、快乐要有悲伤作陪,雨过应该就有天晴。如果雨后还是雨,如果忧伤之后还是忧伤.请让我们从容面对这离别之后的离别。微笑地去寻找一个不可能出现的你!

  13、死亡教会人一切,如同考试之后公布的结果——虽然恍然大悟,但为时晚矣~!

  14、你出生的时候,你哭着,周围的人笑着;你逝去的时候,你笑着,而周围的人在哭!一切都是轮回!!!!我们都在轮回中!!!!

  15、男人在结婚前觉得适合自己的女人很少,结婚后觉得适合自己的女人很多

  16、于千万人之中,遇见你所遇见的人;于千万年之中,时间的无涯荒野里,没有早一步,也没有晚一步,刚巧赶上了。

  17、每个人都有潜在的能量,只是很容易:被习惯所掩盖,被时间所迷离,被惰性所消磨

  18、人生短短几十年,不要给自己留下了什么遗憾,想笑就笑,想哭就哭,该爱的时候就去爱,无谓压抑自己

  19、和平年代》里的话:当幻想和现实面对时,总是很痛苦的。要么你被痛苦击倒,要么你把痛苦踩在脚下

  20、真正的爱情是不讲究热闹不讲究排场不讲究繁华更不讲究嚎头的
  21、生命中,不断地有人离开或进入。于是,看见的,看不见的;记住的,遗忘了。生命中,不断地有得到和失落。于是,看不见的,看见了;遗忘的,记住了。然而,看不见的,是不是就等于不存在?记住的,是不是永远不会消失?

  22、我们确实活得艰难,一要承受种种外部的压力,更要面对自己内心的困惑。在苦苦挣扎中,如果有人向你投以理解的目光,你会感到一种生命的暖意,或许仅有短暂的一瞥,就足以使我感奋不已

  23、我不去想是否能够成功,既然选择了远方,便只顾风雨兼程;我不去想,身后会不会袭来寒风冷雨,既然目标是地平线,留给世界的只能是背影

  24、后悔是一种耗费精神的情绪.后悔是比损失更大的损失,比错误更大的错误.所以不要后悔

HowTo: Create a Passwordless / Guest Login (Simple Method)  

Warning: Even though this method is simple (few steps), it is extremely dangerous if you don't know what you're doing. Do not attempt this if you are worried that you might mess up the /etc/shadow file, thus screwing up your Ubuntu system, possibly irreparably!

This is an oft-requested task, mainly for people who don't want to require less tech-savvy family members to have to remember passwords. It is a security risk, but I think people should at least know how to put their computers at risk if they want to. Don't blame me if anything bad happens.

Step 1
Make sure you have created a user. For the sake of this example, let's say you called the account username guest. You can give it any temporary password you want. We're going to change that password shortly anyway. I'm assuming you know how to do this already. If you don't, I can assure you that this HowTo is not one you should be following, and you would be very likely to screw up the next step.

Step 2
Next, go to the terminal and paste in this command:
Code:
sudo nano /etc/shadow
This will open the /etc/shadow file (the one that contains all the passwords) in a text editor called Nano.

Once you have it open, find the appropriate line for the account in question. It'll look something like this:
Code:
guest:$1$2TUdk8Z0$tb2Fn6Idgo8dq9EgYv4xZ0:13721:0:99999:7:::
Change the second part (in bold here) to match this second part (also in bold):
Code:
guest:U6aMy0wojraho:13721:0:99999:7:::
Then save the file (Control-X, Y, Enter).

Now you should be able to log into the guest (or whatever you called it) account without entering a password.

胡思乱想  

假期越来越无聊了,喜欢的人回家了,天天想。
回到家里呆了一个星期,应该还不到,就又回到了学校。满校准备考研的人,我都想加入进去了。
觉得没这个必要,再接着学习的话我就真的长不大了。

PC World 评出100家最受欢迎博客网站  

《PC World》网站日前评出了最受欢迎的100家博客网站.结果,知名IT新闻博客网站Slashdot和Engadget等纷纷上榜.
此次上榜的这100家博客网站可分为10大类,其中科技新闻类21家,专业技术类13家、关注知名企业类7家、企业博客5家、政治商业类14家、媒体博客5家、艺术文化类17家、生活娱乐类10家、个人和趣事奇闻类分别为4家.
以下为《PC World》评出的最受欢迎的100家博客网站:

科技新闻:
  1.Slashdot(slashdot.org/)

  2.Engadget(www.engadget.com/)

  3.Gizmodo(www.gizmodo.com/)

  4.TechCrunch(www.techcrunch.com/)

  5.Ars Journals(arstechnica.com/journals.ars)

  6.ReadWriteWeb(www.readwriteweb.com/)

  7.Scobleizer(www.scobleizer.com/)

  更多科技新闻:

  8.Epicenter(blog.wired.com/business/)

  9.GigaOM(www.gigaom.com/)

  10.Valleywag(www.valleywag.com/)

  11.Good Morning Silicon Valley(www.svextra.com/blogs/gmsv/)

  12.Scripting News(scripting.com/)

  13.Download Squad(www.downloadsquad.com/)

  14.CNet's Technology & Politics Blog(news.com.com/8300-10784_3-7.html?categoryId=9702222)

  15.The Philter (www.lightreading.com/blog.asp?blog_sectionid=217)

  16.TechBlog(blogs.chron.com/techblog/)

  17.Tech_Space(blogs.usatoday.com/techspace/)

  18.Pogue's Posts(pogue.blogs.nytimes.com/)

  19.Robert X. Cringely(weblog.infoworld.com/robertxcringely/)

  20.Scott Rosenberg's Wordyard(www.wordyard.com/)

  21.Rahul Sood(www.rahulsood.com/)

  专业科技网站:

  22.Searchblog(www.battellemedia.com)

  23.Asa Dotzler(weblogs.mozillazine.org/asa/)

  24.Bruce Schneier(www.schneier.com/blog/)

  25.Security Fix(blog.washingtonpost.com/securityfix/)

  26.SunbeltBlog(sunbeltblog.blogspot.com/)

  27.GeekSugar(geeksugar.com/)

  28.Retro Thing(www.retrothing.com/)

  29.Tivo Blog(tivoblog.com/)

  30.Treonauts(www.treonauts.com/)

  31.Webware(www.webware.com/)

  32.Wi-Fi Networking News(www.wifinetnews.com/)

  33.Photo Matt(photomatt.net/)

  34.GPS Magazine(www.gpsmagazine.com/)

  巨人观察:

  35.Microsoft Watch(www.microsoft-watch.com/)

  36.All About Microsoft(blogs.zdnet.com/microsoft/)

  37.Ed Bott's Windows Expertise(www.edbott.com/weblog/index.php)

  38.AppleInsider(www.appleinsider.com/)

  39.The Unofficial Apple Weblog(www.tuaw.com/)

  40.Daring Fireball(daringfireball.net/)

  41.MacUser(www.macuser.com/)

  企业博客:

  42.The Official Google Blog(googleblog.blogspot.com/)

  43.Matt Cutts(www.mattcutts.com/blog/)

  44.Channel 9(channel9.msdn.com/)

  45.GM FastLane(fastlane.gmblogs.com/)

  政治和商业:

  46.PolicyBeta(blog.cdt.org/)

  47.Instapundit.com(www.instapundit.com/)

  48.Bloggingheads.tv(bloggingheads.tv/)

  49.Danger Room(blog.wired.com/defense/)

  50.Political Punch(blogs.abcnews.com/politicalpunch/)

  51.Iraq the Model(iraqthemodel.blogspot.com/)

  52.Wonkette(www.wonkette.com/)

  53.AtlanticBlog(www.atlanticblog.com/)

  54.Kausfiles(www.slate.com/id/2168675/)

  55.Seth Godin(sethgodin.typepad.com/)

  56.Lessig Blog(www.lessig.org/blog/)

  57.James Fallows(www.jamesfallows.com/)

  58.Daily Kos(www.dailykos.com/)

  59.The Huffington Post(www.huffingtonpost.com/)

  媒体博客:

  60.BuzzMachine(www.buzzmachine.com/)

  61.MediaShift(www.pbs.org/mediashift/)

  62.PaidContent.org(www.paidcontent.org/)

  63.Romenesko(www.poynter.org/column.asp?id=45)

  64.Disinformation(www.disinfo.com/site/)

  艺术和文化:

  65.Cartoon Brew(www.cartoonbrew.com/)

  66.Laughing Squid(laughingsquid.com/)

  67.Gawker(www.gawker.com/)

  68.Defamer(www.defamer.com/)

  69.What Would Tyler Durden Do(www.wwtdd.com/)

  70.News From Me(www.newsfromme.com/)

  71.TV Barn(blogs.kansascity.com/tvbarn/index.html)

  72.Reality Blurred(www.realityblurred.com/realitytv/)

  73.TVgasm(www.tvgasm.com/)

  74.Boing Boing(www.boingboing.net/)

  75.Barenaked Ladies(www.bnlblog.com/)

  76.Rain of Bastards(rainofbastards.livejournal.com/)

  77.Create Digital Music(www.createdigitalmusic.com)

  78.Music Thing(musicthing.blogspot.com)

  79.Joystiq(www.joystiq.com/)

  80.Kotaku(www.kotaku.com/)

  81.Mental Floss(www.mentalfloss.com/)

  生活方式和业余爱好:

  82.Make(www.makezine.com/blog/)

  83.Daddytypes.com(www.daddytypes.com/)

  84.Lifehacker(www.lifehacker.com/)

  85.43 Folders(www.43folders.com/)

  86.YumSugar(www.yumsugar.com/ )

  87.Slashfood(www.slashfood.com/)

  88.FabSugar(fabsugar.com/)

  89.Go Fug Yourself(fabsugar.com/)

  90.Autoblog(www.autoblog.com/)

  91.38Pitches(www.38pitches.com)

  92.The Map Room(www.mcwetboy.net/maproom/)

  个性:

  93.Dynamist(www.dynamist.com/weblog/ )

  94.Chris Pirillo(chris.pirillo.com/)

  95.Kottke.org(www.kottke.org/)

  96.Blog Maverick(www.blogmaverick.com/)

  趣事和奇闻:

  97. Cute Overload(www.cuteoverload.com/)

  98. I Can Has Cheezburger(www.ICanHasCheezburger.com)

  99. Fake Steve Jobs(fakesteve.blogspot.com/)

  100. WaiWai(mdn.mainichi-msn.co.jp/waiwai/)

Improved subpixel font rendering for Feisty--改进字体渲染  

LINK: http://ubuntuforums.org/showthread.php?t=343670
Patched libraries are built against freetype 2.3.x (not currently in feisty) and include David Turner's subpixel rendering patches.

Code:
deb http://www.telemail.fi/mlind/ubuntu feisty fonts
deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts
[edit]
for amd64 binaries use RAOF's repository
Code:
deb http://raof.dyndns.org/falcon feisty experimental
deb-src http://raof.dyndns.org/falcon feisty experimental
Alternative repository, for experimental builds only.
Code:
deb http://www.telemail.fi/mlind/ubuntu feisty experimental
deb-src http://www.telemail.fi/mlind/ubuntu feisty experimental

Notes
  • To install the packages
    Code:
    sudo aptitude update
    sudo aptitude install libfreetype6 libcairo2 libxft2
  • After the install, you may want reconfigure font settings. I'm currently using Feisty defaults (Native, Always, No bitmapped fonts) myself.
    Code:
    sudo dpkg-reconfigure fontconfig-config
    sudo dpkg-reconfigure fontconfig
  • If you get errors about missing gpg key
    Code:
    wget http://www.telemail.fi/mlind/ubuntu/937215FF.gpg -O- | sudo apt-key add -
    (or alternatively)
    Code:
    gpg --keyserver subkeys.pgp.net --recv-keys 937215FF
    gpg --export --armor 937215FF | sudo apt-key add -
  • GPG key to RAOF's repository (amd64 packages)
    Code:
    wget http://ubuntu.moshen.de/2F306651.gpg -O- | sudo apt-key add -
  • If you later decide to go back to Ubuntu packages, you must downgrade all three installed packages
  • You'll probably need to restart X-server after installing the packages to see the changes apply

Sharing Internet Connection in Ubuntu  

Setting up a computer to share its internet connection should be easy.After all, you’ve successfully networked your computers together and even shared files with all your home computers, so why not the Internet? Well if you have a small home network of computers all connected and have tried to open up a browser, you’ve probably found out that things aren’t quite as straight forward as connecting one machine with an Ethernet cable to the computer that has the DSL/cable modem.

The secret is that everything comes down to having a gateway.

A gateway is a computer or device than can route data between different networks. Put it this way, if your computers are on one network and every other computer connected to the Internet is on a different one, to pass information across network boundaries you need a device which is connected to both networks and equipped to decide whether information from one network should go out to the other network, and vice versa.

So, without a gateway there is no way for the other computers in your network to receive or pass information to the other networks, and consequently, they have no Internet access.

The computer in your small network which is directly connected to the cable or DSL modem is provided with a default gateway by the Internet service provider. That allows the computer to connect to the interenet, but unfortunately for us that gateway is not part of your home network - rather it is a separate network formed between the computer connected to the cable/DSL modem and the ISP itself.

In order to enable Internet access on the rest of your small home network, the computer or device that connects with your ISP must become a gateway for the computers in your local home network. Once this has been configured, it will enable all of the other home network computers to access the Internet by sending and receiving information through that gateway.

The easiest way of acquiring a gateway for your home network is to buy a cable/DSL router. Given how cheap they currently are (about a quarter of the price they commanded when they first appeared in the marketplace), there really isn’t much of an excuse not to buy one.

The major advantages of having a hardware router doing your internet sharing include minimal configuration, since they are set up to act as a gateway by default (it’s pretty much all they do), increased reliability (they are not a PC… PCs crash.), and security, since most of these devices incorporate a firewall. Highly recommended!

You’ll also need

a working dial-up Internet account with an Internet Service Provider (ISP) or

a working broadband (cable, DSL, satellite, etc.) Internet connection.

Share your Internet connection using the following Procedure

Note: Type all the following commands in a root terminal

Start by configuring the network card that interfaces to the other computers on you network

# ifconfig ethX ip

where ethX is the network card and ip is your desired server ip address (Usually 192.168.0.1 is used)

Then configure the NAT as follows

# iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE

where ethX is the network card that the Internet is coming from

# echo 1 > /proc/sys/net/ipv4/ip_forward

Install dnsmasq and ipmasq using the following command

# apt-get install dnsmasq ipmasq

Restart dnsmasq using the following command

# /etc/init.d/dnsmasq restart

Reconfigure ipmasq to start after networking has been started

# dpkg-reconfigure ipmasq

Start by configuring the network card that interfaces to the other computers on you network

# ifconfig ethX ip

where ethX is the network card and ip is your desired server ip address (Usually 192.168.0.1 is used)

Then configure the NAT as follows

# iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE

where ethX is the network card that the Internet is coming from

# echo 1 > /proc/sys/net/ipv4/ip_forward

Add the line “net.ipv4.ip_forward = 1″ to /etc/sysctl.conf

# gedit /etc/sysctl.conf

Reboot your system is optional.

xmame启动黑屏问题  

说是xmame-x11好像和ATI的fglrx有点问题, 换成xmame-sdl变OK了.不过这个方法我没试过.
又发现一个,管用:
If anyones interested I found the problem with the black screen on Mame - at least, this worked on my machine using KXMame. I believe the problem has to do with the DGA video mode when running an ATI graphics card with the fglrx drivers, which is buggy and/or broken.

I have been tweaking around with my xorg.conf file and made the following changes:

Under Section "Module"
SubSection "extmod"
Option "omit xfree86-dga" #Don't initialize the DGA extension
EndSubSection

And commented out the extmod module with a #, like so
# Load "extmod"

Restarted X with a ctrl+alt+backspace and voila! I no longer get the black screen when launching kxmame/gxmame. It took quite a lot of investigation, I hope someone finds this useful.

使用ZFS的十条理由 - ZFS特性介绍  

http://blog.ccw.com.cn/article-htm-itemid-13017-type-blog.html

Add Video to QuickList The Beatles--Hey Jude  

如果生命不应当用来追求成就  

link:http://blog.sina.com.cn/u/473d5336010009ax

克里希那穆提说:“到底有没有成就这样东西?还是它只是人类追求的一个观念而已?因为你即使达到了目标,永远都还有一个更远的目标在前面等待你去完成。只要你追求任何方面的成就,你就不可避免地会陷入奋斗和冲突之中,不是吗?”

人生如果不去追求任何形式的成就是不是就没有动力了呢?这些世俗的所谓成就一方面是肤浅的,另一方面,它也是没有止境的。如果一个人此生的目的就是追求那些用各种各样的世俗标准来衡量的成就,譬如名望、金钱、地位,那他就永远不能停歇,永远没有时间享受此生的快乐。

如果我们的生命不应当用来追求成就,那么应当用来做什么呢?人怎样才能获得快乐的人生呢?克里希那穆提为我们提供的人生方案就是:并不与他人竞争;并不追求世俗的成就;只是去做自己真正想做的事情。只有这样,我们才能成为一个自由的人,拥有快乐的人生。