初登場するコマンド: init, add, commit, log, config, status, diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>見出し壱:夏目漱石著『吾輩は猫である』</h1> | |
↑あまり使わないと思う | |
<h2>見出し弐:レオ・レオニ作『スイミー 小さなかしこいさかなのはなし』</h2> | |
<h3>見出し参:あまん きみこ作、上野 紀子絵『ちいちゃんのかげおくり』</h3> | |
<h4>見出し四:モンゴルの民話『スーホの白い馬』</h4> | |
<h5>見出し五:新美南吉作『手袋を買いに』</h5> | |
<h6>見出し六:芥川龍之介著『羅生門』</h6> | |
<h2>引用 (Blockquote) テスト</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -xu | |
RUBY_VERSION=2.4.1 | |
LIBSSL_VERSION=$(dpkg -s libssl1.0.0 | grep -i ^version | awk '{print $2;}') | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install -y software-properties-common python-software-properties vim build-essential git python-setuptools ruby-build libssl-dev=${LIBSSL_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_ascii( $data ) { | |
$ascii = '/[\x08]/'; | |
$data['post_content'] = preg_replace($ascii, '', $data['post_content']); | |
return $data; | |
} | |
add_filter( 'wp_insert_post_data' , 'remove_ascii' , 10, 1); |