可以使用byobu代替screen,配合tmux使用
F2 创建新的窗口
shift+F2生成水平分隔
ctrl+F2生成垂直分隔
ctrl+shift+F2生成新会话
F3 回到先前窗口
F4:跳到下一个窗口
shift+F3在一个窗口的分隔中回到上一个子窗口,可循环
| package main | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| "sort" | |
| "time" | |
| ) | |
| type S []int |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| "sort" | |
| "strings" | |
| ) |
| package main | |
| import ( | |
| "flag" | |
| "log" | |
| "strconv" | |
| "net/http" | |
| ) | |
| var code = flag.Int("c", 200, "code") |
可以使用byobu代替screen,配合tmux使用
F2 创建新的窗口
shift+F2生成水平分隔
ctrl+F2生成垂直分隔
ctrl+shift+F2生成新会话
F3 回到先前窗口
F4:跳到下一个窗口
shift+F3在一个窗口的分隔中回到上一个子窗口,可循环
| echo "blacklist acer_wmi" | sudo tee -a /etc/modprobe.d/blacklist.conf |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| var allItems = []testItemType{ | |
| {bson.M{}, | |
| ""}, | |
| {bson.M{"_": float64(5.05)}, | |
| "\x01_\x00333333\x14@"}, | |
| {bson.M{"_": "yo"}, | |
| "\x02_\x00\x03\x00\x00\x00yo\x00"}, | |
| {bson.M{"_": bson.M{"a": true}}, | |
| "\x03_\x00\x09\x00\x00\x00\x08a\x00\x01\x00"}, | |
| {bson.M{"_": []interface{}{true, false}}, |
| alias fgo='find . -name "*.go" -type f | xargs -I {} grep {} ~/empty -i --color=auto -n -e ' |
| #!/usr/bin/env python | |
| # coding=utf-8 | |
| import urllib | |
| import BeautifulSoup | |
| import sys | |
| import Queue | |
| import threading | |
| import logging |
| #!/usr/bin/env python | |
| # coding=utf-8 | |
| import os | |
| from mutagen.mp3 import MP3 | |
| from mutagen.easyid3 import EasyID3 | |
| dir = "/home/ma6174/Music/" | |
| for i in os.listdir(dir): | |
| real_path = dir + i | |
| id3info = MP3(real_path, ID3=EasyID3) |