通过 CE-LINK 的 type-c 转 DP 接口与 DELL U2515 H 显示器连接,通过耳机口连接耳机。
猜测与 HandOff 功能有关,通过关闭蓝牙已解决。
在 .zshrc
文件添加以下行:
bindkey "^[^[[D" backward-word # bind ``option ←``
bindkey "^[^[[C" forward-word # bind ``option →``
其中 ^[^[[D
是我运行 cat
后按 option + ←
的输出结果。
参考:http://stackoverflow.com/questions/12382499/looking-for-altleftarrowkey-solution-in-zsh
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
#!/bin/sh | |
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
# CREATE block and create them in separate commands _after_ all the INSERTs. | |
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
# The mysqldump file is traversed only once. | |
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
for i in $( seq -f "%03g" 1 151 ) | |
do | |
wget http://assets.pokemon.com/assets/cms2/img/pokedex/full/$i.png | |
done |
GitBook 没有自动识别代码类型,指定代码类型后就可以根据语言语法高亮了,比如:
```html
<div class="some-div"></div>
```
的结果是:
root = true | |
[*] | |
charset = utf-8 | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true |