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
// ==UserScript== | |
// @name Google 検索に 3, 6 ヶ月以内フィルタを追加 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.google.co.jp/search?* | |
// @grant none | |
// ==/UserScript== |
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
#!/bin/bash | |
# | |
# [Usage] | |
# ./migrate-ssl.sh targets.txt | |
# | |
# [Example of targets.txt] | |
# | |
# hoge.com/public_html/wp |
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
#!/bin/bash | |
shopt -s expand_aliases | |
alias wp='/opt/php-7.1.2/bin/php ~/bin/wp-cli.phar' | |
alias php='/opt/php-7.1.2/bin/php' | |
option_name=$1 | |
option_key=$2 | |
option_value=$3 | |
wp_path=$4 |
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
#!/bin/bash | |
# | |
# [Usage] | |
# ./migrate-ssl.sh targets.txt | |
# | |
# [Example of targets.txt] | |
# | |
# hoge.com/public_html/wp | |
# foo.bar.jp/public_html |
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
#!/bin/bash | |
mkdir bin | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
chmod +x wp-cli.phar | |
mv wp-cli.phar bin/ | |
echo -e "\nalias wp='/opt/php-7.1.2/bin/php ~/bin/wp-cli.phar'" >> ~/.bashrc | |
source ~/.bashrc |
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
<?php | |
$rules = [ | |
'@PSR2' => true, | |
'array_syntax' => [ | |
'syntax' => 'short', | |
], | |
'binary_operator_spaces' => [ | |
'align_double_arrow' => true, | |
'align_equals' => null, |
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
@font-face { | |
font-family: JpSans; | |
font-style: normal; | |
font-weight: 400; | |
font-display: swap; | |
src: local("Hiragino Kaku Gothic ProN"), local("Noto Sans CJK JP Regular"), local("NotoSansCJKJP-Regular"), local("Noto Sans JP Regular"), local("NotoSansJP-Regular"), local("Yu Gothic Medium"), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff2) format('woff2'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff) format('woff'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.otf) format('opentype'); | |
} | |
@font-face { | |
font-family: JpSans; |
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
<?php | |
/** | |
* WordPress の基本設定 | |
* | |
* このファイルは、インストール時に wp-config.php 作成ウィザードが利用します。 | |
* ウィザードを介さずにこのファイルを "wp-config.php" という名前でコピーして | |
* 直接編集して値を入力してもかまいません。 | |
* | |
* このファイルは、以下の設定を含みます。 | |
* |
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
<?php | |
/** | |
* WordPress の基本設定 | |
* | |
* このファイルは、インストール時に wp-config.php 作成ウィザードが利用します。 | |
* ウィザードを介さずにこのファイルを "wp-config.php" という名前でコピーして | |
* 直接編集して値を入力してもかまいません。 | |
* | |
* このファイルは、以下の設定を含みます。 | |
* |