sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
# 快速切换 workspace | |
# quick switch workspace next|pre | |
bindsym $mod+Ctrl+Right workspace next | |
bindsym $mod+Ctrl+Left workspace prev | |
# 修复不透明 bug 需要安装 compton | |
exec_always compton -f |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv
instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9
set nu | |
set nocompatible " be iMproved, required | |
filetype off " required | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
" set the runtime path to include Vundle and initialize |
import functools | |
import tempfile | |
import os | |
import glob | |
import urllib | |
from threading import Timer | |
import sublime | |
import sublime_plugin |