Date
Feb. 21st, 2025
 
2025年 1月 24日

Posts #23

A Developer's Faux Pas
Feb
08
sudo rm -rf /
Published 12:02 Feb 08, 2016 by @ezra.
#Technology# 今天做了一件非常糟糕的事情, 由于一个玩笑导致朋友用 rm 误删了很多重要的文件。 起初是因为印象里 Mint 中 sudo rm -rf / 这个指令不会被执行, 以为 macOS 中也是这样, 但...
Jan
28
StaSh: Shell Like an Expert in Pythonista
Published 12:01 Jan 28, 2016 by @ezra.
#Programming# StaSh is a serious attempt to implement a Bash-like shell for Pythonista, inspired by shellista and ...
Jan
28
iOS : 模拟微信红包照片
Published 12:01 Jan 28, 2016 by @ezra.
#Programming# 上一篇博客用 HTML5 + CSS3 实现了一个简单的微信红包照片的效果,那当然少不了街机 iPhone 中的实现。 iOS 实现这个效果常用的有三种方式: CoreImage 绘图 CAL...
Jan
28
HTML5/CSS3: 模拟微信红包照片
Published 12:01 Jan 28, 2016 by @ezra.
#Programming# 前几天微信红包照片着实火了一把,很多人也已经发现可以通过抓包获取到原始图片,而其背后的实现方式也引起了一些朋友的兴趣。 所以今天我们一起实现一个简单的微信红包照片效果。 首先,根据标题你已经知道我们要...
Jan
26
Using the View Hierarchy and Console for easier debugging
Published 12:01 Jan 26, 2016 by @ezra.
#Programming# At some point in life, you are gonna work with a codebase that you didn't write from the very beginn...
Jan
05
Objective-C: weakSelf
Published 12:01 Jan 05, 2016 by @ezra.
#Programming# The correct way to define a weak object is: __typeof__(obj) __weak wobj = obj; Note that having __...
Jan
01
What is System Integrity Protection (aka Rootless) and how to disable it
Published 12:01 Jan 01, 2016 by @ezra.
#Programming# All Macs with OS X El Capitan installed on them have a new layer of security known as System Integri...
Dec
29
AppleDoc: Docset Generator
Published 12:12 Dec 29, 2015 by @ezra.
#Programming# Appledoc 是一个命令行工具,用来生成 .docset 文件。 文档风格默认与苹果保持一致的。 开源 生成 docset 并自动集成到 Xcode 中 没有特殊的注释要求,可以用...
Dec
10
CoreData 与 SQLite 线程安全
Published 12:12 Dec 10, 2015 by @ezra.
#Programming# 数据库读取操作一般都是多线程访问的。在对数据进行读取时,我们要保证其当前状态不能被修改,即读取时加锁,否则就会出现数据错误混乱。 iOS中常用的两种数据持久化存储方式: CoreData SQLit...
Dec
06
Concatenate arrays in liquid
Published 12:12 Dec 06, 2015 by @ezra.
#Programming# 今天在使用 Jekyll 时遇到一个问题: 数组合并。 第一反应是使用 concat 过滤, 但是实际操作后并没有效果。查阅了一些 资料 发现, 虽然 Liquid 本身已经支持 concat, 但并...
Dec
02
iOS : HealthKit 牛刀小试
Published 12:12 Dec 02, 2015 by @ezra.
#Programming# HealthKit 发布已经很久了,最近有机会用到,小试一把。 Framework 首先要导入 HealthKit.framework 框架,在 Build Phases 下 Link Binary ...
Nov
29
Download the Xcode Documentations
Published 12:11 Nov 29, 2015 by @ezra.
#Programming# 由于 Xcode 中的自带的文档为在线文档,不包含离线 HTML 文件,然而 Xcode 中的下载速度又实在让人无奈,所以本文主要介绍如何加速下载 Xcode 文档的问题。 首先需要访问苹果官网的 X...
Prev
1 ... 22 23 24 ... 50
Next
Pinned Message
HOTODOGO
The Founder and CEO of Infeca Technology.
Developer, Designer, Blogger.
Big fan of Apple, Love of colour.
Feel free to contact me.
反曲点科技创始人和首席执行官。
开发、设计与写作皆为所长。
热爱苹果、钟情色彩。
随时恭候 垂询