按Ctrl+`调出consoleimport urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_open...
分类:
其他好文 时间:
2014-09-16 12:26:40
阅读次数:
174
svn下载地址:http://download.csdn.net/detail/finallygo/7531345#comment安装好后,bin目录下就是相应程序了。通过添加环境变量的方式,把bin目录添加到path。启动cmd,敲入 svn help 以确认是否安装成功。 好了,可以找到你的代码...
判断数组中是否存在满足形成三角形的条件的三个数。判断连续相邻的三个数即可;可以证明当步相邻的时候存在的的话,那么就一定会有一组相邻的是满足的。 1 // you can use includes, for example: 2 #include 3 4 // you can write to s.....
分类:
其他好文 时间:
2014-09-16 12:11:50
阅读次数:
218
一、基本使用安装:下载二进制包后可直接解压使用从源码安装则执行命令:./bootstrap; make; make install——尝试执行bootstrap失败使用:cmake dir_path,生成工程文件或makefile文件二、概念out-of-sourcebuild,与in-source...
分类:
其他好文 时间:
2014-09-16 10:42:20
阅读次数:
222
1.document.write(""); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5...
分类:
Web程序 时间:
2014-09-16 09:15:10
阅读次数:
295
使用Package Control组件安装 按Ctrl+`调出console 粘贴以下代码到底部命令行并回车: import urllib2,os;pf=‘Package Control.sublime-package‘;ipp=sublime.installed_packages_path();os.makedirs(ipp) if not...
分类:
其他好文 时间:
2014-09-16 01:40:30
阅读次数:
241
20140508
1. SQL 语句,拼接查询 ,字符串类型添加单引号,使用 == ,整形直接 直接赋值
// 方法1
String sql = "select id,name from table_temp where name == '人品' limit 30 offset 20 ";
db.rawQuery(sql ,null);
// 方...
分类:
其他好文 时间:
2014-09-16 00:25:49
阅读次数:
193
??
1chdir依赖的头文件
#include
2函数定义
int chdir(const char *path);
int fchdir(int fd);
函数说明:
chdir的作用是改变工作目录
4getcwd依赖的头文件
#include
5函数定义:
char *getcwd(char *buf, size_t size...
分类:
系统相关 时间:
2014-09-16 00:24:39
阅读次数:
207
[root@testdb11a ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removin...
分类:
数据库 时间:
2014-09-16 00:16:39
阅读次数:
376
题意:给你一个文本串,其中模式串有两种模式,可以重复和不可以重复,分别有多少个模式串解题思路:在 Trie 里面多加几维数组来维护 重复和不重复的和,由于不够优美,差点超内存。解题代码: 1 // File Name: temp.cpp 2 // Author: darkdream 3 // ...
分类:
其他好文 时间:
2014-09-16 00:16:29
阅读次数:
274