作者:reistlin
发布时间:January 9, 2012
分类:自由点击

产品无间道 - 如何毁掉对手产品?
1)挖掘大量非常优秀的功能或创意:等于没有亮点,损耗有限的资源;
2)严格流程化:无形中的障碍;
3)扩散牵连到许多部门:各种利益冲突尾大不掉;
4)过度细化职责与分工:瓦解出众多小团队相互扯皮纠缠不休;
5)绝对民主作风:多数人的意见都是不统一的,要形成一统一意见经常是一个漫长的过程,而且真理往往掌握在少数人手中,群众决策,能做的不做,不能做的做了;
6)重用言过其实的人:能说的一般不是实干家,一件事情做不成功他能找一万个合理的理由。
失败法则一:一麻袋土豆。低质量,低健壮产品堆砌功能。
失败法则二:一麻袋电网。负向激励。
失败法则三:一麻袋投机分子。追逐利益的机会主义者最能把关系搞乱。
失败法则四:一麻袋谎言。伪造数据部尊重市场和技术现实。
失败法则五:一麻袋文档。大量无用内耗工作。
失败法则六:一麻袋狂想。不切实际的高标准要求。
失败法则七:一麻袋干部。不解释。
“根据全行业不同领域发展的数据报告,不断提出有理有据的新需求,不断偏离并新建产品的故事主线,1.x版本讲这个故事,2.x版本讲那个故事,并告诉老板,1.x的故事过时了。原先1条核心产品线扩张到N条,通过KPI细节的调整,瓦解产品、技术、商务同学的合作关系,让“爷凭什么给你做?”成为企业文化的典范。”
“以PM身份毁掉产品只需要前期大量准备模板文档安抚上层,给你绝对信任。后期不讨论就安插大量无序设计功能,造成项目不断Delay,打击团队及投资人信心。外加挑拨主要部门之间的矛盾,顺带保护自己即可。用大量开会,需求之类来杀产品的,恰恰可能让产品成功,因为你让更多参与者更清楚自己。”
“做卧底如何毁掉一个产品? 摸清现状,提超前需求,如产品健壮性差时一味堆砌大量功能,向管理者宣传这些功能如何吸引用户,业界如何流行,我们如何奋起直追!迎合急功近利之心态,盖无基础之高楼,画虚妄大饼!无稳定基础,事倍功半,大量加班,远见者知楼之将倾,亦分奔离析,人心涣散。”
1、以严格时间管理的名义尽最快速度上线。
2、以迭代的名义经常调整改版计划,ABCDEFG测试,做多个方案折腾团队。
3、以尊重团队成员意见的名义每个人的想法都采纳一点做个“四不像”。
4、做几次十分无聊的Team Building以瓦解军心。
1)多开会多获取需求-使进度拖延;
2)增加大量新功能-让产品臃肿化;
3)项目推进制度化-让团队成员投入精力去整各类文档细案;
4)争取赶进度,给开发人员超负荷的压力,让他们情绪化!
1、最多人提到:把项目搞得华丽而臃肿,使劲拖进度。
2、最讽刺方法:把号称是业界第一的牛人挖过来。
3、最搞笑方法:对大多数PM来说,认认真真做项目就行。
1、技术上,让核心成员认同我们只要抄国外的XXX就能成为中国的XXX、我们华丽丽的为其加上N个功能就能成为世界上绝无仅有的NNN项目。
2、从管理上,就让产品线的人互相猜薪水、加强考勤、逼走或搞定组里仅有的妹子、强力挖业界同质项目SuperStar过来、让投资人认同前1条。
1,忽悠董事会给他们定神话般的KPI。
2,反复刹车反复改模式。
3,建立封建企业文化。
4,找各种人给他们的产品提意见。
这就是项目管理的缺陷模式:肥胖症、华丽症、豪华阵容症、过程重度症、狂想症、只做加法症、…
作者:reistlin
发布时间:October 31, 2011
分类:自由点击

