CaveOps: Night-City
#Hello Edgerunners, welcome to the Night-City.

Welcome!

Scheme 001:Install MIT-Scheme

1.1 为什么使用Scheme 使用Scheme,你可以: 编写漂亮的程序。 享受编程的乐趣。 这些就是为什么要学习Scheme的原因。在你用Scheme编写一些实用程序的时候会遇到一些困难。 然而,正因为这是一门值得学习的语言,所以许多卓越的黑客钟爱Scheme。事实上,计算机程序的构造和解释 (Structure and Interpretation of Computer Programs,SICP) ——最好的计算机科学教科书之一——使用Scheme来描述演示程序。GNU也使用Scheme (一种被称作guile的实现) 作为其应用软件的通用脚本语言。guild相当于M...

Renaming Variables in Xcode

For both persons and programming variables, a good name is an invitation to a prosperous life. Luckily for your Objective-C variables, changing their name is easier than the legal trouble of changing your own name to 'Max Power'. Find out how: 'Edit All In Scope' To rename a symbol present solely in...

Pebble Smart-watch, Xcode 5 and OS X Mavericks

After stumbling a few times while setting up my development environment for the Pebble Smart-watch, I decided to write a step-by-step guide on the topic to save time and sanity to other developers coding their first application for Pebble using Xcode 5 under OS X Mavericks and iOS. Things You'll Wi...

Command that Terminal

In case somebody else is using the left and right arrows to navigate through typed commands, I've compiled a list of useful shortcuts for the Terminal: Ctrl + A: Go to the beginning of the line. Ctrl + E: Go to the end of line. Ctrl + F: Move the cursor position one space forward. Ctrl + B: Move th...

UNIX/Linux : 让 man 手册变为彩色

用过 Unix/Linux 的朋友一定知道 man 指令,但是黑白的 man 手册看起来还是蛮费劲的。那就让我们来把它变为彩色吧。 首先,你当然要知道自己所使用的 shell 是什么,你可以使用 echo $SHELL 来查看。这里我以 Mac OS X 10.3 之后使用的 bash 为例。 编辑 ~/.bash_profile 或 /etc/bashrc 文件,插入下面的内容: # HIGHLIGHT MANUAL PAGE CONTENTS export LESS_TERMCAP_mb=$'\E[01;33m' export LESS_TERMCAP_md=$'\...

The data beyond the JPEG

JPEG files from a digital camera include lots of information beyond the actual picture. Camera settings, serial numbers, flash setups and more are included in one of many formats like Exif, IPTC, JFIF or TIFF. To simplify the extraction and reading of all those properties, I've programmed Bravo, an ...

RegEx: Syntax

正则表达式是一种文本模式,包括普通字符 (例如,a 到 z 之间的字母) 和特殊字符 (称为"元字符) 。模式描述在搜索文本时要匹配的一个或多个字符串。 正则表达式示例 表达式 匹配 /^\s*$/ 匹配空行。 /\d{2}-\d{5}/ 验证由两位数字、一个连字符再加 5 位数字组成的 ID 号。 /<\s*(\S+)(\s[^>]*)?>[\s\S]*<\s*\/\1\s*>/ 匹配 HTML 标记。 正则表达式语法 字符 说明 \将下一字符标记为特殊字符、文本、反向引用或八进制转义符。例如,"n匹配字符"n。"\n匹配换行符。序列"\\匹配"\,...

OS X: Terminal Cheatsheet

Terminal Cheatsheet for Mac 快捷键 按键/命令 描述 Ctrl + A 移动光标至行首 Ctrl + E 移动光标至行尾 Ctrl + L 清屏 Command + K 清屏 Ctrl + U 删除光标前的所有文字。如果光标位于行尾则删除整行。 Ctrl + H 与退格键相同 Ctrl + R 检索使用过的命令 Ctrl + C 终止当前执行 Ctrl + D 退出当前shell Ctrl + Z 将执行中的任何东西放入后台进程。fg可以将其恢复。 Ctrl + W 删除光标之前的单词 Ctrl + K 删...

Linux : 文件系统结构图

点击下载 预览图: ...

grep 基础

grep 基本概念 grep: global search regular expression and print out the line. 作用 文本过滤器,用于文本搜索,用指定“模式”逐行匹配。 模式 由正则表达式字符及文本字符所编写的过滤条件 正则表达式 由一类特殊字符和文本字符所编写的模式,其有些字符不表示字符字面意义,而表示控制或通配的功能 比较记忆 {% assign diffcolor = 'style="background: #FFFD42;"' %} grep egrep desc ...

Java 与 RegEx 浅析 002: 小试 java.util.regex

正则表达式包 java.util.regex 的使用十分简单,它的功能由下列内容组成: 类 java.util.regex.Pattern Pattern 对象就是编译好的正则表达式,它可以应用于任意多的字符串 类 java.util.regex.Matcher Matcher 对象对应单独的实例,它表示将正则表达式应用到某个具体的目标字符串上 接口 java.util.regex.MatchResult MatchResult 是 Java 5.0 之后的新特性,它包含了成功匹配到的数据,这些数据可以在下一次匹配前从 Matcher 本身获取,也可以提出作为 Match...

Java 与 RegEx 浅析 001: 概述

Java 是目前极为流行的一门语言,而正则表达式也是开发和维护中必不可少的一个工具,如何将这两者融合成为一个非常重要的问题。 从 2002 年初 Java 发布 1.4 版本后就有了内建的采用 NFA 的正则表达式包 java.util.regex,不仅提供了强大的功能,更可喜的是它的 API 十分简单。 在 java.util.regex 中的方法有: appendReplacement appendTail compile end find flag group groupCount hasAnchoringBounds hasTransparentBounds hitEnd looki...

What's this?

The Night-City version of CaveOps inspired by Cyberpunk 2077. Not finished yet.

Pinned Message

The Founder and CEO of Infeca Technology.

Developer, Designer, Blogger.

Big fan of Apple, Love of colour.

Feel free to contact me.

反曲点科技创始人和首席执行官。

开发、设计与写作皆为所长。

热爱苹果、钟情色彩。

随时恭候 垂询