2012年10月11日

tinyurl and qrcode

摘要: Share two tools:TinyURL:http://tinyurl.com/Making over a billion long URLs usable! Serving billions of redirects per month.QR code:http://qrcode.kaywa.com/AS THE FIRST WESTERN QR COMPANY, KAYWA OFFERS A FREEQR CODE GENERATOR ON ITS SITEQRCODE.KAYWA.COMSINCE 2006.http://www.the-qrcode-generator.com/ 阅读全文

posted @ 2012-10-11 14:53 Jalen Wang 阅读(248) 评论(0) 推荐(0) 编辑

2012年9月5日

Learning WebGL

摘要: WebGL Lesson 8 – the depth buffer, transparency and blendingWebGL rendering process:Runs the vertex shader on all of the vertices to work out where everything is.Linearly interpolates between the vertices, which tells it which fragments (which for the moment you can treat as being the same as pixels 阅读全文

posted @ 2012-09-05 09:18 Jalen Wang 阅读(321) 评论(0) 推荐(0) 编辑

2012年9月1日

Android source code search service.

摘要: http://androidxref.com/source/http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/感觉GrepCode做的更强一点,但是好像缺乏native的code。 阅读全文

posted @ 2012-09-01 22:11 Jalen Wang 阅读(264) 评论(0) 推荐(0) 编辑

[转] Android系统如何实现UI的自适应

摘要: 原文链接:http://www.cnblogs.com/melaniedeng/archive/2012/05/17/2506869.html做Android应用的人都知道,要一个apk适用多个不同的手机屏幕是很容易的,就是在项目的res文件夹下面有多套相关的资源文件。程序运行的时候,Android系统会根据当前设备的信息去加载不同文件夹下的资源文件。但是Android系统是怎么做到这一点的呢?上网上搜了一下,很少有这方便的介绍,只好自己研究下代码了。下面是我研究代码得到的结果(正确性有待确认),在这里分享一下。这里以ICS上在Activity的onCreate()方法里面调用setConte 阅读全文

posted @ 2012-09-01 22:07 Jalen Wang 阅读(266) 评论(0) 推荐(0) 编辑

2012年8月12日

How to set, print, or list environment variables

摘要: fromhttp://how-to.wikia.com/wiki/How_to_set,_print,_or_list_environment_variablesTo set a environment variablesForbourne shellssh,ksh,bashexecute: VARNAME="value"; export VARNAMEForc shellscsh.tcshexecute: setenv VARNAME "value" Edit the ~/.bashrc to set the enviromental variable 阅读全文

posted @ 2012-08-12 06:55 Jalen Wang 阅读(354) 评论(0) 推荐(0) 编辑

2012年8月11日

apt-cyg

摘要: Introapt-cyg is a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository. The syntax is similar to apt-get. Usage examples:"apt-cyg install <package names>" to install packages"apt-cyg remove <package names>" to remove packag 阅读全文

posted @ 2012-08-11 10:44 Jalen Wang 阅读(282) 评论(0) 推荐(0) 编辑

2012年8月1日

Beginning of the PowerShell Script

摘要: What?Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks 阅读全文

posted @ 2012-08-01 09:31 Jalen Wang 阅读(123) 评论(0) 推荐(0) 编辑

2012年6月20日

Android View Hierarchy

摘要: Hierarchy Viewer 是Android SDK里的一个工具,可以帮助你分析应用程序的UI布局。使用方式:连接移动设备或打开模拟器。运行 hierarchyviewer,具体路径:android-sdk-windows\tools\hierarchyviewer.bat。选择设备,点击[load View Hierarchy]按钮,就可以捕获到当前activity的布局信息。双击树节点可以展示单独的UI部分。今天使用这个工具调试了一个Android上的TextView的问题,发现时给Layout的时候把ViewGroup给放错地方了。 阅读全文

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

2012年5月4日

jasmine spy document

摘要: Jasmine Spies are test doubles that can act as stubs, spies, fakes or when used in an expecation, mocks. Spies should be created in test setup, before expectations. They can then be checked, using the standard Jasmine expectation syntax. Spies can be checked if they were called or not and what the c 阅读全文

posted @ 2012-05-04 11:17 Jalen Wang 阅读(415) 评论(0) 推荐(0) 编辑

2012年4月28日

在Ubuntu上配置express环境

摘要: 安装node.js安装依赖包sudo apt-get install g++ curl libssl-dev apache2-utilssudo apt-get install git-core获取node源码git clone git://github.com/joyent/node.git 下载完成之后进入cd node 进入node文件夹。指定迁出版本:git checkout v0.4.10 ,git是一个版本管理工具,这个我们用git迁出0.4.10版本,如果不迁出的话直接进行编译安装将会安装node最新版0.5.5-pre。最新版对很多常用的包是不支持的。比如express,所以这 阅读全文

posted @ 2012-04-28 17:35 Jalen Wang 阅读(458) 评论(0) 推荐(0) 编辑

导航