Basic usage:
{{< figure src="path/to/image.png" >}}
add figcaption:
{{< figure src="path/to/image.png" caption="figure caption" >}}
set width:
{{< figure src="path/to/image.png" caption="figure caption" width="500" >}}
Basic usage:
{{< figure src="path/to/image.png" >}}
add figcaption:
{{< figure src="path/to/image.png" caption="figure caption" >}}
set width:
{{< figure src="path/to/image.png" caption="figure caption" width="500" >}}
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>list-style</title> | |
<style> | |
p > code { | |
padding-left: 0.5rem; | |
} |
{{< gist username document_name >}}
set d to (do shell script "d=`date +%s`;echo ${d:(-4)}") | |
set the clipboard to d |
on run {input, parameters} | |
tell application "Terminal" | |
activate | |
tell front document | |
do script "cd " & input & "; subl ." | |
end tell | |
end tell | |
return input |
サイトのすべてのファイルを http://www.example.com にリダイレクトする。ただし、dir1ディレクトリ以下は除外する(リダイレクトしない)。
RedirectMatch 301 "^/((?!dir1).*)$" http://www.example.com/
除外するディレクトリが複数ある場合、たとえばdir1だけでなくdir2以下も除外するときはこうする。
RedirectMatch 301 "^/((?!(dir1|dir2)).*)$" http://www.example.com/
# Output installed packages list in terminal(less) | |
$ dpkg --get-selections | less | |
# or if you want to output into text file, do like this. | |
$ dpkg --get-selections > installed.txt |