总是高兴不太起来,闲逛时候看到的一篇文章,放着提醒自己,不要悲伤!
1) Get out in nature:
You probably seriously underestimate how important this is. (Actually, there’s research that says you do.) Being in nature reduces stress, makes you more creative, improves your memory and may even make you a better person.
2) Exercise:
We all know how important this is, but few people do it consistently. Other than health benefits too numerous to mention, exercise makes you smarter, happier, improves sleep, increases libido and makes you feel better about your body. A Harvard study that has tracked a group of men for more than 70 years identified it as one of the secrets to a good life.
3) Spend time with friends and family:
Harvard happiness expert Daniel Gilbert identified this as one of the biggest sources of happiness in our lives. Relationships are worth more than you think (approximately an extra $131,232 a year.) Not feeling socially connected can make you stupider and kill you. Loneliness can lead to heart attack, stroke and diabetes. The longest lived people on the planet all place a strong emphasis on social engagement and good relationships are more important to a long life than even exercise. Friends are key toimproving your life. Share good news and enthusiatically respond when others share good news with you to improve your relationships. Want to instantly be happier? Dosomething kind for them.
4) Express gratitude:
It will make you happier.
It will improve your relationships.
It can make you a better person.
It can make life better for everyone around you.
5) Meditate:
Meditation can increase happiness, meaning in life, social support and attention span while reducing anger, anxiety, depression and fatigue. Along similar lines, prayer can make you feel better — even if you’re not religious.
6) Get enough sleep:
You can’t cheat yourself on sleep and not have it affect you. Being tired actually makes it harder to be happy. Lack of sleep = more likely to get sick. “Sleeping on it” does improve decision making. Lack of sleep can make you more likely to behave unethically. There is such a thing as beauty sleep.
Naps are great too. Naps increase alertness and performance on the job, enhance learning ability and purge negative emotions while enhancing positive ones.
7) Challenge yourself:
Learning another language can keep your mind sharp. Music lessons increase intelligence. Challenging your beliefs strengthens your mind. Increasing willpower just takes a little effort each day and it’s more responsible for your success than IQ. Not getting an education or taking advantage of opportunities are two of the things people look back on their lives and regret the most.
8) Laugh:
People who use humor to cope with stress have better immune systems, reduced risk of heart attack and stroke, experience less pain during dental work and live longer. Laughter should be like a daily vitamin. Just reminiscing about funny moments can improve your relationship. Humor has many benefits.
9) Touch someone:
Touching can reduce stress, improve team performance, and help you be persuasive. Hugs make you happier. Sex may help prevent heart attacks and cancer, improve your immune system and extend your life.
10) Be optimistic:
Optimism can make you healthier, happier and extend your life. The Army teaches it in order to increase mental toughness in soldiers. Being overconfident improves performance.
Read more: http://www.bakadesuyo.com/2012/05/what-10-things-should-you-do-every-day-to-imp/
美化系统,winodws下模拟Mac字体渲染效果
偶然看到这么个东东——gdipp。看官方介绍:
The gdipp (codename) project is a replacement of the
Windows text render, which brings to you the effect
of text like Mac OS and Linux distributions.
简而言之就是让window下的字体变好看。。
相对于MacType而言,这工具使用方便而且也很方便自定义。以服务的形式运行,不用配置就有不错的效果。
不过安装后有点小问题,64位win8系统安装后添加了2个服务,一个32位的gdipp,一个64位的gdipp,其中32位的gdipp导致Chrome浏览器菜单栏等字体显示出问题,面目全非看不清楚了,禁用掉就好了,不影响显示效果。
相关链接:
http://bbs.themex.net/showthread.php?t=16860846
https://github.com/CrendKing
http://www.ruanyifeng.com/blog/2009/01/font_smoothing_anti-aliasing_and_sub-pixel_rendering.html
http://www.zhihu.com/question/19573048
wenbin
2011-01-30
其实腾讯微博挺方便的,若能同步到follow5更好@月光博客 据谷歌网站趋势上的数据显示,腾讯微博最近三个月的流量增长非常快,流量已经接近新浪微博。
wenbin
2011-01-30
十大堕落表现:1、早晨从中午开始;2、晚上12点以后睡觉;3、越来越懒;4、时间基本花在电脑上;5、不管做什么都提不起兴趣;6、经常发呆 莫名烦躁;7、严重缺乏锻炼;8、沉迷于游戏;9、三餐饮食不均;10、与家人缺少交流。PS:好吧,我基本都符合了,面壁反思去…
wenbin
2011-01-27
本工作室的PageRank升到了有史以来的最高点: 咳咳,恩。 自本博客建立以来谷歌的PageRank一直都没有跟新过,知道最近几周前PR突然跟新了一次,好吧,就在这时候我发现首页的PR升到1了。 其实也不是很在乎这东西,弄…
wenbin
2010-07-14
和抑郁症有染: 在他们看来,大概我是那种总是颓废着提不起精神的腐宅吧。还笑说这是我的style。 我想反对,极力推开这种负面的看法对我的影响,我从来不怎么在意别人对我的看法的不是吗 想对他们说其实我是很开朗很上进的,像某人多年前
QQ 空间发现很多漏洞 bug
1、一台电脑上登两个qq时候,一个qq开通空间,并且设置任何人不能访问,一个qq未开通。先登入开通qq空间的空间。然后换用未开通qq空间的qq的空间。然后再关掉。回去看看原来有开通qq空间的那个qq的空间。因为刚是在一个浏览器里完成这个过程的,对于同一个页面cookies是只能保留一个的,不知道出于什么原因,这时候你用没开通空间的qq帐号得到了拥有了另一个qq空间的查看权限。懂cookies的人估计可以做出点什么来。
2、用一个未开通 qq 空间的帐号,登录空间后台管理的个人中心,这是可以的。然后我们进入说说页面。点右上角的旧版心情入口,然后会跳进到一个没有界面化过的滔滔心情界面:内容如下
滔滔心情
写心情
上一页 下一页 共 0 个签名,第 1 页/共 1 页
★您可以在个人档中设置将您QQ中的个性签名保存到心路历程中★
★您可以在自定义的模块管理中设置在您的QQ空间首页显示心情模块★
其中个人档,自定义,模块管理等文字为超链接,但是只有个人档连接能点进去。进去之后是开同qq空间后的个人档设置页面,所有的这些是在个人中心查看好友更新的框架里查看的。虽然是个bug,但是,似乎没发现有什么利用价值。
晴天博客发放腾讯围脖邀请码啦!
国内各种微博像雨后春笋般蓬勃发展时,腾讯也开出了自己的微薄并改口叫围脖。好像一个社区,没有了微博就不能在网上有一立足之地一样。
在腾讯围脖首页的源代码里我们看到下面这行字:
腾讯微博_与其在别处仰望 不如在这里并肩
能猜测腾讯的意图吧,在饭否和叽歪走了之后,腾讯还是重新走上了这条路,想借用QQ庞大的用户群来促进发展,不管是出于单纯的壮大腾讯业务,或者习惯性的盗版山寨别人,还是其他什么,这样的努力大概都是有些时代意义的。只是意义的大小,浅薄与深远取决与用户的自觉性认知程度和上面各种各样压力的大小。
到目前为止,我还没看到这样的行动有什么起色,但至少他还是在做着,在继续着。
努力不一定会有结果,但是不努力的话一定没有好的结果。
所以不喧哗,蛋定地放出邀请码:
第一波:
follow 291276000的
http://t.qq.com/invite/32596711206b9fe6726b
http://t.qq.com/invite/cf5c78a85d4f6d49970b
第二波:
follow 541330190的
http://t.qq.com/invite/5bf9fbdeea8fee6d7df7
http://t.qq.com/invite/137b54350f6f97ea1fd9
http://t.qq.com/invite/b8eabd0923eb10c88911
http://t.qq.com/invite/44de6a82ef4e17f0609d
http://t.qq.com/invite/caae233c9c8f07a1eb91
成功开通的最好留下言说下要了哪个了,谢谢~
PS:我喜欢做小白鼠,我不中庸,但也不极端,喜欢尝试一切未知的事物。
Linxu 命令行及图形界面下分辨率的修改
对命令行界面:
找到文件 /boot/grub/menu.lst
修改以下代码
kernel /boot/vmlinuz-2.6.30.9 root=UUID=1b8a4d20-df4e-42f0-9a88-832a38240ed1 ro quiet vga=0×314
中的 vga=
后面的参数,相应参数所对应分辨率见下表:
Colours | 640×400 | 640×480 | 800×600 | 1024×768 | 1152×864 | 1280×1024 | 1600×1200 |
---|---|---|---|---|---|---|---|
4 bits | ? | ? | 0×302 | ? | ? | ? | ? |
8 bits | 0×300 | 0×301 | 0×303 | 0×305 | 0×161 | 0×307 | 0×31C |
16 bits | ? | 0×311 | 0×314 | 0×317 | 0×163 | 0×31A | 0×31E |
24 bits | ? | 0×312 | 0×315 | 0×318 | ? | 0×31B | 0×31F |
32 bits | ? | ? | ? | ? | 0×164 | ? | ? |
有时候修改按相同格式修改成16进制数还是不能显示正确分辨率,这是可以将相应16进制改成10进制
转换为十进制之后可以得到如下对应关系:
Colours | 640×400 | 640×480 | 800×600 | 1024×768 | 1152×864 | 1280×1024 | 1600×1200 |
---|---|---|---|---|---|---|---|
4 bits | ? | ? | 770 | ? | ? | ? | ? |
8 bits | 768 | 769 | 771 | 773 | 353 | 775 | 796 |
16 bits | ? | 785 | 788 | 791 | 355 | 794 | 798 |
24 bits | ? | 786 | 789 | 792 | ? | 795 | 799 |
32 bits | ? | ? | ? | ? | 356 | ? | ? |
对图形界面 xwindow
:
找到文件/etc/Xll/xorg.conf
修改以下代码:
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32
Subsection “Display”
Depth 8
Depth 24
Modes “1366×768″ “1024×768″ “800×600″ “640×480″
EndSubsection
EndSubsection
Modes “1366×768″ “1024×768″ “800×600″ “640×480″
Subsection “Display”
Depth 16
Subsection “Display”
Modes “800×600″ “640×480″
EndSubsection
Subsection “Display”
Depth 32
Modes “1366×768″ “1024×768″ “800×600″ “640×480″
EndSubsection
EndSection
我们看到 DefaultDepth 24
前没有 #
,说明这个是被选定的没有注释掉,即默认色彩深度为 24
在下面几行的代码中找到对应的
Subsection “Display”
Depth 24
Modes “800×600″ “640×480″
EndSubsection
将 Modes
后面的第一个参数改成你需要的分辨率就可以了。
并行配置不正确
今天打开qq时候提示并行配置不正确:
应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件日志,或使用命令行sxstrace.exe。
装个vc运行库vcredist_x86.exe后解决,简单的说qq2010sp3是vc编的。