クレジットカード番号には法則があり、先頭6桁でカードの種類を識別、分類することができる。
詳細はISO/IEC 7812で規定されている。
ISO/IEC 7812 - Wikipedia https://ja.wikipedia.org/wiki/ISO/IEC_7812
先頭の6桁を銀行識別番号(Bank Identification Number、略称:BIN)ないしは発行者識別番号(Issuer Identification Number、略称:IIN)と呼び、この先頭6桁でカード発行会社(イシュア、issuer)が判るようになっている。
- https://trello.com/b/iuskDHXt/komanda-board
- https://trello.com/b/whv5gtuj/tpt-pin-planner
- https://trello.com/b/1KRMaYUN/bullet-journal-companion-template-
- https://trello.com/b/KQxSg1jW/gs
- https://trello.com/b/4CyRXDgL/demo-m20170600166-logistic
- https://trello.com/b/fpYBRlzg/demo
- https://trello.com/b/EAnzdYGO/sales-team-resources
- https://trello.com/b/51WsEhtE/feature-requests
- https://trello.com/b/yrJ4Ek5D/new-website
- https://trello.com/b/dPSxk29R/bible-checklist
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
# dockerコンテナの場合は手動で立ち上げて、そのコンテナにexecで入ってローカルに接続して変更する | |
ALTER USER 'root'@'localhost' IDENTIFIED with caching_sha2_password BY 'xxxxxxxxx' | |
ALTER USER 'root'@'%' IDENTIFIED with caching_sha2_password BY 'xxxxxxxxx' | |
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
$ wp post list| awk '{print $1} '| xargs -n 1 -I XXX wp post delete XXX --force |
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
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs |
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 ruby | |
message_file = ARGV[0] | |
message = File.read(message_file, :encoding => Encoding::UTF_8) | |
# remove prefix issue number like [#1234] from COMMIT_EDITMSG | |
message = message.sub(/^\[#[0-9A-Za-z_].*\]/, "") | |
# remove comment | |
message = message.gsub(/^#(?! ------------------------ >8 ------------------------).*\n|^\n/, "") |
https://github.com/coderabbitai/ai-pr-reviewer を利用したOpenAIによるコードレビュー。
使い方は、このファイルを保存して、OPENAI_API_KEYにAPIキーを設定するだけ。
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
document.getElementById('s').addEventListener('keyup', async (e) => { | |
if (e.key !== 'Enter') return; | |
const s = e.target.value; | |
const corporateInfoUrl = `https://corporation.teraren.com/corporations.json?s=${s}`; | |
try { | |
const corporateResponse = await fetch(corporateInfoUrl); | |
const { items: [corporateData] } = await corporateResponse.json(); |
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
document.getElementById('postcode').addEventListener('keyup', function(e) { | |
if (!e.key.match(/[0-9]/)) return; | |
const postcode = e.target.value; | |
if (postcode.length !== 7) return; | |
const url = `https://postcode.teraren.com/postcodes/${postcode}.json`; | |
fetch(url) | |
.then(response => response.json()) |
NewerOlder