Skip to content

Commit

Permalink
Merge pull request #29 from noriyotcp/tags-layout
Browse files Browse the repository at this point in the history
Create Posts by Tag
  • Loading branch information
noriyotcp authored Oct 5, 2024
2 parents 9572c95 + 166c361 commit 65baa7e
Show file tree
Hide file tree
Showing 43 changed files with 256 additions and 71 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ defaults:
share: false
related: true
classes: wide
tag_archive:
type: liquid
path: /tags/

# locale: en-US
locale: ja-JP
title: "til"
Expand Down
8 changes: 8 additions & 0 deletions _includes/go_back_home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<ul class="taxonomy__index">
<li>
<a href="{{ '/' | relative_url }}">
<strong>&larr; Home</strong>
</a>
</li>
</ul>

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@
<strong>Posts by Year &rarr;</strong>
</a>
</li>
<li>
<a href="{{ 'tags' | relative_url }}" data-hotkey="g t">
<strong>Posts by Tag &rarr;</strong>
</a>
</li>
</ul>
6 changes: 4 additions & 2 deletions _posts/2024-05/2024-05-21-2024-05-21.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
date: "2024-05-21 02:51:44 +0900"
last_modified_at: "2024-09-23 22:49:51 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-05-21"
tags:
- Ruby
- Rails on Rails
---

# 2024-05-21
Expand Down Expand Up @@ -143,4 +146,3 @@ Date: Sat May 4 18:02:01 2024 +0900

## https://dev.to/hamajyotan/routing-definition-using-only-the-actions-generated-by-resources-l9g
カスタムアクションを作らない。サブリソースを名詞で表現しそれに見合うコントローラーを作る

6 changes: 4 additions & 2 deletions _posts/2024-05/2024-05-24-2024-05-24.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
date: "2024-05-24 01:05:09 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-05-24"
tags:
- 組織文化
- Forkwell Library
---

# 2024-05-24
Expand Down Expand Up @@ -198,4 +201,3 @@ $ reset
```

これはMac のターミナルのことかなあ?

6 changes: 4 additions & 2 deletions _posts/2024-05/2024-05-27-2024-05-27.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
date: "2024-05-27 22:31:40 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-05-27"
tags:
- Ruby
- Rails on Rails
---

# 2024-05-27
Expand Down Expand Up @@ -36,4 +39,3 @@ module Kaminari
end
end
```

5 changes: 3 additions & 2 deletions _posts/2024-05/2024-05-29-2024-05-29.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-05-29 10:54:10 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-05-29"
tags:
- ソフトウェアテスト
---

# 2024-05-29
Expand All @@ -12,4 +14,3 @@ title: "2024-05-29"
> 本格的なテストを実施する前に行われる簡易な確認で、プログラムの追加や修正などによって起動しなくなったり、すぐにエラーで停止してしまったりしないかどうかを確かめる。テストの進行を妨げる致命的なバグを早期に見つけ、効率的にテストを実施するために必要となる。
> もとは電子機器・電気機械の開発工程において、試作品の電源を入れてみて発煙しないか調べる試験を意味する。回路が短絡していて通電した途端発火してしまうなど、すぐに分かる致命的な欠陥がないか調べるために行われる。
5 changes: 3 additions & 2 deletions _posts/2024-06/2024-06-01-2024-06-01.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-06-01 13:57:22 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-01"
tags:
- asdf
---

