`
haohappy2
  • 浏览: 315646 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
管理者除了专业技能突出之外还需必备十大软技能。 1. 突发情况处理能力 在工作中,你可能有来自四面八方的突发情况。来自外部的因素可以是:客户是否满意你的产品、服务等,内部:你的团队成员是否会按照你的方向走——特别是在 项目的实施过程中,只要有“人”的存在必然会出现一些分歧等,可最终你需要能够带领团队或者和团队成员一起达到某种程度上的团队一致性,以确保最终实现项 目。 2. 谈判技巧 一名管理者,不仅要有为自己代言的能力,也需要有为项目谈判的能力。例如,你有一个项目,需要与对方谈判项目的结束日期,谈判技巧差的话,可能导致团队没 日没夜的工作,为了那个不切实际的到期日。再例如,如果你的办公 ...

敏捷开发

敏捷开发的解释:“敏捷开发以用户的需求进化为核心,采用迭代、循序渐进的方法进行软件开发。在敏捷开发中,软件项目在构 建初期被切分成多个子项目,各个子项目的成果都经过测试,具备可视、可集成和可运行使用的 ...
常用WEB SERVICE   天气预报Web Service ,数据来源于中国气象局Endpoint : http://www.webxml.com.cn/WebServices/WeatherWebService.asmxDisco : http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?discoWSDL : http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl   IP地址来源搜索Web Service (是目前最完整的IP地址数据)E ...
<?php $content = ' <img alt="" src="/a.jpg/" /> <img alt="" src="b.jpg" /> <img alt="" src="test.php" /> <img alt="" title=" " src="d.jpg" /> ...

Git Tag Branch

    博客分类:
  • Git
//git setting git help loggit config --global user.name "patrick"git config --global user.email ""git initgit add .查看当前分支的历史状态git show HEAD比较两个版本git diff HEAD VersionID回退版本git reset --hard HEAD^ 回到制定版本并清除改版本后信息git reset HEAD^ 回到指定版本并提交新的版本从指定版本搜索git grep "for new logic " ...
(一)prefork模式下(其他模式下不适用),apache需要优化的主要参数: ServerLimit 3000 StartServers 750 MinSpareServers 5 MaxSpareServers 100 MaxClients 3000 MaxRequestsPerChild 10000 首先来看看

Apache Optimization

Multi-Processing Module (MPM) implements a hybrid multi-process multi-threaded server。(多进程、多线程) 大致有:prefork MPM、worker MPM、BeOS MPM、NetWare MPM、OS/2 MPM、WinNT MPM。   linux及windows下都可以使用命令:“httpd -l ” 进行查询。 各个MPM是工作及及优化 (1)prefork MPM         <IfModule mpm_prefork_module>             S ...
ls -il  get the inode idfind ./ -inum inode id  -exec rm -rf {} \;
 1. 已有的命令           格式: sed -i "s/查找字段/替换字段/g" `grep 查找字段 -rl 路径`       linux sed 批量替换多个文件中的字符串: (此命令很强大)       sed -i "s/oldstring/newstring/g"  `grep oldstring -rl yourdir`     解释一下:     -i  表示 inplace edit,就地修改文件     -r 表示recursive ,搜索子目录     -l 表示line number,输出匹配的文件名  例如:替换 ...

JS Reg Rules

    博客分类:
  • JS
http://www.jb51.net/article/25313.htm <script> var str_jira = "XXXX-X"; var str_jira_grca = "GRCA-X"; var str_jira_1 = "AAAA-1111w"; var str_jira_grca_1 = "GRCA-111a"; var strPattern_jira = /^[a-zA-Z]{4}-\d+$/; var strPattern_jira_grc ...
var_dump(debug_backtrace()); var_dump(debug_print_backtrace());
Sometimes, if you want to want to pass the whole "sentence" whcih with blank from shell script to another script which need to deal with the passed value, you will find that, the words has been exploded. #!/bin/csh php test $argv  it's called  "testshell",  test is another sc ...
“Varible syntax” problem cause the shell can't return the value properly.   #!/bin/csh set php_path = '/usr/bin/php' $php_path test.php $argv exit $?   when you run this shell system("test > test.log", $ret);   the $ret is always 1, and run the real shell, there is varible synta ...
<?php error_reporting(0); $errorMessage = false; $server = 'ldap://192.168.0.11'; $dn = 'dc=next.com';//'CN=Users,DC=next.com,DC=com'; $bind_user = 'patrick@next.com'; $bind_pass = 'test123'; $d = $_SERVER['LOGON_USER'] ; echo $d; if(isset($_POST['login'])){ $username = $_PO ...
character \015 (carrage return)    perl -pi.bak -e "s/\r//g;" fileencode.pl   After run this command, the issue will be fixed   And also find another problem,  if you pass one parameters from one shell to another shell, if the paramter contain "blank", it will not work as ...
Global site tag (gtag.js) - Google Analytics