![](/media/posts/categories/covers/programming.jpg)
Sep
18
iOS 9 : URLScheme
Published 12:09 Sep 18, 2015 by @ezra.
#Programming# 相信很多小伙伴即将开始着手 iOS 9 的适配工作了,下面我们就来了解一下 iOS 9 的一项新特性: URLScheme。
URLScheme 白名单与 canOpenURL: 方法
在 iOS 9...
![](/media/posts/categories/covers/chip.jpeg)
Sep
16
UNIX/Linux 文件权限浅析
Published 12:09 Sep 16, 2015 by @ezra.
#Technology# 一、基本文件权限
我们知道在 UNIX/Linux 中可以用 ls -l 命令来查看权限,其表示格式是类似这样的:
-rwxr-xr-x
这种表示方法一共有十位:
9 8 7 6 5 4 3 2 ...
![](/media/posts/categories/covers/programming.jpg)
Sep
16
iOS : App Group
Published 12:09 Sep 16, 2015 by @ezra.
#Programming# 本文主要介绍 App Group 功能。
我们可以使用 NSUserDefaults 来访问,当然,这里的 NSUserDefaults 并不是使用 NSUserDefaults.standardUs...
![](/media/posts/categories/covers/programming.jpg)
Sep
16
iOS UITableView: Appearance of HeaderView & FooterView for Section
Published 12:09 Sep 16, 2015 by @ezra.
#Programming# 如果你想自定义header颜色,可以这样做:
[[UITableViewHeaderFooterView appearance] setTintColor:[UIColor redColor]];
...
![](/media/posts/tags/covers/vcs-git.jpg)
Sep
16
git clone error: RPC failed; result=56, HTTP code = 200
Published 12:09 Sep 16, 2015 by @ezra.
#Version Control# 如果你遇到这样的 Git 错误:
git clone error: RPC failed; result=56, HTTP code = 200
其解决办法很简单:
git config --gl...
![](/media/posts/tags/covers/vcs-git.jpg)
Sep
16
Git Error: insufficient permission for adding an object to repository database .git/objects
Published 12:09 Sep 16, 2015 by @ezra.
#Version Control# 今天提交 Git 的时候出现一个错误,来看一下:
error: insufficient permission for adding an object to repository database ...
![](/media/posts/categories/covers/programming.jpg)
Sep
16
OS X : SSH 克隆会话
Published 12:09 Sep 16, 2015 by @ezra.
#Programming# Terminal的SSH是标准的OpenSSH client
如果需要克隆会话功能,可以通过配置打开:
$ cat .ssh/config
Host *
ControlMaster auto
...
![](/media/posts/categories/covers/programming.jpg)
Sep
15
OS X : 使用tree指令
Published 12:09 Sep 15, 2015 by @ezra.
#Programming# 如何在 OS X 下使用 tree 呢?
1、通过tree源码编译安装
下载源码:
curl -O ftp://mama.indstate.edu/linux/tree/tree-1.6.0.tgz
...
![](/media/posts/categories/covers/chip.jpeg)
Sep
13
CentOS : 图形界面与命令行界面切换
Published 12:09 Sep 13, 2015 by @ezra.
#Technology# Linux预设提供了六个命令窗口终端机让我们来登录。默认我们登录的就是第一个窗口,也就是tty1,这个六个窗口分别为tty1,tty2 … tty6,您可以按下⌃ + ⌥ + F1 ~ F6 来切换它...
![](/media/posts/categories/covers/chip.jpeg)
Sep
12
Start-up Procedure of CentOS 6.5
Published 12:09 Sep 12, 2015 by @ezra.
#Technology# Linux的启动其实和windows的启动过程很类似,不过windows我们是无法看到启动信息的,而Linux启动时我们会看到许多启动信息,例如某个服务是否启动。Linux系统的启动过程大体上可分为五...
![](/media/posts/categories/covers/programming.jpg)
Sep
12
iOS: ERROR ITMS-9000
Published 12:09 Sep 12, 2015 by @ezra.
#Programming# ERROR ITMS-9000:"Invalid Code Signing Entitlements.Your application Bundles signature code signing e...
![](/media/posts/categories/covers/programming.jpg)
Sep
06
Python : Tips for Beginners
Published 12:09 Sep 06, 2015 by @ezra.
#Programming# Here are some useful tips and tricks in Python for beginners to the language who's coming from a tra...