码迷,mamicode.com
首页 >  
搜索关键字:unable to set localhost    ( 74051个结果
Apache Module mod_reqtimeout
Apache Module mod_reqtimeoutAvailable Languages:enDescription:Set timeout and minimum data rate for receiving requestsStatus:ExtensionModuleIdentifier...
分类:其他好文   时间:2014-05-19 19:31:41    阅读次数:310
30天轻松学习javaweb_tomcat的虚拟目录设置
1.在server.xml文件的前面加入。需要重新启动Tomcat才能生效。如果是将覆盖成缺省目录,则路径是 http://localhost:8080/1.htmlhttp://localhost:8080/ 下原来的Tomcat主页将被覆盖。2.在conf\Catalina\localhost目...
分类:编程语言   时间:2014-05-19 19:07:14    阅读次数:295
box2d——1.tiles瓦片积木
【调试渲染】   将TestCpp里Box2DTestBed的GLES-Render.h/cpp添加到项目中,声明绘制变量:GLESDebugDraw mDebugDraw。 【创建世界】   // 根据重力创建世界 b2Vec2 gravity; gravity.Set(0.0f, -10.0f); mWorld = new b2World(gravity); // 设置调试...
分类:其他好文   时间:2014-05-18 14:58:02    阅读次数:316
LeetCode: Generate Parentheses [021]
【题目】 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()(())", "()()()" 【题意】 给定n对括号,输出所有可行的括号组合字符串。所谓合法,就是可以Valid Pare...
分类:其他好文   时间:2014-05-18 09:06:41    阅读次数:266
算法学习知识点
ACMer 必备知识(这么多呀,慢慢学了……   图论       路径问题   0/1 边权最短路径 BFS   非负边权最短路径(Dijkstra)   (可以用 Dijkstra 解决问题的特征)   负边权最短路径   Bellman-Ford   Bellman-Ford 的 Yen...
分类:其他好文   时间:2014-05-18 09:00:32    阅读次数:245
一段tricky code
Wrote by mutouyun. (http://darkc.at/a-tricky-code/) 刚刚在网上闲逛,看到reddit上关于最受欢迎的代码的讨论贴,上面有一小段非常有意思的代码: unsigned int v; // to count the number of bits set in v unsigned int c; // c accumulates the ...
分类:其他好文   时间:2014-05-18 07:44:31    阅读次数:284
SQL两表之间:根据一个表的字段更新另一个表的字段
1. 写法轻松,更新效率高: update table1 set field1=table2.field1, field2=table2.field2 from table2 where table1.id=table2.id   2. 常规方式,种写法相当于一个 Left join, 以外面的where为更新条数,如果不加where就是所有记录 update table1 s...
分类:数据库   时间:2014-05-18 06:05:00    阅读次数:294
编写.ini文件
from ConfigParser import RawConfigParser as rcp if __name__ == "__main__": cfg = rcp() cfg.add_section("Info") cfg.set("Info", "ImagePath", "f:/whu") cfg.set("Info", "foo", "cd'...
分类:其他好文   时间:2014-05-18 05:58:51    阅读次数:284
使用时间类处理时间问题
定义一个时间类 class Time//时间类 { public: void set_time( );//设置时间 void show_time( );//显示时间 int add_a_sec();//增加1秒 int add_a_minute();//增加1分钟 int add_a_hour();//增加1个小时 int add_seconds(int n);//增...
分类:其他好文   时间:2014-05-18 04:33:46    阅读次数:294
在fragment中显示对话框出现异常
异常类型为:android.view.WindowManager$BadTokenException: Unable to add window 我在fragment中public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {中试图调用对话框静态工...
分类:其他好文   时间:2014-05-18 04:27:35    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!