SVN 可以更新( can update)但无法提交(can not commit)的解决方法

Categories: Development Notes; Tagged with: ; @ August 23rd, 2010 20:12

描述: SVN 在用户名密码正确的前提下, 可以update, 但commit时会报错"Authorization failed";
解决方法: 检查路径大小写是否有误. Checkout时大小写不敏感 所以在路径有误时仍可update, 但不能commit.

(more…)

Flex: Setting Datagrid column percentWidth – 设置Datagrid 列宽度为百分比

Categories: Flex; Tagged with: ; @ August 19th, 2010 22:31

需求: 设置DatagridColumn的Percent width

临时解决方法: 监听Datagrid的CREATION_COMPLETE事件, 在响应函数中重置Column的宽度.

效果: 参见http://cutown.com/home/reg.php, 网页内嵌入的Datagrid中, 后两列宽度为首列之外的宽度均分.

(more…)

Using crossdomain.xml (Error #2048 Error #2170…) 使用crossdomain控制跨域访问

Categories: Flex; Tagged with: ; @ August 18th, 2010 17:05

当试图与某站外URL的进行数据交互时 (如通过URLLoader), 如果目标站点无crossdomain.xml或该文件未允许当前站点的访问, 则会出现#2048, #2170等错误.

image
Cross-domain policy file specification (PDF, 129 KB)

(more…)

使用PHP运行Shell命令 – PHP Ajax Shell

Categories: LinuxPHP; Tagged with: ; @ August 17th, 2010 23:07

对于PHP的虚拟主机, 有时需要查看系统配置或是运行其他的Shell命令,

网上有很多类似的代码, 一般来说很短一个PHP文件即可运行Shell命令, 便于更方便的管理虚拟主机.

image (more…)

Amazon EC2 Instance中使用EBS Volume – Using EBS Volume in EC2 Instance

Categories: Development Notes; Tagged with: ; @ August 17th, 2010 22:10

由于EC2的Instance关机后不会保存数据, 对于数据库一类需要存储的信息, 可储存在EBS (Elastic Block Store) Volume中. 再次创建/启动 Instance时重新挂载就可恢复原状(Instance关机有点类似于重新安装操作系统).

本文主要总结: Volume的Create/Attach/Format/Mount/UMount/Detach

image

(more…)

Newer Posts <-> Older Posts



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.