# 2024-06-01
Expand Down Expand Up @@ -196,4 +198,3 @@ echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.ba
# at the top of ~/.bashrc
export PATH=$PATH/.asdf/shims/
```

5 changes: 3 additions & 2 deletions _posts/2024-06/2024-06-05-vim-middle-class-features.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-06-06 02:10:53 +0900"
last_modified_at: "2024-09-26 01:22:08 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "https://zenn.dev/vim_jp/articles/2024-06-05-vim-middle-class-features"
tags:
- Vim
---

# https://zenn.dev/vim_jp/articles/2024-06-05-vim-middle-class-features
Expand Down Expand Up @@ -91,4 +93,3 @@ Shift + v で visual line というのだな。v で visual にしていたが
4. <CR> を押し、評価結果をバッファに挿入

sum: 140635

5 changes: 4 additions & 1 deletion _posts/2024-06/2024-06-08-2024-06-08.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
date: "2024-06-08 01:33:24 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-08"
tags:
- NotebookLM
- Bash
---

# 2024-06-08
Expand Down
5 changes: 3 additions & 2 deletions _posts/2024-06/2024-06-11-2024-06-11.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-06-11 02:41:31 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-11"
tags:
- Ruby
---

# 2024-06-11
Expand All @@ -27,4 +29,3 @@ https://x.com/coolprobn/status/1799054952859660605
> only_evens([1, 2, 3, 4])
=> [2, 4]
```

8 changes: 6 additions & 2 deletions _posts/2024-06/2024-06-15-2024-06-15.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
---
date: "2024-06-15 05:51:37 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-15"
tags:
- Ruby
- Ruby on Rails
- Docker
- devcontainer
---

# 2024-06-15
Expand Down Expand Up @@ -315,4 +320,3 @@ https://guides.rubyonrails.org/getting_started.html#deleting-an-article
### あとは Basic authentication を残すのみ
status を enum にして inclusion validation 使いたいな
6 changes: 3 additions & 3 deletions _posts/2024-06/2024-06-16-2024-06-16.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-06-16 15:13:34 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-16"
tags:
- Ruby on Rails
---

# 2024-06-16
Expand Down Expand Up @@ -45,5 +47,3 @@ end
```

ちな `_prefix` などのオプションは `_` をつけなくて良くなる。Rails 7.2.0beta2 ではすでに廃止されており、それに気づかなくてハマった…


5 changes: 3 additions & 2 deletions _posts/2024-06/2024-06-22-2024-06-22.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-06-22 13:23:20 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-22"
tags:
- Ruby on Rails
---

# 2024-06-22
Expand Down Expand Up @@ -43,4 +45,3 @@ end

Rails 5.2 で入ったんだなあ
https://koic.hatenablog.com/entry/rails-reversible-migration-cop-supports-ar-migration-up-only

8 changes: 7 additions & 1 deletion _posts/2024-06/2024-06-23-2024-06-23.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
date: "2024-06-23 21:22:25 +0900"
last_modified_at: "2024-10-02 02:27:20 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-23"
tags:
- JavaScript
- Rails
- React
- TypeScript
- Vite
---

# 2024-06-23
Expand Down
6 changes: 4 additions & 2 deletions _posts/2024-06/2024-06-26-2024-06-26.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
date: "2024-06-26 23:39:03 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-26"
tags:
- Ruby on Rails
- ActiveSupport
---

# 2024-06-26
Expand Down Expand Up @@ -37,4 +40,3 @@ https://api.rubyonrails.org/classes/ActiveSupport/Duration.html#method-i-parts
> 1.day.in_hours
=> 24.0
```

4 changes: 3 additions & 1 deletion _posts/2024-06/2024-06-28-2024-06-28.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-06-28 22:18:16 +0900"
last_modified_at: "2024-10-02 02:27:20 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-28"
tags:
- Ruby on Rails
---

# 2024-06-28
Expand Down
5 changes: 3 additions & 2 deletions _posts/2024-06/2024-06-30-2024-06-30.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-06-30 20:40:23 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-06-30"
tags:
- GitHub Copilot
---

# 2024-06-30
Expand All @@ -14,4 +16,3 @@ Command + Alt + i でサイドバーでも Copilot Chat を開けるようにし

ターミナルでの作業について質問したければ `@terminal`
`/tests` で単体テスト書いてくれるのは便利

7 changes: 4 additions & 3 deletions _posts/2024-07/2024-07-06-2024-07-06.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
date: "2024-07-08 01:43:52 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-07-06"
tags:
- Docker
- devcontainers
---

