2013年1月9日

WPF property system

摘要: ReferenceDependency Properties and CLR PropertiesThe purpose of dependency properties is to provide a way to compute the value of a property based on the value of other inputs. These other inputs might include system properties such as themes and user preference, just-in-time property determination 阅读全文

posted @ 2013-01-09 16:53 Jalen Wang 阅读(173) 评论(0) 推荐(0) 编辑

2013年1月8日

自动化生产安卓应用程序

摘要: 在The Joel Test: 12 Steps to Better Code的第二个Step就是“Can you make a build in one step?”。从自己负责Inventor Publisher Mobile Viewer以来,一直就想把生成 APK的过程给自动化,因为通过Eclipse + ADT的做release的APK实在太繁琐,而且需要经常 做APK给QA测试。一直忙着做feature,今天得空,在网上搜索了一下,还真被我找到了,方 案如下:Step1:下载安装Ant这个直接follow ant官方网站的安装说明就可以了。Step2:生成build.xml在and 阅读全文

posted @ 2013-01-08 22:49 Jalen Wang 阅读(1012) 评论(0) 推荐(0) 编辑

2012年12月28日

用node.js+express自建网站发布静态网页

摘要: 引子最近,需要发布自己创建一个web server发布几个html页面。之前用过node.js,知道 express,但是就是没有自己亲自动手配置一个web server。在网上逛了逛,最终搞定,步 骤如下。安装node这个网上有很多,搜索一下就可以了,windows,ubuntu,各个平台的都有。安装Express并创建一个sample web servernpm install express.\node_modules\.bin\express.cmd --sessions testcd testnpm installnode app.js用相对路径调用express,为了定位到它。发布 阅读全文

posted @ 2012-12-28 14:50 Jalen Wang 阅读(2058) 评论(0) 推荐(0) 编辑

2012年12月23日

图片的静态动态显示效果

摘要: C#实现图片特效http://blog.sina.com.cn/s/blog_602089010100gg93.htmlC#实现动态显示图像的方法http://www.csharpwin.com/csharpspace/7918r2128.shtml 阅读全文

posted @ 2012-12-23 11:26 Jalen Wang 阅读(236) 评论(0) 推荐(0) 编辑

2012年12月21日

bash history

摘要: Bash historyrecall!1 => to recall/execute the first item in the historysearchctrl-r => reverse incremental history search mode Enter => immediately reall and execute the command ctrl-j or Escape => retrieve the command, but alow you to continue edition ctrl-g or ctrl-c => cancelfilter 阅读全文

posted @ 2012-12-21 16:41 Jalen Wang 阅读(189) 评论(0) 推荐(0) 编辑

2012年12月14日

N-show智能3D虚拟试衣镜

摘要: 阅读全文

posted @ 2012-12-14 19:56 Jalen Wang 阅读(534) 评论(0) 推荐(0) 编辑

2012年12月5日

[Android] How to disable the screen orientation?

摘要: Below utility are got from the web: private static int _oldScreenOrientation; public static void disableScreenOrientation() { _oldScreenOrientation = activity.getRequestedOrientation(); if(isLandscape()) activity.setRequestedOrientation( ActivityInfo.SCREEN_ORI... 阅读全文

posted @ 2012-12-05 15:32 Jalen Wang 阅读(217) 评论(0) 推荐(0) 编辑

2012年10月29日

bash help

摘要: http://ss64.com/index.htmlA very powerful document site for the bash programming. 阅读全文

posted @ 2012-10-29 17:58 Jalen Wang 阅读(143) 评论(0) 推荐(0) 编辑

2012年10月24日

android measure and layout

摘要: How android draws views?Measure + layoutWhen do the layout, we need translate the position to the parent space. @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { super.onMeasure(widthMeasureSpec, heightMeasureSpec); mSpeedSelector.measure(w... 阅读全文

posted @ 2012-10-24 14:23 Jalen Wang 阅读(163) 评论(0) 推荐(0) 编辑

2012年10月20日

WPF Threads: Build More Responsive Apps With The Dispatcher

摘要: WPF ThreadsBuild More Responsive Apps With The DispatcherShawn WildermuthThis article discusses:Threading in WPFUsing the DispatcherNon-UI thread handlingUsing timersThis article uses the following technologies:.NET Framework 3.0, WIndows Presentation FoundationIt would be a shame if you put months 阅读全文

posted @ 2012-10-20 20:42 Jalen Wang 阅读(332) 评论(0) 推荐(0) 编辑

导航