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
tree -ACd # 只展示目录 | |
tree -L 2 # 2层目录 | |
-a 显示所有文件和目录。 | |
-A 使用ASNI绘图字符显示树状图而非以ASCII字符组合。 | |
-C 在文件和目录清单加上色彩,便于区分各种类型。 | |
-d 显示目录名称而非内容。 |
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
# swagger-ui-py | |
swagger: "2.0" | |
info: | |
description: "PyRunner分析引擎" | |
version: "2.0.0" | |
title: "PyRunner" | |
basePath: "/" | |
tags: |
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
# -*- coding: utf-8 -*- | |
import multiprocessing | |
from flask import * | |
from Common import RunnerException, ExceptionCode, get_app_logger | |
from pyrunner import ProcessTaskRunner, ThreadTaskRunner, TaskRunner | |
import Info | |
import os | |
import uuid | |
import waitress | |
import threading |
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
adblock plus | |
astar vpn | |
angury --angular开发 | |
todoist | |
clean crxMouse gestures | |
css peeer | |
dualsub youtube双语字幕 | |
droplr 屏幕录屏 | |
EditThisCookie | |
FeHelper 前端助手 |
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
apt-cache search # ------(package 搜索包) | |
apt-cache show #------(package 获取包的相关信息,如说明、大小、版本等) | |
sudo apt-get install # ------(package 安装包) | |
sudo apt-get install # -----(package - - reinstall 重新安装包) | |
sudo apt-get -f install # -----(强制安装?#"-f = --fix-missing"当是修复安装吧...) | |
sudo apt-get remove #-----(package 删除包) | |
sudo apt-get remove - - purge # ------(package 删除包,包括删除配置文件等) | |
sudo apt-get autoremove --purge # ----(package 删除包及其依赖的软件包+配置文件等(只对6.10有效,强烈推荐)) | |
sudo apt-get update #------更新源 | |
sudo apt-get upgrade #------更新已安装的包 |
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
# -*- coding: utf-8 -*- | |
from websocket_server import WebsocketServer | |
import logging | |
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(message)s') | |
log = logging.getLogger('main') | |
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
xxx |
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.apache.commons.lang.exception.ExceptionUtils; | |
public class ExceptionUtil { | |
private static final String SPLIT = ", "; | |
public static String displayException(Throwable e) { | |
StringBuilder stringBuilder = new StringBuilder(); | |
if(ExceptionUtils.getRootCause(e) != null) { |
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
pipeline { | |
agent { label 'xxx' } | |
options { timestamps() } | |
environment { | |
KW_PROJECT_NAME = 'xxx' | |
} | |
stages { | |
stage('Checkout') { | |
steps { |
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
# /etc/profile.d/alias.sh | |
alias vialias='vi /etc/profile.d/alias.sh' | |
alias galias='gedit /etc/profile.d/alias.sh' | |
alias .alias='. /etc/profile.d/alias.sh' | |
# PS1='[\u@\h \W]\$' |