# 2024-07-06
Expand All @@ -22,5 +25,3 @@ https://dev.classmethod.jp/articles/fix-credsstore-missing-2023-11-06/
```
"credsStore": "osxkeychain",
```


6 changes: 4 additions & 2 deletions _posts/2024-07/2024-07-15-2024-07-15.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
date: "2024-07-15 14:11:40 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-07-15"
tags:
- Ruby on Rails
- Rack
---

# 2024-07-15
Expand All @@ -11,4 +14,3 @@ https://qiita.com/naokami/items/1fa3aa706fb61eb66d67
`Rack::Utils::SYMBOL_TO_STATUS_CODE` で Rails で使っている HTTP status code とシンボルのマッピングの一覧を取得できる
`:unprocessable_content=>422` となっている
controller では `:unprocessable_entity` でいいのだが、RSpec だと `unprocessable_content` じゃないとダメだった

5 changes: 3 additions & 2 deletions _posts/2024-07/2024-07-20-2024-07-20.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-07-20 18:50:33 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-07-20"
tags:
- Ruby On Rails
---

# 2024-07-20
Expand Down Expand Up @@ -61,4 +63,3 @@ service.call
これは依存性の逆転の原則に従います。なぜなら、高レベルの Service クラスは、低レベルのモジュール(LoggerService クラス)ではなく、抽象化(`logger_service` オブジェクト)に依存するからです。 また、詳細(LoggerService クラスの具体的な実装)が抽象(`logger_service` オブジェクト)に依存するため、この原則に従います。

全体として、依存性注入を使用し、依存性の逆転の原則に従うことで、ソフトウェアの設計とアーキテクチャを改善することができます。

5 changes: 3 additions & 2 deletions _posts/2024-08/2024-08-06-2024-08-06.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-08-08 22:29:36 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-08-06"
tags:
- RubyMine
---

# 2024-08-06
Expand All @@ -10,4 +12,3 @@ https://mp-faq.gmo-pg.com/s/article/F00207

## RubyMine で file path をナビゲーションバーに表示する
https://intellij-support.jetbrains.com/hc/en-us/community/posts/9511229712018-New-UI-does-not-show-full-file-path-even-with-option-explicitly-enabled

5 changes: 3 additions & 2 deletions _posts/2024-08/2024-08-07-2024-08-07.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
date: "2024-08-08 22:29:53 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-08-07"
tags:
- cat
---

# 2024-08-07
https://www.ibm.com/docs/ja/i/7.3?topic=directories-cat

cat でファイルの内容を他のファイルに保存するとき。複数ファイル指定できるんだな

6 changes: 5 additions & 1 deletion _posts/2024-08/2024-08-07-software_design_workshop_2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
---
date: "2024-08-08 22:24:34 +0900"
last_modified_at: "2024-10-02 02:27:20 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "第2回 ソフトウェア設計における思考と学び方を考える 「増田設計道場」 - connpass"
tags:
- ソフトウェア設計
- 増田設計道場
- connpass
---

# 第2回 ソフトウェア設計における思考と学び方を考える 「増田設計道場」 - connpass
Expand Down
5 changes: 3 additions & 2 deletions _posts/2024-08/2024-08-12-2024-08-12.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
date: "2024-08-12 23:10:18 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 00:56:06 +0900"
title: "2024-08-12"
tags:
- React
---

# 2024-08-12
Expand All @@ -12,4 +14,3 @@ https://speakerdeck.com/recruitengineers/react-yan-xiu-2024?slide=128
```js
setState((currentValue) => currentValue + 1)
```

Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
---
date: "2024-09-01 23:03:37 +0900"
last_modified_at: "2024-09-21 14:04:11 +0900"
last_modified_at: "2024-10-06 01:02:06 +0900"
title: "2024-09-01"
tags:
- uv
- Python
- Amazon Kindle
---

# 2024-09-01
Expand Down Expand Up @@ -229,4 +233,3 @@ float を int にキャストすると大丈夫だった。しかしフルスク
```
brew install tesseract-lang
```

Loading

0 comments on commit 65baa7e

Please sign in to comment.