Homebrew Note

Office site: http://brew.sh/ . Install Just Paste follow at a Terminal prompt: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Usage Example: $ brew install wget What is it? Homebrew installs packages to their own directory and then symlinks their files into /usr/local: $ cd /usr/local $ find Cellar Cellar/wget/1.16.1 Cellar/wget/1.16.1/bin/wget Cellar/wget/1.16.1/share/man/man1/wget.1 $ ls -l bin bin/wget -> ../Cellar/wget/1.16.1/bin/wget Homebrew-Cask Homebrew-Cask extends Homebrew and brings its elegance, simplicity, and speed to the installation and management of GUI macOS applications such as Google Chrome and Adium....

February 5, 2017 · 1 min · Me

Tinkerer Quick Start

Install $ sudo pip install tinkerer Quick start $ mkdir tinkerer_blog $ cd tinkerer_blog $ tinker --setup Then edit the conf.py. Tip Add post: tinker --post 'Hello World!' Add page: tinker --page 'About' Build blog: tinker --build Todo Show local toc in sidebar Reference Tinkerer Homepage: http://tinkerer.me/index.html

February 1, 2017 · 1 min · Me

How to configure iCloud mail in Mozilla Thunderbird

Incoming: Protocol: IMAP Server: imap.mail.me.com Port: 993 SSL: SSL/TLS Authentication: Normal password Outgoing: Protocol: SMTP Server: smtp.mail.me.com Port: 587 SSL: STARTTLS Authentication: Normal password Username for both should just be your actual username “dormouse.young”, not your whole email address.

January 25, 2017 · 1 min · Me

Sublime Text Note

Install Sublime Text3 apt Install the GPG key: wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - Ensure apt is set up to work with https sources: sudo apt-get install apt-transport-https Select the channel to use: Stable: echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list Dev: echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list Update apt sources and install Sublime Text: sudo apt-get update sudo apt-get install sublime-text Install Package Control Office Document: https://packagecontrol....

January 19, 2017 · 2 min · Me

Hugo Quick Start

What is Hugo? Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Website: https://gohugo.io/ DOC: https://gohugo.io/overview/introduction/ Quick start Install For linux plantform, use sudo apt-get install hugo or download the appropriate version for your platform from [Hugo Releases] (https://github.com/gohugoio/hugo/releases). Put file ‘hugo’ into /usr/local/bin . For Mac plantform, use brew update && brew install hugo . If want highlight, need install pygments, use sudo apt-get install python-pygments ....

January 18, 2017 · 3 min · Me