举例一:
[reistlin@reistlin.com ~]$ cat /proc/scsi/scsi | grep Model
Vendor: ATA Model: OCZ-VERTEX2 3.5 Rev: 1.27
Vendor: ATA Model: OCZ-VERTEX2 3.5 Rev: 1.27
通过 Google 查询:OCZ-VERTEX2 3.5寸 固态硬盘(Firmware:1.27)
[ http://www.google.com.hk/search?q=OCZ-VERTEX2+3.5 ]
举例二:
[reistlin@reistlin.com ~]$ cat /proc/scsi/scsi | grep Model
Vendor: Slimtype Model: DVD A DS8A5S Rev: WC22
Vendor: ATA Model: ST31000524NS Rev: SN11
Vendor: ATA Model: ST31000524NS Rev: SN11
Vendor: ATA Model: ST31000524NS Rev: SN11
通过 Google 查询:ST31000524NS 希捷 SATA 1TB 7200转 32M
[ http://www.google.com.hk/search?q=ST31000524NS ]
作者:reistlin
发布时间:September 7, 2011
分类:自由点击

Apache,Nginx 非 root 用户下启动 HTTP 80 端口(端口范围小于1024)
方法一:
所有用户都可以运行(因为是755权限,文件所有者:root,组所有者:root)
chown root:root nginx
chmod 755 nginx
chmod u+s nginx
方法二:
仅 root 用户和 reistlin 用户可以运行(因为是750权限,文件所有者:root,组所有者:reistlin)
chown root:reistlin nginx
chmod 750 nginx
chmod u+s nginx
作者:reistlin
发布时间:August 3, 2011
分类:自由点击

问题:
Info: Traffic rate for "eth0" higher than set maximum 100 Mbit (707->9722, r319 t12255), syncing.
解决:
vim /etc/vnstat.conf
# maximum bandwidth (Mbit) for all interfaces, 0 = disable feature
# (unless interface specific limit is given)
MaxBandwidth 1000
作者:reistlin
发布时间:July 7, 2011
分类:自由点击

Concurrent Connections = PV / seconds * (para connect per a page) * (time to react) * (factor) / (web hosts)
PV = Concurrent Connections * seconds * (web hosts) / (para connect per a page) / (time to react) / (factor)
补充信息:
UV(Unique Visitor):
独立访客,访问目标网站的一台客户端设备,24小时内相同的客户端设备只被计算为一次。
IP(IP Address):
独立IP,访问目标网站的一个独立IP地址,24小时内相同的IP地址只被计算为一次。
PV(Page View):
页面访问,访问目标每次浏览,点击或刷新,即被计算为一次。
作者:reistlin
发布时间:April 27, 2011
分类:自由点击

1,配置文件:/etc/ssh/sshd_config(拒绝用户 user1 user2 登陆;拒绝组 group1 group2 登陆)
vim /etc/ssh/sshd_config
DenyUsers user1 user2
DenyGroups group1 group2
2,重新启动 sshd 服务
/etc/init.d/sshd restart
作者:reistlin
发布时间:April 20, 2011
分类:自由点击

Windows 7 Ultimate 旗舰版官方原版光盘镜像(x86 32位/x64 64位)

Windows 7 Ultimate (x86) – DVD (Chinese-Simplified)
文件名: cn_windows_7_ultimate_x86_dvd_x15-65907.iso
邮寄日期: (UTC): 8/23/2009 10:16:24 PM
SHA1: B589336602E3B7E134E222ED47FC94938B04354F
ISO/CRC: E6FDF910
Available to Levels: MSDN OS (VL); VS Pro with MSDN Pro (VL); VS Pro with MSDN Premium (Empower); MSDN OS (Retail); VS Pro with MSDN Pro (Retail); MSDN Universal (Retail); VSTS Team Suite (VL); VSTS Architecture (VL); VSTS Development (VL); VSTS Test (VL); VS Pro with MSDN Premium (VL); MSDN Universal (VL); VSTS Database (VL); VS Pro with MSDN Premium (Retail); VSTS Test (Retail); VSTS Development (Retail); VSTS Architecture (Retail); VSTS Team Suite (Retail); VSTS Database (Retail); BizSpark Admin; BizSpark; Visual Studio Professional with MSDN Embedded;
ed2k://|file|cn_windows_7_ultimate_x86_dvd_x15-65907.iso|2604238848|D6F139D7A45E81B76199DDCCDDC4B509|/
Windows 7 Ultimate (x64) – DVD (Chinese-Simplified)
文件名: cn_windows_7_ultimate_x64_dvd_x15-66043.iso
邮寄日期: (UTC): 8/23/2009 10:16:25 PM
SHA1: 4A98A2F1ED794425674D04A37B70B9763522B0D4
ISO/CRC: 05E9026C
Available to Levels: MSDN OS (VL); VS Pro with MSDN Pro (VL); VS Pro with MSDN Premium (Empower); MSDN OS (Retail); VS Pro with MSDN Pro (Retail); MSDN Universal (Retail); VSTS Team Suite (VL); VSTS Architecture (VL); VSTS Development (VL); VSTS Test (VL); VS Pro with MSDN Premium (VL); MSDN Universal (VL); VSTS Database (VL); VS Pro with MSDN Premium (Retail); VSTS Test (Retail); VSTS Development (Retail); VSTS Architecture (Retail); VSTS Team Suite (Retail); VSTS Database (Retail); BizSpark Admin; BizSpark; Visual Studio Professional with MSDN Embedded;
ed2k://|file|cn_windows_7_ultimate_x64_dvd_x15-66043.iso|3341268992|7DD7FA757CE6D2DB78B6901F81A6907A|/
作者:reistlin
发布时间:April 16, 2011
分类:自由点击

问题:
nginx error – 413 Request Entity Too Large
解决:
1,在 nginx.conf 配置文件中:client_max_body_size 8M;
vim /etc/nginx/sites-available/reistlin.com
server {
client_max_body_size 8M;
}2,重新启动 nginx 服务
/etc/init.d/nginx reload
作者:reistlin
发布时间:April 16, 2011
分类:自由点击

1. 编译:
./configure –prefix=/home/apache \
–enable-module=so \
–enable-module=rewrite \
–activate-module=src/modules/fastcgi/libfastcgi.a
2. 配置:
vi /home/apache/conf/httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog /home/apache/logs/rewrite_log
RewriteLogLevel 0
</IfModule>
3. 测试:
重新启动Apache
/etc/init.d/httpd restart
检查Apache静态编译模块
/home/apache/bin/httpd -l
作者:reistlin
发布时间:April 16, 2011
分类:自由点击

MozBackup – Backup tool for Firefox and Thunderbird
MozBackup 是一个备份和还原 Mozilla Firefox、Mozilla Thunderbird、Mozilla Sunbird、Flock、Mozilla Suite、 Seamonkey、Spicebird 和 Netscape 等软件个人配置文件的免费工具。
可以协助您备份及还原书签、联系人、邮件、浏览历史、插件、缓存和其他相关资料,最新版本更支持增量备份。
本软件适用与 Windows 98/ME/NT/2000/XP/2003/Vista/Windows 7 (32bit/64bit) 并且完全免费。
阅读剩余部分...
作者:reistlin
发布时间:April 15, 2011
分类:自由点击

208.67.222.222
208.67.220.220
About OpenDNS
[OpenDNS] is the leading provider of free security and infrastructure services that make the Internet safer through integrated Web content filtering, anti-phishing and DNS. OpenDNS services enable consumers and network administrators to secure their networks from online threats, reduce costs and enforce Internet-use policies. OpenDNS is used today by millions of users and organizations around the world.

0.asia.pool.ntp.org
1.asia.pool.ntp.org
2.asia.pool.ntp.org
3.asia.pool.ntp.org
About pool.ntp.org
The [pool.ntp.org] project is a big virtual cluster of timeservers striving to provide reliable easy to use NTP service for millions of clients without putting a strain on the big popular timeservers.

http://code.google.com/p/ibus/downloads/list

About iBus
Welcome to [iBus] project! It is a next generation input framework
Intelligent Input Bus for Linux / Unix OS

关于点阵汉字开发
对于常见的计算机操作系统,字体的显示算法需要一些字体的信息来优化屏幕显示效果,英文称为 hinting。汉字由于笔画复杂,所以 hinting 的方式与西文截然不同。使用在汉字字体中嵌入预先制作的点阵位图既可以有效地避免 hinting 算法带来的计算开销,同时屏幕上显示的汉字边缘清晰,易于阅读。下面就是使用点阵显示和不使用点阵显示的两个例子:
未使用点阵中文的显示效果:

使用点阵中文的显示效果:

About 文泉驿
[文泉驿]是一群致力于在计算机世界中推广汉字,丰富电子汉字资源的志愿者,我们希望通过自己无私的劳动,使得无论你在世界上任何一个角落,都可以免费地获得我们的电子汉字资源,能够流畅地通过汉字进行交流。“文泉驿”是以上述目标为宗旨而自发创建的非盈利性组织。
持续更新中!
作者:reistlin
发布时间:April 14, 2011
分类:自由点击
perl -MMail::Sender -e 'Mail::Sender->printAuthProtocols("smtp.reistlin.com")';#!/usr/bin/perl
use strict;
use Data::Dumper;
use Mail::Sender;
# debug switch
my $debug = 0;
my $sender = new Mail::Sender();
if ($sender->MailMsg({
smtp => 'smtp.reistlin.com',
from => '发件人@reistlin.com',
to => '收件人@reistlin.com',
subject => "subject",
msg => "message",
auth => 'LOGIN',
authid => 'username',
authpwd => 'password',
}) < 0) {
die "$Mail::Sender::Error\n";
}
print "Mail Sent OK\n"
作者:reistlin
发布时间:April 12, 2011
分类:自由点击

环境:
Debian 6 zlib-1.2.5 openssl-1.0.0d libssh2-1.2.8
问题:
错误信息:
collect2: ld returned 1 exit status
[scp_nonblock] Error 1
[all-recursive] Error 1
collect2: ld returned 1 exit status
make[2]: *** [scp_nonblock] Error 1
make[2]: Leaving directory `/home/www-data/pkgs/build/libssh2-1.2.8/example'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/www-data/pkgs/build/libssh2-1.2.8/example'
make: *** [all-recursive] Error 1
解决:
编译参数(+):LDFLAGS=-ldl
./configure --with-openssl --with-libssl-prefix=/usr/local/ssl/ LDFLAGS=-ldl
make clean
./configure --with-openssl --with-libssl-prefix=/usr/local/ssl/ LDFLAGS=-ldl
configure: summary of build options:
version: -
Host type: i686-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
Compiler flags: -g -O2
Library types: Shared=yes, Static=yes
Crypto library: openssl: yes (AES-CTR: no) libgcrypt: no
Debug build: no
Path to sshd: /usr/sbin/sshd (only for self-tests)
libz compression: yes
make
make install
作者:reistlin
发布时间:April 7, 2011
分类:自由点击

环境:
Debian 6 zlib-1.2.5 libpng-1.4.4
zlib-1.2.5 安装路径:$HOME/lib/zlib-1.2.5
(ln -s $HOME/lib/zlib-1.2.5 $HOME/lib/zlib)
libpng-1.4.4 安装路径:$HOME/lib/libpng-1.4.4
(ln -s $HOME/lib/libpng-1.4.4 $HOME/lib/libpng)
问题:
checking for zlibVersion in -lz... no
configure: error: zlib not installed
分析:
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor解决:
export LDFLAGS="-L $HOME/lib/zlib/lib"
export CPPFLAGS="-I $HOME/lib/zlib/include"
./configure --prefix=$HOME/lib/libpng-1.4.4
make
make install
作者:reistlin
发布时间:March 19, 2011
分类:自由点击

问题:
Error: Driver ‘pcspkr’ is already registered, aborting…
解决:
[root@reistlin.com ~]# echo "blacklist snd-pcsp" >> /etc/modprobe.d/alsa-base-blacklist
作者:reistlin
发布时间:March 8, 2011
分类:自由点击

Windows 系统 RDP(Remote Desktop Protocol)远程桌面默认端口为:3389,修改为:5900。
保存为 .reg 注册表文件。可根据需要,自己设定端口(16进制)。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp]
"PortNumber"=dword:0000170C
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"PortNumber"=dword:0000170C
作者:reistlin
发布时间:February 14, 2011
分类:自由点击

1,使用 head 和 tail 命令:
命令行:
head -n <number> <filename> | tail -n 1
举例:
显示 test.txt 文件第 1 行内容:
head -n 1 test.txt | tail -n 1
显示 test.txt 文件第 2 行内容:
head -n 2 test.txt | tail -n 1
2,使用 sed 命令:
命令行:
sed -n <number>p <filename>
举例:
显示 test.txt 文件第 3 行内容:
sed -n 3p test.txt
显示 test.txt 文件第 4 行内容:
sed -n 4p test.txt
作者:reistlin
发布时间:February 11, 2011
分类:自由点击

问题:
sendmail 日志文件 /var/log/maillog 报错:
Feb 10 05:59:01 reistlin sendmail[2079]: My unqualified host name (reistlin) unknown; sleeping for retry
Feb 10 06:00:01 reistlin sendmail[2079]: unable to qualify my own domain name (reistlin) -- using short name
解决:
/etc/hosts 文件中,主机名需要增加 Fully Qualified Domain Name (FQDN)。
编辑 /etc/hosts 文件,增加一个 FQDN,比如:reistlin.localdomain(最后一行)
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.1 reistlin.localdomain reistlin
最后,重新启动 sendmail:
[root@reistlin ~]# /etc/init.d/sendmail restart
测试:
[root@reistlin ~]# sendmail -v
Recipient names must be specified
执行 sendmail -v 如果立即显示 Recipient names must be specified 即表示没有 FQDN 解析问题了。反之,如果无任何显示,则表示 sendmail 无法正确解析 FQDN,请求 sleeping 了。
作者:reistlin
发布时间:January 13, 2011
分类:自由点击

TCP 連線在各種狀態之間變動的狀況與順序,其中 TIME_WAIT 連線已經是 TCP 連線在 完全關閉連線狀態 (CLOSED) 之前的一個狀態 (註:完全關閉連線是指網路完整斷線的意思),而預設 TIME_WAIT 的逾時時間為 MSL (Maximum Segment Lifetime) 時間的兩倍,在 RFC 793 規格定義的 MSL 為兩分鐘,也就是在預設的情況下,每一條連線從 打算關閉連線狀態 (Closing) 換到 完整關閉連線狀態 (Closed) 之間還會停留在 TIME_WAIT 狀態約 4 分鐘的時間,如果你 4 分鐘以內使用者建立的連線數超過 65536 條連線的話,那麼很這台伺服器就再也無法連接了。 ( 註:Windows 預設的 TIME_WAIT 時間為 4 分鐘,Linux 下則會依據不同 Distribution 版本而有不同的預設值,但都可以調整其時間長短 )
阅读剩余部分...
- 1
- 2
- »