我的写作工具链

摘要

工欲善其事,必先利其器

Question

  • Hexo g 失败【Uncaught SyntaxError: Invalid or unexpected token】:临时办法-复制到Editplus查看乱码
  • OmniFouse: 项目和上下文分类设置还比较混乱,有待重构
  • Ulysses:多种样式效果不佳(图片连接、代码块)
  • 编辑发布流程:目前的方式(local->Blog(markdown),review->微信公众号),内容粘贴到公众号编辑器还需要比较多手工处理,未统一微信发布内容样式表。
  • Mac:如何设置左手 <- -> 方向键 ? (右手仍然需要鼠标的情况下)
  • PPT:vm win下正常,mac下英文字母乱码
  • Texture:一个优雅的开源学术论文书写工具
  • Classic Papers:谷歌学术推出“经典论文”排行
  • 失效链接(图片、外部链接)自动检测

History

v6 ( Current )

项目管理-网络规划技术(以OmniPlan为例)

  • 构思中
  • 需要单独写一篇文章

LaTex 语法:全面增强数学公式支持

  • add Atom plugin : markdown-preview-enhanced [预览、提纲、公式增强]
  • add hexo kramed replace hexo marked,enable mathjax
  • Latex Style 单行公式: $s=a+b$
  • Latex Style 多行公式:

$$\frac{\partial u}{\partial t}
= h^2 \left( \frac{\partial^2 u}{\partial x^2} +
\frac{\partial^2 u}{\partial y^2} +
\frac{\partial^2 u}{\partial z^2}\right)$$

Styled Terminal Markdown Viewer

mdv 在终端下渲染出 Markdown 文档的样式,包含多个主题、支持表格、源代码高亮显示、文件更改监视等功能。

1
$ pip install mdv

v5:20181124

add hexo theme Cafe

  • fix hexo search feature -> google search
  • add gitment comment
    -
  • auto syn workflow: from riboseyim.github.io to project riboseyim.com
  • add Xmind replace MindManager,201807
  • add slides maker:landslide | 试用 hacker slides
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 主题
$ git clone https://github.com/giscafer/hexo-theme-cafe.git themes/cafe

# 素材链接替换
$ grep 'clouddn.com' ./*.md | awk -F '(' '{print $2}' | awk -F '.com' '{print $1}' > oldomain.log
$ sort -n oldomain.log | uniq > oldomin.list
http://o8m8ngokc.bkt.clouddn.com
http://og2061b3n.bkt.clouddn.com
http://ogtqvs10n.bkt.clouddn.com
http://okkuj60pj.bkt.clouddn.com
http://omaxozji3.bkt.clouddn.com
http://omb2onfvy.bkt.clouddn.com
http://ombx24fbq.bkt.clouddn.com
http://osgiyhxhy.bkt.clouddn.com
http://ot6idm48o.bkt.clouddn.com
http://p11slcnom.bkt.clouddn.com

$ gsed -e "s/old/new/g" sourcefile > targetfile
1
$ landslide Machine-Learning-Algorithms.md -i -o > test.html && open test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## pip 安装
$ sudo pip install landslide
The directory '/Users/yanrui/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/yanrui/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting landslide
Requirement already satisfied: Markdown in /usr/local/lib/python2.7/site-packages (from landslide) (2.6.11)
Requirement already satisfied: Jinja2 in /usr/local/lib/python2.7/site-packages (from landslide) (2.10)
Requirement already satisfied: docutils in /usr/local/lib/python2.7/site-packages (from landslide) (0.14)
Requirement already satisfied: Pygments in /usr/local/lib/python2.7/site-packages (from landslide) (2.2.0)
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages (from landslide) (1.11.0)
Requirement already satisfie