
Dec
09
Renaming Variables in Xcode
Published 12:12 Dec 09, 2013 by @ezra.
#Programming# For both persons and programming variables, a good name is an invitation to a prosperous life.
Lucki...

Dec
02
Pebble Smart-watch, Xcode 5 and OS X Mavericks
Published 12:12 Dec 02, 2013 by @ezra.
#Programming# After stumbling a few times while setting up my development environment for the Pebble Smart-watch,...

Nov
22
Command that Terminal
Published 12:11 Nov 22, 2013 by @ezra.
#Programming# In case somebody else is using the left and right arrows to navigate through typed commands, I've co...

Nov
03
The data beyond the JPEG
Published 12:11 Nov 03, 2013 by @ezra.
#Programming# JPEG files from a digital camera include lots of information beyond the actual picture. Camera setti...

Oct
10
OS X: Terminal Cheatsheet
Published 12:10 Oct 10, 2013 by @ezra.
#Programming# Terminal Cheatsheet for Mac
快捷键
按键/命令
描述
Ctrl + A
移动光标至行首
Ctrl + E
移动光标至行尾
Ctrl + L
清屏
...

Sep
19
Java 与 RegEx 浅析 002: 小试 java.util.regex
Published 12:09 Sep 19, 2013 by @ezra.
#Programming# 正则表达式包 java.util.regex 的使用十分简单,它的功能由下列内容组成:
类 java.util.regex.Pattern
Pattern 对象就是编译好的正则表达式,它可以应用...

Sep
19
Java 与 RegEx 浅析 001: 概述
Published 12:09 Sep 19, 2013 by @ezra.
#Programming# Java 是目前极为流行的一门语言,而正则表达式也是开发和维护中必不可少的一个工具,如何将这两者融合成为一个非常重要的问题。
从 2002 年初 Java 发布 1.4 版本后就有了内建的采用 NFA...

Sep
17
Linux 配置 IP
Published 12:09 Sep 17, 2013 by @ezra.
#Programming# 首先需要找到配置文件,以 eth0 为例,用 vi 打开它:
vi /etc/sysconfig/network-script/ifcfg-eth0
将其内容改为如下格式:
DEVICE=eth0
H...

Sep
12
Java: Get header fields
Published 12:09 Sep 12, 2013 by @ezra.
#Programming# 在开发应用程序的过程中, 如果有多个应用, 通常会通过一个 portal 门户来集成, 这个 portal 是所有应用程序的入口, 用户一旦在 portal 登录之后, 进入另外一个系统, 就需要类似...

Aug
15
JavaScript 入门教程
Published 12:08 Aug 15, 2013 by @ezra.
#Programming# 1 为什么学习JavaScript
提要:Javascript是学习脚本语言的首选。她兼容性好,绝大多数浏览器均支持Javascript,而且她功能强大,实现简单方便,入门简单,即使是程序设计新手也可...

Jul
08
JavaScript: 短信验证码
Published 12:07 Jul 08, 2013 by @ezra.
#Programming# 相信大家都遇到过手机验证码的功能,今天介绍一个简单的实现方式。
先做一个简单页面:
手机号:
验证码:
...

Jun
09
Travis CI and iOS Projects
Published 12:06 Jun 09, 2013 by @ezra.
#Programming# Travis is a Continuos Integration platform targeted to the Open Source Community. Among many other l...