码迷,mamicode.com
首页 >  
搜索关键字:must use utf-8 charset    ( 45998个结果
mysql 主从复制常见错误
Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replicati...
分类:数据库   时间:2014-07-22 22:59:53    阅读次数:614
Conceptual blockbusting--chap6 Alternate thinking languages
The well-armed problem-finder/solver is fluent in many mental languages and is able to use them interchangeably to record information, communicate wit...
分类:其他好文   时间:2014-05-01 20:13:44    阅读次数:433
Keyboard input
Keyboard inputPython provides a build-in function called raw_input (in version 2.x) that gets input from the keyboard. In Python 3.x we use input(). W...
分类:其他好文   时间:2014-05-01 19:23:26    阅读次数:392
thinkphp的分页格式自定义
public function index(){         header('Content-Type:text/html;charset=utf-8 '); $M = M("Constant");           $count = $M->where($where)->count();           import("ORG.Util.Page"); // 导入分页类   ...
分类:Web程序   时间:2014-04-30 22:27:39    阅读次数:343
php的curl获取https加密协议请求返回json数据进行信息获取
header("Content-type:text/html; charset=utf-8"); function getToken($url){         $ch = curl_init();  curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);   //相当关键,这句话是...
分类:Web程序   时间:2014-04-30 22:16:40    阅读次数:373
用perl对字符串进行全角转半角操作
#全角转半角 #ljl use Encode; sub CheckSBC { my ($name)=@_; my @character; my $tmpname=$name; my $headname; my $k=0; for($ii=1; $ii 0) { my $he...
分类:其他好文   时间:2014-04-29 13:36:21    阅读次数:366
Perl生成excel文件
#生成excel #ljl use Spreadsheet::WriteExcel; my %us; while(($key, $value) = each %us){ print "$key|$value\n"; } # 创建一个新的EXCEL文件 my $workbook = Spreadsheet::WriteExcel->new('poi_count_top15....
分类:其他好文   时间:2014-04-29 13:33:21    阅读次数:327
#include<bits/stdc++.h>包含C++的所有头文件
参考博客:http://blog.kuoe0.tw/posts/2014/01/31/install-gnu-gcc-on-os-x-and-use-the-header-bits-stdcplusplus-h-and-policy-based-data-structure 做CF看见别人用这个函数,然后就能直接用vector,set,string那些函数了,摸不着头脑,感觉特神奇就百度了一下,...
分类:编程语言   时间:2014-04-29 13:32:22    阅读次数:433
STL 之 map 源码剖析
/* * * Copyright (c) 1994 * Hewlett-Packard Company * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, ...
分类:其他好文   时间:2014-04-29 13:28:21    阅读次数:398
leetcode day5 -- Reorder List && Linked List Cycle II
1、 ?? Reorder List  Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For example, Given {1,2...
分类:其他好文   时间:2014-04-29 13:16:21    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!