Counting
The Problem
Gustavo knows how to count, but he is now learning how write numbers. As he is a very good student, he already learned 1, 2, 3 and 4. But he didn't realize yet tha...
分类:
其他好文 时间:
2014-07-18 22:04:36
阅读次数:
322
使用sudo参数-E使得 root 用户可以使用普通用户下的环境变量,包括代理设置。jonathan@n:~$ sudo -E add-apt-repository ppa:mitya57/ppa直接在 root 用户下设置代理。jonathan@n:~$ sudo bashroot@n:~# ex...
分类:
其他好文 时间:
2014-07-18 19:13:15
阅读次数:
517
A simple 1D searching problem. Binary search of course.But.. STL has already done it for you:class Solution {public: int searchInsert(int A[], int ...
分类:
其他好文 时间:
2014-07-18 18:35:41
阅读次数:
205
Problem Description
The Czech Technical University is rather old — you already know that it celebrates 300 years of its existence in 2007. Some of the university buildings are old as well. And the ...
分类:
其他好文 时间:
2014-07-18 12:24:56
阅读次数:
217
脑补一下JDBC基础知识,原文链接:http://docs.oracle.com/javase/tutorial/jdbc/basics/gettingstarted.htmlIf you are using Java DB, it already comes with a JDBC driver....
分类:
数据库 时间:
2014-07-18 10:37:40
阅读次数:
248
bool SetWindowTop(CWnd* pWnd){ if(!pWnd) { return false; } if(pWnd->GetExStyle()&WS_EX_TOPMOST) { return true; } else { int i= pWnd->SetWindowPos(&CWn...
分类:
其他好文 时间:
2014-07-18 09:20:33
阅读次数:
180
http://yzxqml.iteye.com/blog/1761540————————————————————————————————————————————————————————————————————————————————Log4j是Apache的一个开放源代码项目,通过使用Log4j,我...
分类:
移动开发 时间:
2014-07-18 09:02:20
阅读次数:
277
昨晚配置完成office web apps 2013的外部网络访问之后,今天发现了一个很奇怪的问题,就是IE 11不支持文档在线浏览,找了很多方法,打补丁什么的,都不管用,最后在预览文件的页面,看到标签,里面有一句代码:
我把他改成了
结果就搞定了
页面地址:C:\Program Files\Common Files\Microsoft Shared\Web Server Ex...
分类:
移动开发 时间:
2014-07-17 19:27:31
阅读次数:
262
错误:
rake aborted!
Gem::LoadError: You have already activated rake 10.3.2, but your Gemfile requires rake 10.1.1. Prepending `bundle exec` to your command may solve this.
解决:
bundle exec rake d...
分类:
其他好文 时间:
2014-07-17 10:31:22
阅读次数:
209
function getImageSize(obj){
var _file=document.getElementById("file");
var i=_file.value.lastIndexOf('.');
var len=_file.value.length;
var extEndName=_file.value.substring(i+1,len);
var ex...
分类:
Web程序 时间:
2014-07-16 14:14:49
阅读次数:
224