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
| package com.jayxhj.util; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.concurrent.Callable; | |
| import java.util.concurrent.CompletionService; | |
| import java.util.concurrent.ExecutionException; |
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
| #!/bin/bash | |
| # 变量初始化 | |
| biFile=$1 | |
| file=$2 | |
| date=$3 | |
| # 插入时间,为运行的文件日期往后一天 | |
| insert_time=$(date +"%Y-%m-%d 00:10:05" -d "$date + 1 day") |
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
| class Solution { | |
| /** | |
| * 先计算差集,再根据差集里相同的长度,得到全排列的值,累计相加 | |
| */ | |
| public int solution(int[] A) { | |
| // write your code in Java SE 8 | |
| int arithmeticNum = 0; | |
| // 长度 | |
| int length = A.length; |
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
| #!/bin/sh | |
| dir_root='/data/home/xuhaojie01_58/www/ganji/ganji_online/' | |
| dires=$(ls -l ${dir_root} | awk '{if($9 != "") print $9}') | |
| for dir in ${dires} | |
| do | |
| dir_path=${dir_root}/${dir} | |
| echo "svn up ${dir_path} start" | |
| svn up ${dir_path} | |
| echo "svn up done" |
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
| [isayme] | |
| text(bold)=eaeaea | |
| magenta(bold)=ff00ff | |
| text=ffffff | |
| white(bold)=eaeaea | |
| green=00c000 | |
| red(bold)=d20000 | |
| green(bold)=00ff00 | |
| black(bold)=808080 | |
| red=c00000 |