curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
This file contains hidden or 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
<form> | |
<input type="text" id="bank_code" placeholder="0001" max="9999" maxlength="4" min="0" autofocus> | |
<input type="text" id="bank_name" placeholder="みずほ" disabled> | |
<input type="text" id="branch_code" placeholder="001" maxlength="3" min="0" max="999"> | |
<input type="text" id="branch_name" placeholder="東京営業部" disabled> | |
</form> |
This file contains hidden or 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
<form> | |
<input type="text" class="form-control" id="postcode" placeholder="1600023" maxlength="7" autofocus> | |
<input type="text" class="form-control" id="address" placeholder="" disabled> | |
</form> |
This file contains hidden or 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
#%RAML 0.8 | |
--- | |
title: Postcode API | |
baseUri: http://postcode.teraren.com/ | |
/postcodes.json: | |
get: | |
queryParameters: | |
page: | |
displayName: Page number | |
type: number |
This file contains hidden or 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
- 要件1:カード会員データを保護するために、ファイアウォールをインストールして構成を維持する: | |
- 1.1 以下の項目を含むファイアウォールおよびルーター構成基準を確立し、実装する。: | |
- 1.1 ファイアウォール/ルーター構成基準および以下で指定されたその他文書を検査し、標準が完全で、以下のように実施されていることを確認する。 | |
- 1.1.1 すべてのネットワーク接続およびファイアウォール/ルーター構成への変更を承認およびテストする正式なプロセス: | |
- 1.1.1.a 文書化された手順を調べて、すべてをテストし承認する正式なプロセスがあることを確認する。\n・ネットワーク接続\n・ファイアウォール/ルーター構成への変更 | |
- 1.1.1.b ネットワーク接続のサンプルでは、責任者をインタビューし、記録を検査してネットワーク接続が承認されてテストされていることを確認する。 | |
- 1.1.1.c ファイアウォールおよびルーター構成に実際に加えられた変更のサンプルを特定し、変更記録と比較して、責任者をインタビューして変更が承認されテストされたことを確認する。 | |
- 1.1.2 ワイヤレスネットワークなど、カード会員データへのすべての接続を示す最新ネットワーク図: | |
- 1.1.2.a ネットワーク図を検査してネットワーク構成を観察し、現在のネットワーク図が存在すること、また、その文書がワイヤレスネットワークを含む、カード会員データへの全接続を含んでいることを確認する。 | |
- 1.1.2.b 責任者をインタビューして、図が最新のものであることを確認する。 |
This file contains hidden or 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
% diff yaml2.yaml yaml3.yml | |
282c282 | |
< - 6.7 セキュアシステムとアプリケーションを開発・保守するためのセキュリティポリシーと操作手順が文書化されて使用されており、影響を受ける関係者全員に知られていることを確認する。 | |
--- | |
> - 6.7 セキュアシステムとアプリケーションを開発・保守するためのセキュリティポリシーと操作手順が文書化されて使用されており、影響を受ける関係者全員に知られていることを確認する。: | |
578c578 | |
< - 12.3 重要なテクノロジに関する使用ポリシーを作成して、これらのテクノロジの適切な使用を定義する\n注: 重要なテクノロジの例には、リモートアクセスおよびワイヤレステクノロジ、ノートパソコン、タブレット、リムーバブル電子メディア、電子メールの使用、インターネットの使用がありますが、これらに限定されません\nこれらの使用ポリシーで以下を要求することを確認する。 | |
--- | |
> - 12.3 重要なテクノロジに関する使用ポリシーを作成して、これらのテクノロジの適切な使用を定義する\n注: 重要なテクノロジの例には、リモートアクセスおよびワイヤレステクノロジ、ノートパソコン、タブレット、リムーバブル電子メディア、電子メールの使用、インターネットの使用がありますが、これらに限定されません\nこれらの使用ポリシーで以下を要求することを確認する。: | |
656c656,657 |
This file contains hidden or 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
require 'benchmark' | |
require 'redis' | |
require 'securerandom' | |
hosts = { | |
:docker => { :host => '172.17.8.102', :port => 6379 }, | |
:virtualbox => { :host => '33.33.11.10', :port => 6379 }, | |
} | |
hosts.each do |key, host| |
This file contains hidden or 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/ruby | |
100.times do |i| | |
number_s = sprintf("%05d", i).to_s | |
begin | |
puts sprintf("%05d", number_s) | |
rescue => e | |
puts e | |
end |
This file contains hidden or 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
# Tig default configuration | |
# | |
# Please see 'man tigrc' for a complete reference. | |
# Settings | |
# -------- | |
# Most of these settings can be toggleable, either via the toggle-* | |
# actions or via the option menu (bound to `o` by default). | |
# View settings |
This file contains hidden or 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
# Tig default configuration | |
# | |
# Please see 'man tigrc' for a complete reference. | |
# Settings | |
# -------- | |
# Most of these settings can be toggleable, either via the toggle-* | |
# actions or via the option menu (bound to `o` by default). | |
# View settings |