lokvin
lokvin · 共 74 篇文章
共享键盘鼠标工具 synergy
身为一个桌子上摆了三台电脑的苦B程序员 (windows + linux + mac) ,如果没有一个共享鼠标键盘的软件真的会抓狂,还好有 synergy http://synergy-foss.org/ , 生活又美好了一点。
2012-02-25 08:22 · 评论(0)
静止线
2012-02-22 13:16 · 评论(0)
View Programming Guide for iOS 摘要
原文地址: http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Introduction/Introduction.html%23//apple_ref/doc/uid/TP40009503-CH1-SW2 简单的摘要备忘,不准确的地方请参考原文。 Introduction View and Window Architecture 1.View Architecture Fundamentals (View 架构基础) View 和 Window 的架构 V…
2011-03-11 16:57 · 评论(0)
iOS Application Programming Guide 摘要
原文地址: http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007072-CH1-SW1 这里只是做一个简单的摘要翻译,方便自己记忆,错误难免,请参考原文。 1. 应用运行时环境 (1) 快速启动,短时间使用 iphone,ipad 等 iOS 设备的优势在于可以快速启动,而且可能只是使用一会又放回口袋或书包。在iOS4 之前,App 退出…
2011-01-29 01:11 · 评论(0)
ios reading
作为一个 iphone newbie ,开始阅读如下文章: ----------------------- already done----------------------------- 你的第一个 ios Application { Read Done! } 这是个简单的例子程序,不过是个很好的开始。 http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhone101/Articles/00_Introduction.html Learning Objective-C: Aprimer { …
2010-11-01 17:09 · 评论(0)
安装 fedora 后的一些配置
# enable sudo for cureent user ${user} is current user shell >su shell >chmod +w /etc/sudoers shell >echo '${user} ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers shell >chmod -w /etc/sudoers shell >exit **# disable selinux ** shell >sudo vi /etc/selinux/config SELINUX=disabled reboot the system for taking…
2010-04-03 20:35 · 评论(0)
Core JavaScript 1.5 Reference
Mozilla Developer Center 提供的 https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference
2009-12-14 17:01 · 评论(0)
js 的build-in Object , Global 和 Math
js 中有两个内置对象, Global 和 Math 内置对象的定义:由ECMAScript 实现提供的,独立于宿主环境的对象,在ECMAScript程序 开始执行时出现,开发者不必实例化内置对象,它已被实例化了。 内置对象都是 ECMAScript 本地对象。 Global 对象
2009-11-27 00:35 · 评论(0)
js 中的 Array
javascript 中有 Array 类 (其实说 javascript 中有类不是很严密,暂且暂且) var aValues = new Array(); var aValues = new Array(10); // 声明有 10 个项的 Array 对象 var arr = new Array(); arr[0]="thanks"; arr[1]="god"; arr[2]="its"; arr[3]="friday"; var aColors = new Array("red", "yellow", "blue");//直接用 value 声明数组 var arr2 = ["you…
2009-11-26 21:33 · 评论(0)
Professional JavaScript for web Developers -- 读书笔记(1)
第2章 ECMAScript 基础 ECMAScript 中,变量可以存放两种类型的值,原始值和引用值。 原始值(primitive value) , 存储在栈(stack) 中的简单数据,直接存储在 变量的访问位置。 引用值(reference value) , 存储在堆(heap) 中的对象,存储在变量处的是 值的指针 原始类型,5种 : String, Number, Boolean, Null, Undefined. 用 typeof 运算符判断值的类型 undefined boolean number string object // typeof Null 的结果是 object…
2009-11-04 20:58 · 评论(0)
关于 javascript 闭包 closure
closure 是 js 中的一个强大特性,但是理解起来比较绕。 Jim Jey 的关于 clouse 的文章讲的很好 http://www.jibbering.com/faq/faq_notes/closures.html 国内某同学的译文,翻译的真不赖,谢过。 http://www.cn-cuckoo.com/wordpress/wp-content/uploads/2007/08/JavaScriptClosures.html
2009-10-25 13:23 · 评论(0)
location 介绍
location.search=path_from_questionmark location.search 是查询字符串。 eg. http://www.w3schools.com/js/tryit.asp?filename=try_loc_search location.search = ?filename=try_loc_search location.pathname=path The pathname property sets or returns the path of the current URL. eg. http://www.w3schools.com/js/tryit…
2009-09-11 10:57 · 评论(0)
css z-index property
z-index 类似一个堆栈属性, 大的 z-index element 会显示在小 z-index element 的上方。 具体参见: http://www.w3schools.com/Css/pr_pos_z-index.asp
2009-09-03 17:14 · 评论(0)
css border property
The CSS border properties define the borders around an element. border 有如下属性 border-width border-style border-color 上下左右的 border-style 和顺序相关。 The border-style property can have from one to four values. * border-style:dotted solid double dashed; o top border is dotted o right border is solid o botto…
2009-09-03 17:11 · 评论(0)
JSON (Javascript Object Notation) 介绍
JSON (Javascript Object Notation) 是一种轻量级的数据交换格式,机器容易解析和生成这种格式,人也很容易阅读和书写。JSON 是一种文本数据格式,且独立于语言。这使 JSON 成为一种理想的数据交换语言。具体介绍参见: http://www.json.org/
2009-09-01 16:55 · 评论(0)