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
| <docker.repository.url>harbor.fxb.com:5000</docker.repository.url> | |
| <docker.repository.name>blade</docker.repository.name> | |
| <docker.plugin.version>1.4.13</docker.plugin.version> | |
| <dockerfile.skip>true</dockerfile.skip> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-maven-plugin</artifactId> |
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
| FOR /F "tokens=1-4 DELIMS=/ " %%F IN ('date /T') DO (set v_date=%%F%%G%%H) | |
| FOR /F "tokens=1-4 DELIMS=: " %%F IN ('time /T') DO (set v_time=%%F%%G%%H) | |
| set fname=%v_date%_%v_time%.sql | |
| set mysqldump="C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqldump" | |
| cd C:\database-backup | |
| %mysqldump% -h192.168.1.101 -P3306 -uroot -p123456 test > test_%fname% | |
| forfiles /p %~dp0 /s /m *.sql /d -7 /c "cmd /c del @path" |
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
| docker run | |
| -e PARAMS="--spring.datasource.url=jdbc:mysql://192.168.0.240:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=UTC | |
| --server.port=8080 服务启动窗口 | |
| --spring.datasource.username=root | |
| --spring.datasource.password=123456 | |
| --spring.datasource.driver-class-name=com.mysql.jdbc.Driver | |
| --spring.mail.host=smtp.qq.com | |
| --spring.mail.port=465 | |
| --spring.mail.username=1505455703@qq.com | |
| --spring.mail.from=cron@qq.com |
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.facepay.lovefamily.pay.utils; | |
| /** | |
| * Created by faliny on 2017/8/25. | |
| */ | |
| import cn.hutool.core.date.DateUtil; | |
| import cn.hutool.core.util.RandomUtil; | |
| import com.alibaba.fastjson.JSONObject; | |
| import org.apache.commons.codec.digest.DigestUtils; |
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
| git log --author=fxb --since="3 day ago" --pretty="%s" |
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
| import org.junit.runner.RunWith; | |
| import org.springframework.boot.test.context.SpringBootTest; | |
| import org.springframework.test.context.junit4.SpringRunner; | |
| @SpringBootTest | |
| @RunWith(SpringRunner.class) | |
| public abstract class AbstractIntegrationTest { | |
| } |
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
| call plug#begin() | |
| Plug 'easymotion/vim-easymotion' | |
| Plug 'sbdchd/neoformat' | |
| Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
| Plug 'junegunn/fzf.vim' | |
| Plug 'tpope/vim-surround' | |
| Plug 'jiangmiao/auto-pairs' | |
| Plug 'preservim/nerdtree' | |
| call plug#end() |
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
| { | |
| "inbounds": [ | |
| { | |
| "port": 1080, | |
| "protocol": "socks", | |
| "sniffing": { | |
| "enabled": true, | |
| "destOverride": ["http", "tls"] | |
| }, | |
| "settings": { |
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
| import java.util.*; | |
| public class ShowMeBug { | |
| public static void main(String[] args) { | |
| int data[] = { 5, 4, 3, 2, 1 }; | |
| bubbleSort(data); | |
| System.out.println(Arrays.toString(data)); | |
| } | |
| public static void bubbleSort(int[] arr) { |
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
| proxy-activate() { | |
| export http_proxy='http://127.0.0.1:8118' | |
| export https_proxy=$http_proxy | |
| } | |
| proxy-deactivate() { | |
| unset http_proxy | |
| unset https_proxy | |
| } | |
| alias pa='proxy-activate' | |
| alias pd='proxy-deactivate' |