Skip to content

Instantly share code, notes, and snippets.

View amliuyong's full-sized avatar

Yong Liu amliuyong

  • AWS.CN
  • Beijing
  • 23:53 (UTC +08:00)
View GitHub Profile
@amliuyong
amliuyong / .screenrc
Created September 16, 2021 01:45 — forked from alexras/.screenrc
My .screenrc file
# Screen Options ##
shell bash # Tell screen your default shell
startup_message off # Turn off start message
defscrollback = 5000
shelltitle '$ |bash' # Dynamic window titled for running program
msgwait 1 # Set messages timeout to one second
nethack on # Turn on nethack error messages
backtick 0 0 0 whoami # Set "%0`" to equal the output of "whoami"
escape ^Oo
@amliuyong
amliuyong / install_xelatex_on_mac.txt
Created July 2, 2021 23:45 — forked from peterhurford/install_xelatex_on_mac.txt
How to install latex and xelatex on Mac so that Jupyter "Download as PDF" will work
brew install pandoc
brew tap homebrew/cask
brew cask install basictex
eval "$(/usr/libexec/path_helper)"
# Update $PATH to include `/usr/local/texlive/2020basic/bin/x86_64-darwin`
sudo tlmgr update --self
sudo tlmgr install texliveonfly
sudo tlmgr install xelatex
sudo tlmgr install adjustbox
sudo tlmgr install tcolorbox