Category Archives: 我靠, 你真是程序员啊

靠代码吃饭..

Linux: Copy/Rename/Move/Remove Directory – 复制/重命名/移动/删除目录

1. Copy 复制:

[root@ip-10-* webapps]# cp -r sourceDir/ /targetDir/ 
//将被复制到targetDir文件夹下 The SourceDir will be found under "targetDir"

2

Posted in Linux | Tagged , , | Leave a comment

Reset Mysql Root Password in XAMPP 在XAMPP中重置MySql密码

默认情况下, 通过XAMPP安装的Mysql Root密码为空.

在XAMPP中重置Mysql密码:

1. Go to http://localhost:port/security/  该链接将会对目前的配置进行安全检查

2. 该页面会检查当前安全配置, 并会带有链接: http://

Posted in DB | Tagged , | Leave a comment

[旧]使用ERwin反向工程生成Oracle数据库的Physical Modal(物理数据模型)

=> 首先参考使用ERwin反向工程生成MySQL数据库的Physical Modal[物理数据模型]

选择Oracle, Next, 到如下界面:

Oracle

Connect, 稍等片刻即可.

Posted in DB | Tagged , | Leave a comment

[旧文存档]多维度的IF语句重构

多维度的IF语句重构 – 注释掉的为重构前的代码, 杂乱且可读性极低.

Posted in Java, 软件工程 | Tagged , | Leave a comment

PHP: Reading XML with DOM 使用DOM解析XML

PHP中有很多方法解析XML. 本文单表使用DOM解析XML.

Posted in PHP | Tagged , , , | Leave a comment