;(function ($) { $.fn.extend({ 'nav' : function (color) { $(this).find('.nav').css({ 'list-style' : 'none', 'margin' : 0, 'padding' : 0, ...
分类:
其他好文 时间:
2014-07-07 12:26:05
阅读次数:
284
Linux target framework (tgt) aims to simplify various SCSI target driver (iSCSI, Fibre Channel, SRP, etc) creation and maintenance. The key goals are ...
分类:
系统相关 时间:
2014-07-07 12:21:36
阅读次数:
738
解决emacs中cscope的定义键无效1、cscope的el插件为xcscope.el,通过“sudo find / -name xcscope.el”查找该文件所在的位置2、打开xcscope.el查找“(define-key cscope:map "\C-css" 'cscope-find-t...
分类:
其他好文 时间:
2014-07-02 18:32:30
阅读次数:
546
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 string s1, s2; 6 getline(cin, s1); 7 getline(cin, s2); 8 while(s1.find(s...
分类:
其他好文 时间:
2014-07-02 17:17:29
阅读次数:
281
项目要求NDK开发App程序,于是import了工程项目,搭好了环境,结果出现各种Type 'xxx' could not be resolvedMethod 'xxx' could not be resolved等等Semantic Error。但是工程本身并不存在错误,可以成功编译。解决方法:明...
分类:
其他好文 时间:
2014-07-02 17:05:07
阅读次数:
278
题目如下:
Dungeon Master
You are trapped in a 3D dungeon and need to find the quickest way out!The dungeon is composedof unit cubes which may or may not be filled with rock. It ...
分类:
其他好文 时间:
2014-07-02 16:53:39
阅读次数:
199
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without
repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:
其他好文 时间:
2014-07-02 16:35:32
阅读次数:
213
@ECHOOFF:checkconverter.exetasklist>list.txt//将所有进程信息列入list.txt文件里面(这里默认当前目录)find/i"converter.exe"list.txt//从list.txt文件里查找java.exe这个进程if"%errorlevel%"=="1"(gotostart)else(gotoe)//如果进程不存在,执行start处的代码;反之执..
Pick-up sticks
Problem Description
Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks,...
分类:
其他好文 时间:
2014-07-02 15:29:53
阅读次数:
295
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 string s; 6 char c; 7 getline(cin,s); 8 cin>>c; 9 if(s.find(c)!=stri...
分类:
其他好文 时间:
2014-07-02 15:02:48
阅读次数:
257