- https://qiita.com/shinofara/items/79a10ad5861b4b7c885c
- testでjsonをpostする場合
- https://zenn.dev/hsaki/articles/go-convert-json-struct
- jsonわかりやすかった
- https://text.baldanders.info/golang/singleton-pattern/
- singleton
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
::v-deep img { | |
@include sp { | |
max-width: 100%; | |
height: auto; | |
} | |
} |
https://developers.google.com/speed/pagespeed/insights を使って検証 検証はあくまでdevを使ってやる
https://developers.google.com/speed/pagespeed/insights/
$ npm run build -- --report
$ open dist/report.html
とあるプロジェクトへの参加メモ
- DBeaver MySQLクライアント
- NoSQL Booster Mongoクライアント
- postman
- api管理サービス
- swaggerとかあれ系だが、ダミーデータじゃなくて実際にRESTFullなApiを投げるサービス
- https://sequel-ace.com/
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
https://github.com/hashicorp/terraform/tree/master/examples | |
https://github.com/baseinc/Hands-on-Terraform | |
https://github.com/domingusj/terraform-rails/tree/master/terraform | |
https://github.com/koding/terraform/tree/master/examples | |
https://github.com/r7kamura/mastodon-terraform | |
https://github.com/litencatt/terraform-aws-templates | |
https://github.com/brikis98/terraform-up-and-running-code/tree/master/code/terraform | |
https://qiita.com/eigo_s/items/02264a5a7ad0ff6c5387 |
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
# | |
# 数字 | |
# | |
# 全て数値(全角) | |
/^[0-9]+$/ | |
# 全て数値(半角) | |
/^[0-9]+$/ |
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
import urllib.parse | |
import urllib.request | |
import json | |
import pdb # pdb.set_trace() | |
# pip install Janome | |
# from janome.tokenfilter import POSKeepFilter | |
# from janome.tokenizer import Tokenizer | |
# from janome.analyzer import Analyzer |
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
mysql.server start | |
redis-server & | |
echo " | |
rdr pass on lo0 inet proto tcp from any to self port 80 -> 127.0.0.1 port 3000 | |
rdr pass on en0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 3000 | |
rdr pass on en1 inet proto tcp from any to any port 80 -> 127.0.0.1 port 3000 | |
" | sudo pfctl -ef - |
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
module Repro | |
class BasePushWorker | |
include Sidekiq::Worker | |
sidekiq_options retry: 1 | |
def perform(user_id, content_id = nil) | |
@user = User.find(user_id) | |
@content_id = content_id | |
return unless permit? | |
send_request |
NewerOlder