// Xcode最最基本的常用快捷键(想看效果的话执行比调试应该要快):// 1.在所属范围内修改所有变量名:control + command + t;// 2.在.m文件和.h文件之间切换:alt + command + up;// 3.智能提示:command + ,; command + ....
分类:
系统相关 时间:
2014-11-24 13:26:49
阅读次数:
296
环境:linux如果你使用了Apache部署了Django项目,在上传文件时可能会出现“[Errno 13] Permission denied:某目录”的错误。这是因为apache没有权限在该目录下生成文件夹和文件。所以你需要做的只需要赋予Apache对该文件夹的权限就可以了。执行command:...
分类:
其他好文 时间:
2014-11-24 13:25:21
阅读次数:
836
Open the Command Prompt (not as administrator)Navigate to the folder where IIS Express is installed on your machine.In the command line spin up a IISE...
分类:
数据库 时间:
2014-11-24 13:18:30
阅读次数:
202
查看占用某一端口的进程是什么:#lsof -i:端口号
例如:
linux-vdto:~ # lsof -i:1352
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
server 5445 notes 14u IPv4 2237286 TCP *:lotusnote (LISTEN)
server 5445 notes 136u IPv4 2522072 TCP linux-vdto.site:lotu...
分类:
系统相关 时间:
2014-11-24 10:08:56
阅读次数:
169
1, 新建文件 (command+N)ios-选择other组,再次选择PCH File,输入文件名保存。 eg: 创建的工程为Demo; 创建文件名为DemoPrefixHeader.pch2,到工程里面的build setting ->apple llvm 6.0 – language -> P...
分类:
其他好文 时间:
2014-11-24 08:38:17
阅读次数:
139
使用vim编辑多个文件vimFILE1,FILE2,FILE3:next切换至下一个文件:prev切换至前一个文件:last切换至最后一个文件:first切换至第一个文件退出::qa全部退出如何分屏显示一个文件:ctrl+w,s:水平拆分窗口ctrl+w,v:垂直拆分窗口在窗口间切换光标:ctrl+w,arrowqa:关闭..
分类:
其他好文 时间:
2014-11-24 01:14:36
阅读次数:
183
今天的内容学起来比较容易,整理了些。linux基础Ctrl+alt+F1~F6:文字界面登陆tty1~tty6终端;Ctrl+alt+F7:图形界面桌面。可进入/ect/inittab文件修改开机时的登录环境。RedHatEnterpriseLinuxServerrelease6.4(Santiago)系统名称及版本Kernel2.6.32-358.e16.x86_64onanx86_64内..
分类:
系统相关 时间:
2014-11-23 23:34:30
阅读次数:
527
在Windows下设置环境变量,点开始菜单,右键单击我的电脑--属性--高级--环境变量可以看到PATH的变量是这样的:C:\WINDOWS;C:\WINDOWS\COMMAND为了让运行mysql程序变得更容易,改变它的值指向程序安装目录,添加一个目录D:\Program Files\wamp\b...
分类:
数据库 时间:
2014-11-23 22:51:21
阅读次数:
145
源于hdu1013题目描述: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...
分类:
其他好文 时间:
2014-11-23 18:54:41
阅读次数:
249
问题描述:
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become
4 5 6 7 0 1 2).
You are given a target value to search. If found in the array ...
分类:
其他好文 时间:
2014-11-23 16:04:30
阅读次数:
133