做数据预处理一直用Hardly Wickham的plyr软件包,数据量稍微大点,基本就用data.table软件包。Hardly WickHam的dplyr软件包出来有一段时间了,在性能上又有了更大的提高。为了以后使用,做些笔记。These five functions provide the ba...
分类:
其他好文 时间:
2014-12-07 14:56:33
阅读次数:
130
Go语言是一门开源的编程语言,它的设计目标是能够打造编译简单、执行速度快和可靠的软件。
Go by Example是Go语言的动手学习指南,它的每个例子都带有适当的注释。
这是第十一章节,关于函数(Functions)。未来几个章节都将会是关于函数。...
分类:
其他好文 时间:
2014-12-06 18:19:02
阅读次数:
168
安装完cacti之后图形的标题不显示中文在网上找了一下,需要设置<cacti_path>/lib/functions.php;在此文件中添加一行:setlocale(LC_CTYPE,"zh_CN.UTF-8");然后再刷新一下就可以显示中文了
分类:
其他好文 时间:
2014-12-05 02:03:58
阅读次数:
217
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#settimeinitTime(){yum-y..
分类:
系统相关 时间:
2014-12-02 00:25:59
阅读次数:
319
Chapter 1 Good Parts:JavaScript is an important language because it is the language of the web browser.The very good ideas include functions, loose ty...
分类:
编程语言 时间:
2014-12-01 12:39:07
阅读次数:
287
USE LOL --字符串函数--string functions--ASCLL:从2008版数据库新增,编码与字符串的转换print ascii('abcde')print ascii(' ')--CHAR:将int类型码转换为字符print char (97)--charindex:查找字符串中...
分类:
其他好文 时间:
2014-12-01 10:01:00
阅读次数:
188
在functions.wp-scripts.php下加上以下的代码,可以使用www.xxxx.com/wp-login.php?name=123来访问
add_action('login_enqueue_scripts','login_protection');
function login_protection(){
if($_GET['name'] != '123')he...
分类:
其他好文 时间:
2014-11-30 16:59:28
阅读次数:
216
includes\functions\html_output.php大概323行的zenCssButton函数 function zenCssButton($image = '', $text, $type, $sec_class = '', $parameters = '') { // a...
分类:
Web程序 时间:
2014-11-29 18:54:53
阅读次数:
208
#!/usr/bin/env perl
use warnings;
use strict;
use Getopt::Long;
use FindBin qw($Bin);
use File::Basename qw(basename);
use File::Spec::Functions qw(rel2abs);
##### main program #####
my $mainPL = bas...
分类:
其他好文 时间:
2014-11-29 11:57:36
阅读次数:
218
转载:http://www.th7.cn/Program/c/201303/127343.shtml原因是Visual C++ 2012 使用了更加安全的 run-time library routines 。新的Security CRT functions(就是那些带有“_s”后缀的函数),请参见...
分类:
其他好文 时间:
2014-11-28 14:08:36
阅读次数:
291