推荐阅读:What Are Aliases, Symbolic Links, and Hard Links in Mac OS X?
这篇对alias和symbolic link的区别解释得还是很全的,从应用层上看alias更针对普通用户的操作层,一次创建,随意移动,只有Finder能识别。对比了一下这两种文件的状态,发现主要区别还是alias只是一个普通二进制文件,Finder在创建alias的时候是完全创建了一个新的独立的文件,类型是MacOS Alias file
。Finder的Get Info window中还可以对这种alias文件进行更改Original指向,也是对inode的直接修改,也难怪能够随意移动和创建alias及alias副本。只是不能在terminal里使用罢了。
尤其是针对目录的alias,这种文件在terminal几乎完全就是鸡肋。这个时候symbol link创建的目录快捷方式的就有优势多了,可以在cd
之间来去自如,几乎就是一个真实存在的directory。
➜ ~ stat adir File: adir Size: 102 Blocks: 0 IO Block: 4096 directory Device: 1000003h/16777219d Inode: 24269459 Links: 3
Set up a mac browser application based on cef3
The Chromium Embedded Framework (CEF) is a simple framework for embedding Chromium-based browsers in other applications. The cef-project can be used as the starting point for third-party applications built using CEF.
Setup
-
Build project from cef-project.
cd /path/to/cef-project
About the software
Just think, image…
I am not good at web skills, all the html, css, javascript stuffs related are escaped during my work, but it doesn’t suppress my love for Internet browser, chrome especially. I built a lot of client-server based applications including native iOS clients, most of them have a