blog.xuyuan.me
AngularJS Directives: Using Transclusion Part2
http://blog.xuyuan.me/2014/02/18/angularjs-transclusion.html
AngularJS Directives: Using Transclusion Part2. 中使用的ng-transclude,AngularJS还有其他两种方式可以引用transclude directive的内容 compile方法和directive controller:. First set transclude to true (or element). 1) use transclude in compile function. 2) use transclude in directive controller. 下一篇: 美国自驾攻略 →. Blog comments powered by Disqus. Lovingly authored by @xuyuanme. 2015 xuyuanme, Powered by Github.
blog.xuyuan.me
美国自驾攻略
http://blog.xuyuan.me/2014/04/19/us-drive.html
1、car pool lane 美国人经常说car pool,这个是最近才出台的法规,因为在美国加州、内华达、犹他州等州为了解决当地交通拥堵的问题,所以在高速公路最内侧车道叫做CAR POOL LANE,是为了提倡拼车来降低燃耗保护环境,乘坐2人或者2人以上的私家车,摩托车、Bus、混合动力及天然气洁净能源车才能走此条特殊通道,否则就会有几百美金的高额罚款。 2、PED XING 不是海绵宝宝里的派大星,而是PEDESTRIAN CROSSING的缩写,也就是 有行人通过 ,美国人喜欢缩写所以把CROSS直接用X来表示,这是提醒驾车的人,标志牌这里有人行道,或者行人穿马路专用的通道,必须降低车速准备避让。 而有些路口设有NO RIGHT TURN ON RED的标志,那么红灯的时候就不可以右转。 请务必注意 do not back inot stall 的标志,如果遇到这个就不要倒入停车位。 在这里需要说明一下,美国的硬币分成quarter 25每分,这个非常常用 、dime 1毛钱 、nickel 5美分 3种,停车计时器一般使用quarter的比较多。 Fill it up on pump 5 pl...
blog.xuyuan.me
[转] 一个项目经理的经验总结
http://blog.xuyuan.me/2013/02/16/project_manage.html
成员的组成根据项目不同,相差较大,很难有什么具体要求,但是,一定要有精通客户业务的人,很多小项目里,这个人就是项目经理本人,大项目里会配备行业专家 Industry expert ,这样和客户沟通起来才不会鸡同鸭讲,双方才可以相互理解。 和客户领导沟通时特别要注意,除非你需要对方给你支持,那么你才需要讲得具体一点,否则,告诉他一切正常就可以了,而且态度要积极一些,千万不要说一些领导不懂的细节,比如 王局长,最近项目进度还算正常,就是JVM经常发生一些内存泄漏的情况 王局长 (*&$@。 终可交付成果一定要是可以被检查的,比如, 界面要求 美观大方、简洁明快 ,这个要求我就不知道如何检查。 3 项目初期的工作 明确更改流程,一般是客户指定一人签字 否则客户每个领导都有权力来插一杠子,你就废了 ,以正式项目文件的方式提交给你,然后,你做评估分析,分析对成本、进度的影响,在你的领导同意后,出相应意见书,主要是要说明更改设计的原因和指出由此带来的不确定后果 这个东西先写出来,后面如果真的发生了,至少不是你的错。 下一篇: 解决Spring Roo Demo中"security setup"的问题 →.
blog.xuyuan.me
Categories
http://blog.xuyuan.me/categories.html
Github实例 使用React, React Native和Redux实现跨平台共用Web, iOS, Android的核心代码. React Native iOS: The resource could not be loaded because the app transport security policy requires the use of a secure connection. AngularJS Directives: Using Transclusion Part2. AngularJS Directives: Using Transclusion Part1. 解决Spring Roo Demo中"security setup"的问题. Issue when connecting ASP.NET project to SQL Server Compact 4.0. Oracle SQL*Loader Segmentation Fault (core dumped). Java 开发 2.0: 使用 Amazon SQS 进行基于云计算的消息传送.
blog.xuyuan.me
解决Spring Roo Demo中"security setup"的问题
http://blog.xuyuan.me/2013/07/01/spring_roo.html
解决Spring Roo Demo中"security setup"的问题. Spring Roo的Pizza Shop教程(http:/ static.springsource.org/spring-roo/reference/html/beginning.html)中提到在Roo Shell使用"security setup"为应用程序设置Spring Security. 设置完成后在Web Server中运行报错. 需要将Spring Security的jar包拷贝到Web应用程序的lib目录 pizza src main webapp WEB-INF lib. 下一篇: 设置CouchDB支持JSONP跨域请求 →. Blog comments powered by Disqus. Lovingly authored by @xuyuanme. 2015 xuyuanme, Powered by Github.
blog.xuyuan.me
clickthrough: 使用Sencha Touch和PhoneGap快速创建跨移动平台Demo程序
http://blog.xuyuan.me/2013/12/27/clickthrough.html
如果涉及到iOS, Android, WP等多个平台,更是难以在短时间内召集各种平台技术人员来为这一个Demo工作。 开发 或者设计 人员所要做的,只是1). 提供高保真设计图; 2). 使用Json格式定义各页面点击区域与跳转关系。 Github项目详见: https:/ github.com/xuyuanme/clickthrough. 下一篇: AngularJS Directives: Using Transclusion Part1 →. Blog comments powered by Disqus. Lovingly authored by @xuyuanme. 2015 xuyuanme, Powered by Github.
blog.xuyuan.me
Issue when connecting ASP.NET project to SQL Server Compact 4.0
http://blog.xuyuan.me/2012/03/22/dotnet_sql.html
Issue when connecting ASP.NET project to SQL Server Compact 4.0. 在Review一个ASP.NET项目时,尝试将原来的SQL Server Express数据库转换到SQL Server Compact 4.0. ConnectionString="Data Source=C: Documents mydata.sdf;Password=mypwd;Persist Security Info=True". ProviderName="System.Data.SqlServerCe.4.0"/. 可是页面总是返回错误信息 "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.". 下一篇: Eclipse IDE环境查看Android SDK源码 →.
blog.xuyuan.me
Archive
http://blog.xuyuan.me/archive.html
November 24, 2015. Raquo; Github实例 使用React, React Native和Redux实现跨平台共用Web, iOS, Android的核心代码. October 19, 2015. Raquo; React Native iOS: The resource could not be loaded because the app transport security policy requires the use of a secure connection. October 15, 2015. Raquo; Ubuntu Dropbox无法同步问题. April 19, 2014. February 18, 2014. Raquo; AngularJS Directives: Using Transclusion Part2. February 16, 2014. Raquo; AngularJS Directives: Using Transclusion Part1. December 27, 2013. November 4, 2013. October 2...
blog.xuyuan.me
Nutch开发简介
http://blog.xuyuan.me/2012/02/29/nutch_dev.html
Nutch 是 Apache 基金会的一个开源项目,它原本是开源文件索引框架 Lucene 项目的一个子项目,后来渐渐发展成长为一个独立的开源项目。 它基于 Java 开发,基于 Lucene 框架,提供 Web 网页爬虫功能。 1) 将起始 URL 集合注入到 Nutch 系统之中。 2) 生成片段文件,其中包含了将要抓取的 URL 地址。 1) 安装Java SDK, Eclipse, Ant, Cygwin. Http:/ archive.apache.org/dist/nutch/. 3) 解压Nutch, 并在主目录运行’ant job’进行编译. 4) 在Eclipse中选择File- New- Project- Java- Java Project from Existing Ant Buildfile. 6) 修改$NUTCH HOME/conf/nutch-site.xml或nutch-default.xml文件. 将plugin.folders属性的值设为实际相对或绝对路径,比如./apache-nutch-1.1/build/plugins. 1) 以下为一个简单的示例插件程序,其...