Skip to content

Instantly share code, notes, and snippets.

View sweetpotatoman's full-sized avatar
🌈
gogogo

potato sweetpotatoman

🌈
gogogo
View GitHub Profile
@sweetpotatoman
sweetpotatoman / tmux-cheatsheet.markdown
Created June 10, 2020 03:10 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表 & 简明教程

注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。

Tmux 快捷键 & 速查表 & 简明教程

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

@sweetpotatoman
sweetpotatoman / Jenkinsfile
Created May 20, 2019 15:52 — forked from tonespy/Jenkinsfile
Jenkins Pipeline Jenkinsfile
// Every jenkins file should start with either a Declarative or Scripted Pipeline entry point.
node {
//Utilizing a try block so as to make the code cleaner and send slack notification in case of any error
try {
//Call function to send a message to Slack
notifyBuild('STARTED')
// Global variable declaration
def project = 'sa-android'
def appName = 'Sample App'