注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
启动新会话:
tmux [new -s 会话名 -n 窗口名]
恢复会话:
> {{ highlight_text }} | |
date:: [[{{highlight_date}}]] \ | |
{% if highlight_location_url %}location:: {{highlight_location_url}}{% elif highlight_location %}location:: {{highlight_location}}{% endif %} \ | |
{% if highlight_note %} | |
{{ highlight_note }} | |
{% endif %} | |
--- |
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
sudo rm -rf /usr/local/share/vim | |
sudo rm /usr/bin/vim | |
sudo mkdir /usr/include/lua5.1/include | |
sudo cp /usr/include/lua5.1/*.h /usr/include/lua5.1/include/ |
on write_to_file(this_data, target_file, append_data) | |
try | |
set the target_file to the target_file as string | |
set the open_target_file to open for access file target_file with write permission | |
if append_data is false then set eof of the open_target_file to 0 | |
write this_data to the open_target_file starting at eof | |
close access the open_target_file | |
return true | |
on error | |
try |
import pandas as pd | |
import sys | |
if __name__ == '__main__': | |
df = pd.read_csv(sys.argv[1]) | |
new = df[['Start time', 'End time', 'Description', 'Project', 'Duration']] | |
new.to_html('time_entries.html') | |
.markdown-here-wrapper { | |
font-size: 16px; | |
line-height: 1.8em; | |
letter-spacing: 0.1em; | |
} | |
pre, code { | |
font-size: 14px; | |
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; |
/* *********************************************** | |
Author :xiang578 | |
Email :[email protected] | |
Created Time :Thu Jan 25 19:59:52 2018 | |
File Name :markdown-lists-create.cpp | |
************************************************ */ | |
#include <stdio.h> | |
#include <string.h> | |
#include <iostream> |