diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | content/posts/postgres-aggregation-speed/index.md | 4 | ||||
| -rw-r--r-- | deploy.sh | 3 | ||||
| -rw-r--r-- | layouts/shortcodes/perf-chart.html | 2 |
4 files changed, 4 insertions, 9 deletions
@@ -1,8 +1,6 @@ deploy: hugo - rsync -avz --delete public/ ubuntu@feed.kagamino.dev:~/kagamino_blog/ - rsync -avz deploy.sh ubuntu@feed.kagamino.dev:~/deploy.sh - ssh ubuntu@feed.kagamino.dev 'sudo bash deploy.sh' + rsync --rsync-path="sudo rsync" -avz --delete public/ ubuntu@feed.kagamino.dev:/var/www/kagamino_blog/ dev: hugo server -D diff --git a/content/posts/postgres-aggregation-speed/index.md b/content/posts/postgres-aggregation-speed/index.md index 36d8fac..4c0b760 100644 --- a/content/posts/postgres-aggregation-speed/index.md +++ b/content/posts/postgres-aggregation-speed/index.md @@ -1,7 +1,7 @@ --- title: PostgreSQL aggregation processing speed -draft: true -date: 2025-09-29 +draft: false +date: 2025-10-06 lastmod: description: Comparison of aggregation function speed, on the database and in a host language categories: diff --git a/deploy.sh b/deploy.sh deleted file mode 100644 index 19430f2..0000000 --- a/deploy.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -sudo rsync -avz --delete kagamino_blog/ /var/www/kagamino_blog/ -sudo chown -R www-data:www-data /var/www/kagamino_blog diff --git a/layouts/shortcodes/perf-chart.html b/layouts/shortcodes/perf-chart.html index 8c1734a..c5b30aa 100644 --- a/layouts/shortcodes/perf-chart.html +++ b/layouts/shortcodes/perf-chart.html @@ -20,7 +20,7 @@ {{- $parts := split . ":" -}} {{- if ge (len $parts) 3 -}} {{- $label := index $parts 0 -}} - {{- $preset := index $parts 1 -}} + {{- $colorName := index $parts 1 -}} {{- $valuesStr := index $parts 2 -}} {{- $values := split $valuesStr "," -}} {{- $colorRgb := index $colors $colorName -}} |
