码迷,mamicode.com
首页 > 2014年12月21日 > 全部分享
类似与google这类的网站打不开
更改host:C:\Windows\System32\drivers\etc\hosts在最后加上74.125.129.98 0.docs.google.com74.125.129.98 0.drive.google.com74.125.129.98 1.docs.google.c...
分类:Web程序   时间:2014-12-21 22:08:09    阅读次数:428
Effective C++ .14 智能指针的拷贝与deleter函数
#include #include #include using namespace std;class Kiwi {private: int weight;public: Kiwi(int w) : weight(w) {} ~Kiwi() { cout p(new...
分类:编程语言   时间:2014-12-21 22:07:54    阅读次数:396
nginx请求体读取(二)
2,丢弃请求体一个模块想要主动的丢弃客户端发过的请求体,可以调用nginx核心提供的ngx_http_discard_request_body()接口,主动丢弃的原因可能有很多种,如模块的业务逻辑压根不需要请求体 ,客户端发送了过大的请求体,另外为了兼容http1.1协议的pipeline请求,模块...
分类:其他好文   时间:2014-12-21 22:07:33    阅读次数:210
问题:No more handles [Could not detect registered XULRunner to use]
下载一个xurlrunner https://developer.mozilla.org/en/XULRunner_1.9.2_Release_Note解压 然后在你的 myeclipse.ini (myeclipse安装目录下有这个文件)最后面加上-Dorg.eclipse.swt.brow...
分类:其他好文   时间:2014-12-21 22:07:05    阅读次数:235
初识hadoop
hadoop 起源涉及到了:lucene,solr,nutch,hadoop@auther ayy@date 2014/12/211、lucene、nutch、solr Lucene是由Doug Cutting创建的一个基于java的全文搜索工具包,它是Apache下一个很有名的项目。主要功能有:....
分类:其他好文   时间:2014-12-21 22:06:05    阅读次数:272
leetcode. Spiral Matrix
Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ],...
分类:其他好文   时间:2014-12-21 22:05:44    阅读次数:221
Python获得文件时间戳
http://zhidao.baidu.com/link?url=wNI9K20mR7-9necxd6zK1bWnBQ-EmuggOzS0JNVZ0G_mpsqN31tI6l3I0j0dyYcAnHuXoQLS6axyv0cB0Yx3cG9dncoIv5N4QEgW7hAfQXi我们通过文件属性的获...
分类:编程语言   时间:2014-12-21 22:06:44    阅读次数:619
Kindeditor上传图片到七牛云存储插件(PHP版)
由于工作需要,要使用第三方存储作为图床,发现七牛云挺不错,又可以免费使用10G的空间,决定先试试。项目中使用的是Kindeditor作为网页编辑器的,七牛云的插件里没有现成的Kindeditor的插件,开始是想看着官方提供的手册,自己开发下,结果不知道是我太笨还是手册太高深,结果愣是没看懂,后来迫于...
分类:Web程序   时间:2014-12-21 22:05:22    阅读次数:136
source $0 & bash $0
bash $0 & source $0
分类:其他好文   时间:2014-12-21 22:07:08    阅读次数:476
BZOJ1449: [JSOI2009]球队收益
题解:戳这里:http://blog.csdn.net/huzecong/article/details/9119741?代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #inclu...
分类:Web程序   时间:2014-12-21 22:05:40    阅读次数:277
POJ 3255 Roadblocks
求次短路#include #include #include #include #include #include #include #include using namespace std;#define INF 0xfffffff#define maxn 5060struct Edge{ ...
分类:数据库   时间:2014-12-21 22:06:19    阅读次数:183
文件流的方式下载文件
//流方式下载 protected void Button4_Click(object sender, EventArgs e) { string fileName = "aaa.zip";//客户端保存的文件名 string filePath = Server.MapPath("DownL...
分类:其他好文   时间:2014-12-21 22:06:47    阅读次数:226
Collection集合总结
一、集合的概述 1、集合的由来 Java是面向对象的语言,而面向对象语言对事物的描述是通过对象体现的,为了方便对多个对象进行操作,我们就必须把这多个对象进行存储。而我们要想存储多个对象,就不能是一个基本的变量,而应该是一个容器类型的变量,而在我们Java的基础知识里,我们有哪些容器类型的呢?答案.....
分类:其他好文   时间:2014-12-21 22:06:25    阅读次数:217
nginx的请求接收流程(一)
今年我们组计划写一本nginx模块开发以及原理解析方面的书,整本书是以open book的形式在网上会定时的更新,网址为http://tengine.taobao.org/book/index.html。本书分析的nginx源码版本为1.2.0,环境为linux,事件处理模型为epoll,大部分分析...
分类:其他好文   时间:2014-12-21 22:06:58    阅读次数:193
hdu 5147 Sequence II (树状数组 求逆序数)
题目链接Sequence IITime Limit: 5000/2500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 331Accepted Submission(s): 151Probl...
分类:编程语言   时间:2014-12-21 22:04:37    阅读次数:296
google api , using a refresh token to get the access token
router.get('/refresh',function(req,res){ oauth2Client.credentials = { refresh_token: '1/RqVyL7yLBxwsCA4h5IzDJuMVcCwX3munQz1ntGyg99I'}; oauth2Client......
分类:数据库   时间:2014-12-21 22:05:36    阅读次数:211
高效的计算Laplacian 矩阵
直接上代码,可以直接调用: function L1 = CP_Laplacian( M ) %UNTITLED Summary of this function goes here % Detailed explanation goes here % number of vertices (size...
分类:其他好文   时间:2014-12-21 22:04:15    阅读次数:289
1104条   上一页 1 ... 8 9 10 11 12 13 14 ... 65 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!