手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表Tag:mac

mac上怎么安装gcc?

本来想在本机安装sshpass,但突然发现。。。./configure不能运行,提示我没有安装gcc等工具。

一想,好象以前安装xcode的时候,会有gcc安装的呀。但我辛苦安装了xcode之后,仍然提示没有gcc。

纠结,怎么办?找了点资料,果然官方就有:

1、登录:developer.apple.com,注册一个帐号,嗯,免费的,只是耗点时间而已

2、进入http://developer.apple.com/download,搜索一下:command line,下载回来安装即可:100多M

这时候就OK了啦。不过,也有缺点,command line tools for xcode里自带的svn只是1.6,现在好多都是1.7的了。还得升级。

升级,还是用brew install会方便一点。不过我只是说安装gcc,就下载一个command line tools for xcode即可了

Tags: mac, gcc, xcode

dayone

一咬牙,买了一个APP:day one。用下来实在感觉是不错。所以才买的。。。
dayone的mac app的icloud的同步确实 有点麻烦。后来我没辙。选择了dropbox来进行同步。太悲催了。
icloud同步请参考:
http://dayoneapp.com/support/icloud/

dropbox同步请参考:
https://dayone.zendesk.com/entries/21984318-how-do-i-setup-dropbox-syncing

后记:
TNND,原来是破解版对icloud的同步做了限制,换成了正版就好了。一下子100块没了。mac上68,ios上30.
至少,我目前觉得还是物有所值。每天做了哪些事情都记录下来了。。。很好。很蛋定

Tags: mac, ios

在mac怎样启动windows安装

大家都知道,bootcamp这玩意,可究竟怎么玩呢?我又遇到哪些问题呢?很痛苦,我一一道来吧

1.我用新版本的系统做了一个bootcamp的启动盘,一切正常,在我的机器上也能够正常启动的时候出现了菜单.找了一台旧机器.直接不认
    bootcamp做启动盘的教程网上太多了,不多说

2.用rEFit做了一个启动菜单,rEFit的安装也很方便,下一步下一步就完了...
   网上的教程说是不要按option,于是我等啊等 ,结果,进了mac了...
   我按着option重启看到了rEFit的菜单了,心里那个激动啊,进去点击U盘安装......出现:error loading operate system ,我晶

3. 现在正在等 .....我在下载大白菜U盘启动工具,希望能够成功,因为vampire说他试了OK...
   希望我不会失望

新旧版不兼容...硬件还是软件??好痛苦啊

--------后记

1. 第3步不做了,我换了个USB口,居然可以认了.尼妹啊...这种事情也有
2. rEFIt启动两次后,居然...不用再按OPTION了.看来,系统也是认顺序的.....

Tags: mac, bootcamp

MAC复制文件后所增加的._开头的文件

当从mac复制文件到其他系统的时候,你会发现,目录下面多了一堆._开头的同名文件,很让人纠结,找了资料,说这是【 “Apple Double” 的文件系統處理機制】,虽然可以被删除,但很麻烦。

找到的原文是这么说的:

XML/HTML代码
  1. Before Mac OS X, the Mac OS used ‘forked’ files, which have two components: a data fork and a resource fork. The Mac OS Standard (HFS) and Mac OS Extended (HFS Plus) disk formats support forked files. When you move these types of files to other disk formats, the resource fork can be lost.  
  2.   
  3. With Mac OS X, there is a mechanism called “Apple Double” that allows the system to work with disk formats that do not have a forked file feature, such as remote NFS, SMB, WebDAV directories, or local UFS volumes. Apple Double does this by converting the file into two separate files. The first new file keeps the original name and contains the data fork of the original file. The second new file has the name of the original file prefixed by a “._ ” and contains the resource fork of the original file. If you see both files, the ._ file can be safely ignored. Sometimes when deleting a file, the ._ component will not be deleted. If this occurs you can safely delete the ._ file.   

好吧,我当然是没辙的,所以就只能用fin . -name "._*"|xargs rm这样的方式来删除了。这也是参考文章中的办法:

不过还是有一点小问题,那就是如果文件夹中有空格,其实在查询的时候是会被加上“\”的,也就导致在删除 的时候这个反斜杠变成了转义符。所以,这个目录还是先mv一下,改个名吧

Tags: mac, copy

招商证券MAC版

一直以来,招商证券我都是用虚拟机在跑,每次为了看这玩意都得开个虚拟机,好痛苦啊。
今天在搜索mac版的时候,看到的地址居然是官方的,打开一看,果然还真的有:
http://www.newone.com.cn/ws/html?arg=2personal/trade/jiaoyi_6
大小: 27.86 K
尺寸: 500 x 130
浏览: 1246 次
点击打开新窗口浏览全图
有时候在想,是不是自己闲的蛋疼,折腾自己

Tags: mac, 招商证券, 虚拟机

Records:2112345