Perfil de 吴建军人生规则FotosBlogListas Herramientas Ayuda

吴建军 建军吴

Foto 1 de 2
Más álbumes (1)

人生规则

23 agosto

修改别人的代码真累

这两天在做一个变更,本来以很简单的事。
可是看了那代码,怎一个乱字,看了一整天,拆拆改改,总算清楚多了。
不过,到了debug那会,犯了几低级错误,白忙活了大半天。
mod_perl 在载入模块的时候出现 failed to resolve handler, 居然是pacakge名字写错了。困了 
13 abril

HTML Document Object Model

 

HTML DOM Access Nodes

Methods:getElementById() and getElementsByTagName()

Examples:

document.getElementsByTagName("p");//Returns a nodeList of all <p> elements in the document 

document.getElementById('maindiv').getElementsByTagName("p");//Returns a nodeList of all <p> elements that are descendants of the element with id="maindiv":
 
 
 

SVN初步学习

简单的架了个svn服务器,真是简单:
1.用rpm包装了个subversion
2.svnadmin create projectname建了个项目
3.在Windows下用Tortoisesvn建立了链接
 
注意事项:项目目录的权限,ssh连接时用户是不是有权限
当时犯的错误:在.ssh下authorized_keys下放了私钥,寒!

想做个网站的心理历程

从出于好奇兴趣开始,开始想着自己做个网站,我总要有点冲动。
然后是,在无聊的时间中不断的思考...
问题一连串:
做什么网站?
技术够吗?
有什么目标吗?
能够成功吗?
????
放下种种疑问,是该到行动的时候了。想法有了,技术正在学,还有其他
为自己打打气了:好运吧!
写给以后的自己:
成功了:不会这么简单吧
失败了:尝试过了
无行动:不后悔吗
 
10 abril

Linux开机流程

 
Run level:
  • 0 - halt (系統直接關機)
  • 1 - single user mode (單人維護模式,用在系統出問題時的維護)
  • 2 - Multi-user, without NFS (類似底下的 runlevel 3,但無 NFS 服務)
  • 3 - Full multi-user mode (完整的含有網路功能的純文字模式)
  • 4 - unused (系統保留功能)
  • 5 - X11 (與 runlevel 3 類似,但使用 X Window)
  • 6 - reboot (重新開機)
09 abril

What can a JavaScript Do

  • JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages
  • JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("<h1>" + name + "</h1>") can write a variable text into an HTML page
  • JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element
  • JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element
  • JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server. This saves the server from extra processing
  • JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser
  • JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer