Skip to content

Instantly share code, notes, and snippets.

View yuikns's full-sized avatar

Yu yuikns

  • 02:30 (UTC +08:00)
View GitHub Profile
# 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
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!
#include <stdio.h>
#include <stdlib.h> // malloc
#include <string.h> // memset
#include <time.h> // shuffle
// dest : 被找出的数字存储的数组
// src : 被shuffle并取走数字的数组
// len : src数组的长度
// return : dest有效内容长度
@yuikns
yuikns / puias.repo
Last active November 25, 2018 14:37
# 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
/**********************************************************************
Author: Sherlock
Created Time: 2008-10-28 16:24:47
File Name:
Description:
**********************************************************************/
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <algorithm>
-Xmx350g
-Xms100g
-XX:+UseConcMarkSweepGC
-XX:ParallelCMSThreads=16
-XX:ParallelGCThreads=16
links :
https://github.com/sharelatex/sharelatex/wiki/Production-Installation-Instructions
https://github.com/sharelatex/sharelatex/wiki/Setting-up-a-Development-Environment
link to mongodb with username & password :
https://github.com/sharelatex/sharelatex/issues/167
not compile :
https://github.com/LaTeXing/LaTeXing/issues/37
you need a latexmk version >= 4.39
37.221.161.235
66.240.236.119
71.6.135.131
71.6.167.142
77.247.181.162
77.247.181.164
77.247.181.165
79.134.235.5
94.126.178.1
94.242.246.23
#------------------------------------------------------------------------------
#
# Copyright (C) 2010 Artem Rodygin
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
## use sense
enroll :
POST /auth/enroll
{
"name" : "yu",
"email" : "[email protected]",
"dname" : "Yu Jing",
"password" : "123456",
"title" : "nothing ",