This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Xmx350g | |
-Xms100g | |
-XX:+UseConcMarkSweepGC | |
-XX:ParallelCMSThreads=16 | |
-XX:ParallelGCThreads=16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************************** | |
Author: Sherlock | |
Created Time: 2008-10-28 16:24:47 | |
File Name: | |
Description: | |
**********************************************************************/ | |
#include <cstdio> | |
#include <cstring> | |
#include <cstdlib> | |
#include <algorithm> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ref : http://springdale.math.ias.edu/wiki/YumRepositories6 | |
# to impport gpg-key , you should : | |
# curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-puias http://springdale.math.ias.edu/data/puias/7/x86_64/os/RPM-GPG-KEY-puias | |
# or : | |
# rpm --import http://springdale.math.ias.edu/data/puias/7/x86_64/os/RPM-GPG-KEY-puias | |
# additional , you may also use : | |
# curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-springdale http://springdale.math.ias.edu/data/puias/7/x86_64/os/RPM-GPG-KEY-springdale | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> // malloc | |
#include <string.h> // memset | |
#include <time.h> // shuffle | |
// dest : 被找出的数字存储的数组 | |
// src : 被shuffle并取走数字的数组 | |
// len : src数组的长度 | |
// return : dest有效内容长度 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME some other information shows here | |
FLAG aaa bbb cccb infoHello | |
INTRO some other info shows here | |
FLAG xxx yyy zzz infoWorld | |
FLAG zzz zzz zzz info! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ALL<DEBUG<INFO<WARN<ERROR<FATAL<OFF | |
log4j.rootLogger=ALL,info,console | |
# ConsoleAppender,FileAppender,DailyRollingFileAppender,RollingFileAppender,WriteAppender,JDBCAppender | |
log4j.appender.info=org.apache.log4j.DailyRollingFileAppender | |
# file path | |
log4j.appender.info.File=lo4j.log | |
#HTMLLayout,SimpleLayout,TTCCLayout,PatternLayout | |
log4j.appender.info.layout=org.apache.log4j.PatternLayout | |
#log4j.appender.info.MaxFileSize=100KB | |
#log4j.appender.info.MaxBackupIndex=10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
《中国科学》杂志社有限责任公司 China science publishing & media Ltd. | |
安徽财经大学 Anhui University of Finance & Economics | |
安徽大学 Anhui University | |
安徽工程大学 Anhui Polytechnic University | |
安徽工程科技学院 Anhui University of Technology and Science | |
安徽工业大学 Anhui University of Technology | |
安徽建筑工业学院 Anhui University of Architecture | |
安徽科技学院 Anhui Science and Technology University | |
安徽理工大学 Anhui University of Science and Technology | |
安徽农业大学 Anhui Agricultural University |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def rand_digit_str(len): | |
import string | |
import random | |
return "".join([random.choice(string.digits) for n in xrange(len)]) | |
def sub_dir(): | |
return rand_digit_str(4) + "/" + rand_digit_str(4) + "/" + rand_digit_str(4) + "/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: WP-UserAgent | |
Plugin URI: http://kyleabaker.com/goodies/coding/wp-useragent/ | |
Description: A simple User-Agent detection plugin that lets you easily insert icons and/or textual web browser and operating system details with each comment. | |
Version: 1.0.4 | |
Author: Kyle Baker | |
Author URI: http://kyleabaker.com/ | |
//Author: Fernando Briano | |
//Author URI: http://picandocodigo.net |