注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
启动新会话:
tmux [new -s 会话名 -n 窗口名]
恢复会话:
| #!/bin/zsh --login --errexit | |
| version=$((GITHUB_RUN_NUMBER+version_offset)) | |
| ORGANIZER_ARCHIVE=$(find ~/Library/Developer/Xcode/Archives -name MyApp-$version.xcarchive) | |
| if [[ $ORGANIZER_ARCHIVE ]] | |
| then | |
| echo "::notice::Uploading: $ORGANIZER_ARCHIVE" | |
| else | |
| echo "::error::Archive MyApp-$version.xcarchive not found" | |
| find -s ~/Library/Developer/Xcode/Archives -name \*.xcarchive |
| import 'package:flutter/material.dart'; | |
| import 'theme.dart' as Theme; | |
| void main() { | |
| runApp( | |
| new MaterialApp( | |
| title: 'CompanyApp', | |
| color: Theme.CompanyColors.blue[500], | |
| theme: Theme.CompanyThemeData, | |
| home: new Scaffold( |
| {0: 'tench, Tinca tinca', | |
| 1: 'goldfish, Carassius auratus', | |
| 2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
| 3: 'tiger shark, Galeocerdo cuvieri', | |
| 4: 'hammerhead, hammerhead shark', | |
| 5: 'electric ray, crampfish, numbfish, torpedo', | |
| 6: 'stingray', | |
| 7: 'cock', | |
| 8: 'hen', | |
| 9: 'ostrich, Struthio camelus', |
| server { | |
| listen 80; | |
| server_name example.com www.example.com; | |
| if ($http_x_forwarded_proto = "http") { | |
| return 301 https://$server_name$request_uri; | |
| } | |
| ... directives to generate a response | |
| } |
| // | |
| // _oo0oo_ | |
| // o8888888o | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/`---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / _||||| -:- |||||- \ |
| #!/usr/bin/python | |
| ''' | |
| Author: Igor Maculan - n3wtron@gmail.com | |
| A Simple mjpg stream http server | |
| ''' | |
| import cv2 | |
| import Image | |
| import threading | |
| from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
| from SocketServer import ThreadingMixIn |