名前 | カテゴリ | 言語 | URL |
---|---|---|---|
vim-jp | エディタ | 日本語 | https://twitter.com/i/communities/1497961032404594691 |
VS Codeの会 | エディタ | 日本語 | https://twitter.com/i/communities/1498865559353511941 |
プログラミング言語Go | プログラミング言語 | 日本語 | https://twitter.com/i/communities/1498095077222400000 |
The Go Programming Language | プログラミング言語 | 英語 | https://twitter.com/i/communities/1493637136502960134 |
プログラミング言語Rust | プログラミング言語 | 日本語 | https://twitter.com/i/communities/1498496039401451522 |
Pythonジャパン | プログラミング言語 | 日本語 | https://twitter.com/i/communities/1498184748728205315 |
Deno-ja | プログラミング言語 | 日本語 | https://twitter.com/i/communities/1498174921562013698 |
ruby-jp | プログラミング言語 | 日本語 | https://twitter.com/i/communities/1496768365683408900 |
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
## 文字コードをutf8にするための設定ファイルをつくる | |
※ 以下のコマンドは2回以上実行するとDBの設定がおかしくなり、起動に失敗するようになるので注意。 | |
### /etc/my.cnfをつくる | |
``` | |
sed -e "/^\[mysqld_safe\]$/i character-set-server=utf8\n\n[client]\ndefault-character-set=utf8" /etc/my.cnf |sudo tee /etc/my.cnf | |
``` | |
下記ファイルができる。 |
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 sendToSlack(message) { | |
Logger.log('sendToSlack() debug start'); | |
var url = 'hogehoge'; | |
var channel = '#hogehoge'; | |
var username = 'event-invite-bot'; | |
var icon_emoji = ':rainbow-flag:'; | |
var payload = { | |
'channel' : channel, |
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 sendToSlack(message) { | |
Logger.log('sendToSlack() debug start'); | |
var url = 'webhook url'; | |
var channel = '#calender'; | |
var username = 'jojo-bot'; | |
var icon_emoji = ':hand:'; | |
var payload = { | |
'channel' : channel, |
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
AWSに保存されている公開鍵とローカル環境に作成された秘密鍵のSSH2フィンガープリントは一致しているはずなので、 | |
AWS ConsoleでEC2 > キーペアに表示されるフィンガープリントと手元でopensslコマンドで表示されるフィンガープリントが一致するか確認する。 | |
``` | |
[ローカル環境] | |
$ openssl pkcs8 -in ~/.ssh/{キーのパス} -inform PEM -outform DER -topk8 -nocrypt | openssl sha1 -c | |
xx:xx:xx:xx... | |
``` |
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
javascript:Array.from(document.getElementsByTagName('rt')).forEach((rt)=>(rt.style.display="none")); |
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
# | |
# Route53 | |
# | |
resource "aws_route53_record" "example" { | |
zone_id = aws_route53_zone.example.zone_id # 他であらかじめ定義されている前提 | |
name = "example.com" | |
type = "A" | |
alias { | |
name = aws_cloudfront_distribution.example.domain_name | |
zone_id = aws_cloudfront_distribution.example.hosted_zone_id |