随笔分类 -  笔记

ReadingNotes@02/11/2013
摘要:程序员2013新年计划找到一名导师/成为一名导师KISSKeep It Simple, Stipid!http://www.aqee.net/s-o-l-i-d-class-design-principles/去读该死的手册(RTFM)不要重复自己Eclipse插件大全 挑选最牛的TOP30(1)Emac+Eclipse记事本插件Eclipse 3.6版本正式发布 代号“太阳神”java 7 downloadLinux操作系统中安装JAVA JDK1.6的方法foreverPost by: Jalen Wang (转载请注明出处) 阅读全文

posted @ 2013-02-11 21:53 Jalen Wang 阅读(155) 评论(0) 推荐(0)

Run Android Application from Command Line
摘要:Sometime, we want to start the android application program from command line (Android Shell). Before, we usually clicking on the icon at application folder to run our program. So, there is an alternative way to run the program.We use the Android Shell and issue am command to brought up the program. 阅读全文

posted @ 2013-01-16 15:03 Jalen Wang 阅读(418) 评论(0) 推荐(0)

自动化生产安卓应用程序
摘要:在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 阅读(1029) 评论(0) 推荐(0)

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 阅读(266) 评论(0) 推荐(0)

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 阅读(329) 评论(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 阅读(284) 评论(0) 推荐(0)

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 阅读(137) 评论(0) 推荐(0)

for each in java script
摘要:var names = ['Hello', 'World'];for(var index in names) console.log(names[index]);这里的for each是遍历key-value pair。 阅读全文

posted @ 2012-03-08 21:18 Jalen Wang 阅读(174) 评论(0) 推荐(0)

[Jasmine]Why Another JavaScript TDD/BDD Framework?
摘要:There are some great JavaScript testing frameworks out there already, so why did we write another?None of the existing frameworks quite worked the way we wanted. Many only work from within a browser. Most don't support testing asynchronous code like event callbacks. Some have syntax that's h 阅读全文

posted @ 2012-02-29 20:09 Jalen Wang 阅读(1196) 评论(0) 推荐(0)

[Learn Note] Java Script Guide Line
摘要:Table of Contents1 Reference 2 Highlights 2.1 Formating 2.1.1 Curly Braces 2.1.2 Array and Object Initializers 2.1.3 Function Arguments 2.1.4 Passing Anonymous Functions 2.1.5 More Indentation 2.1.6 Binary and Ternary Operators 2.2 Strings 2.3 JavaScript Types 2.3.1 Type Casts 2.4 Comments 2.4.1 JSD 阅读全文

posted @ 2012-02-08 16:33 Jalen Wang 阅读(292) 评论(0) 推荐(0)

[LearnNote] JSON
摘要:1 JSONJSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.More information is availble on the home page.2 JSON in JavaScript2.1 Operate with a JSON object2.1.1 Create a JSON object// Declar 阅读全文

posted @ 2012-02-07 21:14 Jalen Wang 阅读(338) 评论(0) 推荐(0)

Flex Builder
摘要:Adobe® Flex® 3 是用于构建和维护在所有主要浏览器、桌面和操作系统一致地部署的极具表现力的 Web 应用程序的高效率的开放源码框架。 可以使用免费的 Flex SDK 构建 Flex 应用程序, 开发人员可以使用 Adobe Flex Builder™ 3 软件来显著促进开发。Download:http://subject.csdn.net/adobedownload/Post by: Jalen Wang (转载请注明出处) 阅读全文

posted @ 2012-02-05 10:19 Jalen Wang 阅读(249) 评论(0) 推荐(0)

Update emacs to 23.2 on Ubuntu
摘要:sudo add-apt-repository ppa:ubuntu-elisp/ppasudo apt-get updatesudo apt-get upgraderef:http://jeffbeeman.com/node/120Post by: Jalen Wang (转载请注明出处) 阅读全文

posted @ 2012-02-05 10:12 Jalen Wang 阅读(222) 评论(0) 推荐(0)

Eclipse快捷键
摘要:Table of Contents1 Useful eclipse Keyboard 2 Move /Copy the lines 1 Useful eclipse Keyboardrectangle selection model shift + alt + aTemplate Alt + /Go to implementation => F3 Rename => Shift + Alt + R Ctrl + F11 Ctrl + E quick browser Ctrl + M Maxiam the active window F12 Active Editor Ctrl + 阅读全文

posted @ 2012-01-30 23:07 Jalen Wang 阅读(216) 评论(0) 推荐(0)

[Learn Note]2012-01-29
摘要:Table of Contents1 Emacs Lisp Date Time Formats 2 C#与闭包 3 Bootstrapping 4 emacs searching 1 Emacs Lisp Date Time FormatsElisp provides a very convenient function format-time-string for printing data time. For example, you can write a command to print date in the yyyy-mm-dd format using (insert (form 阅读全文

posted @ 2012-01-30 21:47 Jalen Wang 阅读(212) 评论(0) 推荐(0)

[Notes]2012-1-28
摘要:1 How to Have the Best Year of Your Life (without Setting a Single Goal)通过坚持一些良好的习惯以Get Things Done。1.1 Get up earlyWhen the world wakes up, distractions abound. If you are going to focus on creating a new life for yourself, you’ll need to find the time. The best way to do this is to work while othe 阅读全文

posted @ 2012-01-28 21:55 Jalen Wang 阅读(157) 评论(0) 推荐(0)

[Learn Notes] PowerShell学习笔记
摘要:这几天抽空学习了一下PowerShell,领略了其强大之处。本想好好的写点笔记,到网上一翻,还真有现成的笔记(http://www.ansatt.hig.no/erikh/tutorial-powershell/powershell-pres.pdf)。看了一下,这个笔记做的真不错,突出了重点,看过《Mastering-PowerShell》后,完全可以当作quick reference用。至于如何在emacs添加powershell的support,可以参照http://www.emacswiki.org/emacs/PowerShell。ps. 本来应该是个很长的文章,现在我也可以呀呀数语 阅读全文

posted @ 2012-01-27 22:37 Jalen Wang 阅读(169) 评论(0) 推荐(0)

[Learn Notes] CSS学习笔记
摘要:1 数据和视图分离1.1 有了 CSS,就可以控制页面的外观并且将文档的表现部分与内容分隔开2 更易于保持各个界面的风格的一致性2.1 这个界面可以使用相同的CSS3 标记3.1 id 和 类名3.2 div 和 spandiv 可以用来对块级元素进行分组,而 span 可以用来对行内元素进行分组或标识4 为样式找到目标有效且结构良好的文档为应用样式提供了一个框架。要想使用 CSS 将样式应用于特定的(X)HTML 元素, 需要有办法找到这个元素。在 CSS 中,执行这一任务的样式规则部分称为选择器(selector)。4.1 常用的选择器4.1.1 类型选择器类型选择器有时候也称为元素选择器 阅读全文

posted @ 2012-01-07 21:19 Jalen Wang 阅读(214) 评论(0) 推荐(0)

导航