Qifei9

Stay Curious, Keep Exploring


  • Home

  • About

  • Tags

  • Archives

  • Search

Remove seconds in uptime of powerline tmux

Posted on 2018-08-06

In ~/.config/powerline/themes/tmux, create default.json with the following content:

Read more »

Output directory of CUPS-PDF-Printer

Posted on 2018-08-01

The output directory of the CUPS-PDF-Printer is set in /etc/cups/cups-pdf.conf. The default directory is /var/spool/cups-pdf/${USER}. Set it like Out ${HOME}.

Read more »

Notes for vim

Posted on 2018-07-26 | Edited on 2018-07-31

Some notes for vim, actually neovim.

Read more »

SpaceVim从尚未入门到放弃

Posted on 2018-07-25

从昨天开始,又折腾了一下neovim的配置,这次尝试了一下SpaceVim。用下来以后感觉SpaceVim确实是一个很不错的vim配置框架,但是由于一些问题,我最终还是放弃了它。在此记录一下。

Read more »

Notes for Linux

Posted on 2018-07-24

Some notes for Linux

Read more »

Notes for R

Posted on 2018-07-24

Some notes for R.

Read more »

Enhancing ggplot2

Posted on 2018-07-23

Enhancing ggplot2 with:

  • ggpubr
  • ggthemr
  • ggthemes
  • ggsci
  • ggtech
Read more »

To use Tex Live within tinytex

Posted on 2018-07-23 | Edited on 2018-07-28
  1. Just uninstall TinyTex is enough to use other installed LaTeX distribution.
  2. To uninstall TinyTex:

    1
    2
    3
    rm -rf ~/.TinyTex
    rm -rf ~/bin # or just remove the links in ~/bin
    # remove ~/bin from $PATH
  3. To use latexmk instead of tinytex’s emulation:

    1
    2
    > options(tinytex.latexmk.emulation = FALSE)
    > bookdown::render_book("./index.Rmd","bookdown::pdf_book")
Read more »

chmod设置当前路径下所有文件和目录的权限

Posted on 2018-07-23

目录权限设为755,文件权限设为644:

1
2
find ./ -type d | xargs -i chmod 755 {} # dir
find ./ -type f | xargs -i chmod 644 {} # file
Read more »

Sort and rename facet labels in ggplot2

Posted on 2018-07-19

使用ggplot2作图时,对facet的label进行排序和重命名。

Read more »
123
qifei9

qifei9

21 posts
9 tags
RSS
Creative Commons
0%
© 2018 qifei9
Powered by Hexo
|
Theme — NexT.Gemini