grisly night

不知道从何而来的困顿,另人无法直面前路。只会以畏缩的眼神去审视周遭的事、物、人,不迈出脚步如何能够前行?越呆在原地内心越惶恐,于是前行的欲念夹杂恐惧便愈加得煎熬着,仿佛极恐怖的事情即将加诸于身,腐朽从深处蔓延至体表,肮脏邪念亦挟皮囊

tobe continue....

List of Web Safe Fonts

List of Web Safe Fonts

Here is the list of websafe fonts that I use in my own personal web development. Websafe (or "web safe", "safe for the web") fonts are supposedly fonts that are common among all versions of Windows, Mac, Linux, etc. Fonts that you expect everyone viewing your webpage to have. Please contact me if you know of any other web-safe fonts that should be added to this list. These font names are in typical font-family CSS format, in other words (first choice font), (second choice font), (third choice font), etc. I made them that way so you could easily copy and paste them into your CSS code. Also, each font comes with a CSS Generic Font Family fallback font (such as serif or sans-serif), in case the primary (and secondary) font is not found.

font-family: Arial, Helvetica, sans-serif;
font-family: 'Arial Black', Gadget, sans-serif;
font-family: 'Bookman Old Style', serif;
font-family: 'Comic Sans MS', cursive;
font-family: Courier, monospace;
font-family: 'Courier New', Courier, monospace;
font-family: Garamond, serif;
font-family: Georgia, serif;
font-family: Impact, Charcoal, sans-serif;
font-family: 'Lucida Console', Monaco, monospace;
font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
font-family: 'MS Sans Serif', Geneva, sans-serif;
font-family: 'MS Serif', 'New York', sans-serif;
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
font-family: Symbol, sans-serif;
font-family: Tahoma, Geneva, sans-serif;
font-family: 'Times New Roman', Times, serif;
font-family: 'Trebuchet MS', Helvetica, sans-serif;
font-family: Verdana, Geneva, sans-serif;
font-family: Webdings, sans-serif;
font-family: Wingdings, 'Zapf Dingbats', sans-serif;

from:http://www.fonttester.com/help/list_of_web_safe_fonts.html

firefox setting

stylish:OS X Style Google Reader
http://userstyles.org/styles/2318
about:blank - Dark Firefox
http://userstyles.org/styles/2433
Menubar AutoHidden
http://userstyles.org/styles/1833
Gmail Air
http://userstyles.org/styles/1833

skin:http://notiz.jp/mozilla

Habari

This site is running Habari, a state-of-the-art publishing platform! Habari is a community-driven project created and supported by people from all over the world. Please visit http://habariproject.org/ to find out more!

ssh

在linux下使用ssh认证,不输入密码访问另一台机器

有两台机器:server_1 和 server_2
运行:ssh-keygen -d (一路回车下去 )

在/home/User目录下就产生了.ssh的隐含目录,进入些目录下产生两个文件:
id_dsa ------------ 私钥文件
id_dsa.pub ------------ 公钥文件将id_dsa.pub复制一份文件名为:authorized_keys2
并将 authorized_keys2 的属性改为 600 即文件所属用户有读和写的权限,组用户和其它用户禁止读写,用命令:

cp id_dsa.pub authorized_keys2
chmod 600 authorized_keys2

同样在server_2上做以上操作,下一步就实现真正的ssh认证了:
将server_1上/home/User/.ssh目录下的id_dsa.pub公钥文件拷到server_2的/home/User/.ssh目录下(注意:不要覆盖掉server_2的id_dsa.pub,拷时要改名)如:
代码:

[User@server_1 .ssh]$ scp id_dsa.pub User@server_2:.ssh/server_1.pub

在server_2的/home/User/.ssh目录下就有了如下文件:
authorized_keys2
id_dsa
id_dsa.pub
server_1.pub

用命令:
代码:

cat server_1.pub >> authorized_keys2
(注意一定要用追加操作 ">>" 不能用 ">")

这样server_1到server_2的ssh认证就做好了。在server_1上用命令:
代码:

ssh User@server_2
就直接登录到server_2上,而不用输入密码了。

server_2到server_1的认证同上操作即可。

===================================

vi ~/.ssh/config
ServerAliveInterval 300. #每隔300秒向服务器发送活动信息,免得被踢

 1 2 3 … 26 Next →

About

User