iphone沙箱模型的有四个文件夹,分别是什么,永久数据存储一般放在什么位置,得到模拟器的路径的简单方式是什么.documents,tmp,app,Library。(NSHomeDirectory()),手动保存的文件在documents文件里Nsuserdefaults保存的文件在tmp文件夹里1...
分类:
移动开发 时间:
2014-07-09 23:12:06
阅读次数:
242
如果之前安装过6.8或其它版本,请先删除以下目录rm -rf /usr/local/insightrm -rf /usr/share/tcltk如果之前设置过环境变量,也请删除unset TCL_LIBRARYunset ITCL_LIBRARY安装insight,ubuntu 10不能apt-ge...
分类:
数据库 时间:
2014-07-09 22:25:23
阅读次数:
491
IOS开发中的CGFloat、CGPoint、CGSize和CGRecthttp://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.htm...
分类:
移动开发 时间:
2014-07-09 00:54:36
阅读次数:
247
位于/Users/你电脑名/Library/Developer/Xcode/DerivedData
下的缓存文件占很大的缓存空间,如果长时间不删除xcode下的缓存文件,就会导致硬盘空间越来越小直到Directory
not empty。删除了缓存文件再运行就不会再报错。
删除DerivedData: 打开看了终端输入 sudo chmod -R 777 /Users/xxx/Li...
分类:
移动开发 时间:
2014-07-08 21:39:21
阅读次数:
240
The library of fmod is #include
#include
#include
#include
#include
#include
#include
using namespace std;
int main(){
double x;
long y;
long long z;
scanf("%lf",&x);
double doubleMod =...
分类:
其他好文 时间:
2014-07-08 21:29:40
阅读次数:
175
使用不同版本的XCode出现的问题:
fatal error: malformed or corrupted AST file: 'Unable to load module "/Users/xxx/Library/Developer/Xcode/DerivedData/ModuleCache/XYZYIE6ZV0OP/Darwin.pcm":
file not found' note: a...
分类:
其他好文 时间:
2014-07-08 15:36:55
阅读次数:
168
The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resulting value contains two or more digits, those digits are summed and the process ...
分类:
其他好文 时间:
2014-07-08 14:12:32
阅读次数:
226
设置默认端口sudodefaultswrite/Library/Preferences/org.jenkins-cihttpPort‘9999‘读取设置defaultsread/Library/Preferences/org.jenkins-ci自启动sudolaunchctlload/Library/LaunchDaemons/org.jenkins-ci.plist取消自启动sudolaunchctlunload/Library/LaunchDaemons/org.je..
分类:
其他好文 时间:
2014-07-08 09:52:55
阅读次数:
2002
Subclipse不能正常工作,打开后报错:
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java...
分类:
编程语言 时间:
2014-07-06 11:26:38
阅读次数:
228
问题
最近在学习Hadoop(2.2.0),打算写一个MapReduce的小程序在Ubuntu 64位的环境下测试一把,一切环境配置完毕后,执行的过程中,控制台输出下面的内容:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java clas...
分类:
其他好文 时间:
2014-07-06 00:46:04
阅读次数:
434