error: RPC failed; result=22, HTTP code = 411fatal:
The remote end hung up unexpectedly解决方法:git config http.postBuffer 524288000
分类:
其他好文 时间:
2014-05-10 01:06:09
阅读次数:
367
安装了win7后,用了oem7f7,没效果,然后每次启动都先出现这样一排英文FATALERROR:oneormoretablepointersareinvalid.ModificationcouldbeunsafePressanytocontinuebooting按了任意键后才能进入系统,后来在oem7f7里面点击卸载,就能正常启动了。
分类:
其他好文 时间:
2014-05-09 14:32:51
阅读次数:
471
usergroupwwwwww;worker_processes8;//进程数,建议设置为等于CPU总核心数error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;pidlogs/nginx.pid;events{worker_connections1024;}http{includemime.types;default_typeapplication/octet-st..
分类:
其他好文 时间:
2014-05-09 14:30:49
阅读次数:
308
循环引用:引用计数是一种便利的内存管理机制,但它有一个很大的缺点,那就是不能管理循环引用的对象。一个简单的例子如下:#include#include#include#includeclassparent;classchildren;typedefboost::shared_ptr
parent_pt...
分类:
其他好文 时间:
2014-05-09 13:01:22
阅读次数:
326
今天早上上班来打开环境,mysql报了这个错误,猜到的原因应该是昨天晚上下班没等mysql服务器退出就关闭计算机。2014-05-09
09:44:25 4128 [ERROR] InnoDB: Attempted to open a previously opened tablespace.
Pr...
分类:
数据库 时间:
2014-05-09 12:50:46
阅读次数:
1089
Html.RenderPartial与Html.RenderAction这两个方法都是用来在界面上嵌入用户控件的。Html.RenderPartial是直接将用户控件嵌入到界面上:或注意:用第一种方法时,用户控件必须放在调用者同一目录下,也可以放在View/Shared中。Html.RenderAc...
分类:
Web程序 时间:
2014-05-09 08:58:42
阅读次数:
270
今天开始和一个认识的学弟刷题。 学弟是个大牛,我还是个菜鸟。嘿嘿。杭电第一题我就wrong了好几次。
1 #include 2 using namespace std; 3 4 int main() 5 { 6 int A = 0,B = 0; 7
while(cin >> A ...
分类:
其他好文 时间:
2014-05-09 07:20:56
阅读次数:
494
$per_len=20000;//每次读多少字节$no_read_len=$content_len;//未读的字节(总字节大小)$str=‘‘;while($len<$content_len){$read=socket_read($socket,$per_len,PHP_BINARY_READ);$str.=$read;$len+=strlen($read);//总共读了多少字节}http://hi.baidu.com/cuttinger/item/..
分类:
Web程序 时间:
2014-05-09 06:45:59
阅读次数:
566
1.把一个 const 对象的地址赋给一个普通的、非 const
对象的指针也会导致编译时的错误:const double pi = 3.14;double *ptr = π // error: ptr is a
plain pointerconst double *cptr = π /...
分类:
编程语言 时间:
2014-05-09 05:39:43
阅读次数:
404
#includeusing namespace std;int main(){ int n =
0, sum; while (cin>>n) { sum = 0; // 这里要清零 for (int i =0; i <= n; i++)
{...
分类:
其他好文 时间:
2014-05-09 05:38:17
阅读次数:
241