ãåãçã®æè¡ã»å ¥é¢è¨é²ãåãç診æãå ¥é¢ç³ãè¾¼ã¿ç·¨
çã®æè¡ã»å ¥é¢ããå¿ è¦ã«ãªã£ããããçµç·¯ãã¡ã¢ãã¦ããã
â»è¡çã®ãã¼ã¯ã¼ããåºã¦ãããããè¦æãªäººã¯ãã©ã¦ã¶ããã¯ãã¦ãã ããã
â»ãªã³ã¯åç
§å
ã®ç
é¢ã¨ã¯é¢ä¿ããã¾ããã
- å
¥é¢æ±ºå®ã¾ã§ã®çµç·¯
- æè¡å¿ è¦ã¨è¨ºæ
- è·å ´èª¿æ´
- å ¥é¢åæ¤æ»ã»ç³ãè¾¼ã¿
- èéç§å診ãã¦ããå¤ãã£ããã¨
- é£çæ´»
- ç¦é
- å ¥æµ´é »åº¦ãé±3ãããã«
- ããã
è¿æ³
ã¡ã¾ã¡ã¾è¨äºãæ¸ãã¢ããã¼ã·ã§ã³ãåºã¦ããã®ã§ãè¿æ³ãæ¸ãã
転è·ãã
- toC åãã«èããã
- ããã³ãã¨ã³ãä¸å¿ï¼ã¨ãããããäºæ¥ã伸ã°ãã¨ããã®ã大åæã®ã㨠Core Web Vitals çææ¨ãã¼ã¹ã§æ¹åããåãããããï¼
- Generative AI å©ç¨ããã¼ã¿åæã«åãçµãã§ãã
ãã¸ããç®çã«è»¢è·ããã
転è·ã¨åæã«å¯æ¥ããã£ãããããï¼è»¢è·å ã§å©ç¨ãã¦ããæè¡çã®ãã£ããã¢ããç®çï¼ã ãã£ããã¢ãããããªãããã°ãåéããããã¨è¨ãæãã§æ¬è¨äºãæ¸ãå§ããã
é±ä¸ã¨ã¯è¨ãããæ¸ãããæã«æ¸ããããã®æ¸©åº¦æã§åéããã
TIL ç¨ã®ããã°ã Nuxt3, Nuxt Content v2 ã«ç§»è¡ä¸
ã®ãã¨ãNuxt2 ã®ã¾ã¾ã ã£ãã®ã§ç§»è¡ä¸ã Nuxt3, Content v2 化 by zakizaki-ri9 · Pull Request #34 · zakizaki-ri9/blog · GitHub ã§å¤§ä½ç½®ãæãããFeed çã¯ã¾ãæéè¦ã¤ããªããä¿®æ£ããäºå®ã
æ®æ®µã® TIL 㯠Nuxt3 ã®ããã°ãæè¡ç³»ã¡ã¢ã¯ Zennããã®ä»ã¯ã¯ã¦ãªããã°ã¦ãªæãã«åãã¦ãããã¨æãã
Nuxt(Vue) 2 ã ãã© script setup 使ã£ãããä½é¨è¯ãã£ã
QIita - Nuxt.jsã¢ããã³ãã«ã¬ã³ãã¼2021 ã®5æ¥ç®è¨äºã§ããï¼ã¡ããã©ãã¿ããã£ãã®ã§æ稿ãã¦ã¿ã¾ããï¼
çµè«ãã試ãã§ãã Vue / Nuxt 2 ç°å¢ããã£ãããunplugin-vue2-script-setupãå°å
¥ããã¨ããæ軽ã«<script setup>
ãä½é¨ã§ããããã¨ãã話ãã§ãã
<script setup>
ã«ã¤ãã¦ã¯ã次ã®è¨äºããããããããã¨æãã¾ãã
Nuxt 2.x ç°å¢ã§ script setup ãå©ç¨å¯è½ã«ãã
- Nuxt.js 2.x
@nuxt/content
-> Content とは - Nuxt Content@nuxtjs/composition-api
-> Nuxt Composition API
ã使ã£ã¦ã次ã®ããã°ãä½ãã¾ããã
- zaki-blog
- ãªãã§ããã°ä½ã£ããã¯ãã¡ã -> @nuxt/content でブログつくった という近況報告 - ざきの学習帳(旧 zackey推し )
Vue 3 ããå©ç¨ã§ãã <script setup>
ãç´ æ¯ããããã¨æããunplugin-vue2-script-setup
ãå°å
¥ãã¦ã¿ã¾ããã
å°å ¥ããéã®ããã£ããã¨ã¯ãã¡ã -> Vue / Nuxt 2系で <script setup> を使用するには unplugin-vue2-script-setup を導入する
<script setup>
ä¿®æ£åå¾ã® diff
ç°¡åãªä¾ã§ããã赤æ ã® PostDateTime.vue
ã script setup æ§æã«å¤ãã¦ã¿ãã¨ããã次ã®ããã«ãªãã¾ããã by å
ã®ã³ããã ->
refactor: PostDateTime.vue を script setup に · zakizaki-ri9/blog@2c94d71 · GitHub
-<script lang="ts"> -import { defineComponent } from '@nuxtjs/composition-api' +<script setup lang="ts"> import dayjs from 'dayjs' type Props = { postedAt: string } +const { postedAt } = defineProps({ + postedAt: { + type: String, + required: true, + }, +}) const format = (datetime?: string) => { return datetime ? dayjs(datetime).format('YYYY-MM-DD') : undefined } -export default defineComponent({ - props: { - postedAt: { - type: String, - required: true, - }, - }, - setup({ postedAt }: Props) { - return { formatedPostedAt: format(postedAt) } - }, -}) +const formatedPostedAt = format(postedAt) </script>
PostDateTime.vue
ã¯æ¥ä»ã表示ããã ãã®ç°¡åãªã³ã³ãã¼ãã³ãã§ãããdefineComponent
å
ã«ãã¹ãããè¨è¿°ãä¸è¦ã¨ãªããè¦éããè¯ããªã£ãã®ãããããã¨æãã¾ãã
ããã
å¹´æ«å¹´å§ã« Vue / Nuxt 3 ã«è§¦ãã¦ã¿ããã¨ããæ¹ããã Vue / Nuxt 2 ç°å¢ä¸ã§è©¦ãããªãã¸ããªãããã° unplugin-vue2-script-setup ãå°å
¥ãã<script setup>
ã触ã£ã¦ã¿ã¦ã¯ãããã§ããããã
docker/build-push-action@v2 ã®ãã£ãã·ã¥æ¹æ³ã¯ cache.md ãèªãã¨åèã«ãªã
â»æ¬è¨äºã¯ docker/[email protected]æç¹ã®æ å ±ãå ã«è¨è¿°ãã¦ãã¾ãã
çµè«ãcache.md ã¨ã¯æ¬¡ã®ãã¨ã§ãã
build-push-action/cache.md at v2.7.0 · docker/build-push-action · GitHub
ã»ããèæ¯ã調ã¹ããã¨ãã¤ãã¤ãã¡ã¢æ¸ããã¦ããã¾ãã
èæ¯
å¯æ¥ã§ Ruby on Rails ã® CI ç°å¢ãä½ãä¸ã§æ¬¡ã®è¨äºãåèã«ãªãã¾ããã
ãããæ®å¿µãªãã¨ã«ãbuildx/BuildKitã©ã³ãã¼ãVMã®ã³ã³ããã¹ãã§ã»ããã¢ããããï¼ã¤ã¾ãDockerã®ãã£ãã·ã¥ãã¨ã¯ã¹ãã¼ãå¯è½ã«ãªããæ£ãããã£ãã·ã¥ã§ããï¼é©ãã»ã©ã·ã³ãã«ãªæ¹æ³ãåå¨ããã«ããããããããã®ããã¥ã¡ã³ãã«ã¯ãã®ãã¨ãè¨è¼ããã¦ããªãã®ã§ãã
以ä¸ã¯ãdocker/build-push-actionãªãã¸ããªããå¼ç¨ããå ¬å¼ãªãµã³ãã«ã§ãã
åè¿°ã«ã¦ãLocal cacheãå©ç¨ããã¯ã¼ã¯ããã¼ã®ãµã³ãã«ããã³ãdocker/build-push-action
ãå©ç¨ãããã£ãã·ã¥æ¹æ³ãè¨è¿°ããããªã³ã¯ãç´¹ä»ããã¦ãã¾ãã
build-push-action/cache.md at v2.7.0 · docker/build-push-action · GitHub
Ruby on Rails ã«éãããGitHub Actions ä¸ã§ Docker build ããæ©ä¼ãããå ´åãåè¿°ã®ãµã³ãã«ã大ãã«åèã«ãªãã¨æãã¾ãã
cache-from, cache-to ãªã©ã®è¨è¿°ã¯ Buildx ã®ããã¥ã¡ã³ããåèã«ãã
GitHub Action to build and push Docker images with Buildx with full support of the features provided by Moby BuildKit builder toolkit. This includes multi-platform build, secrets, remote cache, etc. and different builder deployment/namespacing options.
㨠About è¨è¼ããã¦ããéã docker/build-push-action@v2 㯠Buildx ãå©ç¨ã㦠Build, Push, Cache ãªã©ã® Docker ã«é¢ããæä½ãè¡ããã¦ãã¾ãã
Buildx ã¨ã¯ docker build
ãå¼·åãããã©ã°ã¤ã³ãåè¿°ã®è¨äºå
ãªã©ã§è¨è¿°ããã¦ãã cache-from
/ cache-to
ãªã©ããã£ãã·ã¥ã®èªã¿æ¸ãå
ãæå®ãªã©ãè²ã
ã§ããã¿ããã§ãã
- Docker Buildx | Docker Documentation
- イメージのビルド高速化機構 Docker BuildKit、BuildX を理解していなかったので調べてみました | ゲンゾウ用ポストイット
ãä¸è©±ã«ãªã£ãè¨äº
ãä»äººã¨èªåãæ¯è¼ãããã¯çåæ¬è½ã¨ãã¦æ£å¸¸ã ãããåå±ã«ãªããªãã¦è¯ããã / ãçå½ç§å¦çæèããèªãã
ãã¾ã«ã¯ãã¨ã³ã¸ãã¢ããé¢ãã¦å¥è·ç¨®ã®è¦ç¹ããç©äºãè¦ããã¨æããæã«åãã¾ããã
ä½è ã¯ãéºä¼åæ¤æ»ã®ãµã¼ãã¹ãæä¾ãã¦ããä¼ç¤¾ã®çµå¶è ã§ãã
çµå¶è ã㤠ç 究è ã§ãããã¨ãããå°éçãªç¥èã§ãããªãããéºä¼åã»çç©å¦ã«è©³ãããªãèªåã«ããããããã解説ãã¦ãããã ããã¨ãæãã¾ããã
æ¦è¦
次ã®ç¹ã«ã¤ãã¦ãçå½ååãéºä¼åã®ç§å¦çè¦ç¹ï¼ä½è ã®èãæ¹ãæ¸ããã¦ãã¾ããã
- ãªã人éã¯ãææ ããæã£ã¦ããã®ã
- ãªã人éã¯è¦éãçãã®ã
- 幸ç¦ã¨å¿«æ¥½ã®éã / 快楽ã«æãåºãã¦ãã¾ãã®ã¯ãªãã
- æ ç±ã®åç
ç®æ¬¡
- 第1ç« ãçå½ã«å ±éããååã¨ã¯ä½ã ã¼å®¢è¦³çã«æããã¼
- 第2ç« ãçå½ååã«æããèªç±ã«çãã ã¼ä¸»è¦³ãæ´»ããã¼
- 第3ç« ãä¸åº¦ããã®äººçãã©ãçããã ã¼å人ã¸ã®å¿ç¨ã¼
- 第4ç« ãäºæ¸¬ä¸è½ãªæªæ¥ã¸åãçµç¹ãåç¶ãããã«ã¯ ã¼çµå¶ã»ãã¸ãã¹ã¸ã®å¿ç¨ã¼
- 第5ç« ãçå½ã¨ãã¦ã®äººé¡ã¯ã©ãæªæ¥ãçããã®ã
ã¿ã¼ã²ãã
æ¸ç±å ã§æ¨å¥¨ããã¦ããæ¹ã§ãã
- æããæ²ãã¿ãªã©ãã¬ãã£ããªææ ã«æµãããããªã
- æå¿ãå¼·ãæã¡ç¶ããã
- çµç¹ä½ãããã¸ãã¹ã«çå½ç§å¦ã®ç¥è¦ãå¿ç¨ããã
- ãã¼ã ã人éé¢ä¿ã®ãã¨ã§æ©ãã§ãã
- ä½ãã«æã¡è¾¼ãããã®æ ç±ãã»ãã
ææ³
æ¸ç±ã§æ°ã«ãªã£ããã¤ã³ããå½±é¿ãåãããã¨ã«ã¤ãã¦æ¸ãã¾ãã
è²ã ãªæ¸ç±ãèªãã§ããèªå·±è¯å®æã®ä½ãããæãåºããªãæ¹ã«ãªã¹ã¹ã¡ãã¨æãã¾ãã
[å½±é¿] ãä»äººã¨èªåãæ¯ã¹ããã«å¯¾ãã¦ãè² ã®ææ ããªããªã£ãï¼ãããããªãï¼
ä¸å®ã»æãã¨ãã£ãè² ã®ææ ã¯ãéºä¼åã«çµã¿è¾¼ã¾ãã¦ããçåæ¬è½ã«ãããã®ã§ããã¨æ¸ããã¦ãã¾ãã
ç§ã¯èªå·±è¯å®æã®ä½ãã«æ©ãã§ãã¾ããããã¾ãã¾ãªæ¸ç±ãå£æã¡ã«ãã£ã¦ãèªå·±è¯å®æãä¸æçã«é«ããªãã¾ããããèªåããåªãã人éãè¦ãã¨ãã«ãä»äººã¨èªåãæ¯ã¹ãããèããå®åå·®ããå£çæãæããèªå·±è¯å®æã®ä½ããã解æ¾ãããã«ãã¾ããã
ãä»äººã¨èªåãæ¯ã¹ããã¨ããèãæ¹ã¯ã人éã®éºä¼åã¨ãã¦æ£å¸¸ãªåå¿ï¼çãæ®ãä¸ã§èªåã«ä½ã足ããªããèãã¦ããï¼ã§ããã¨æ¸ç±ã§è§£èª¬ããã¦ãã¾ããããä»äººã¨èªåãæ¯ã¹ããã¯æ£å¸¸ãªåå¿ã¨è¯å®ããããã¨ã§ã次ã®ããã«èããããã«ãªãã¾ããã
- ãä»äººã¨èªåãæ¯ã¹ãã -> ãèªåãçãæ®ããããä»äººã®ã¹ãã«ãåæãã¦ãããã¨è§£éããããã«ãªã£ã
- å®åå·®ããå£çæãçã害æªãããçãæ®ãããã«çºåããã¹ãã«ã«ãªã£ã
- ãä»äººã¨èªåãæ¯ã¹ãããæ£å¸¸ãªãã¨ã¨ãã¦è§£éãããã¨ã§ãå£çæããªããªã£ãï¼ãããããªãï¼
ï¼ãããããªãï¼ã¨è¨è¼ããã®ã¯ããã®èãã«è³ã£ã¦ãã1ã¶æã»ã©ããçµã£ã¦ããªãããã§ãã1å¹´ãããå£çæã«æ©ããã¨ããªããªã£ãããï¼ãããããªãï¼ãåé¤ããããããã¾ããã
[æ°ã«ãªã£ããã¤ã³ã] æèåæ¢ã¯ã³ã¹ãè¯ã
èãããã¨ã¯ãè³ã«ã¨ã£ã¦å¤§ããªã¨ãã«ã®ã¼æ¶è²»ã¨ãªããããæèåæ¢ã¯ã¨ãã«ã®ã¼æ¶è²»ãæãããã¨ããçåæ¬è½ã®æ£å¸¸åå¿ã ããã§ãã
ä»äºãåå¼·ã»åµä½æ´»åã¨ãã£ãçåæ¬è½ã«æã£ã¦æ´»åããã¦ããæ¹ã¯ããã®è¡ååã ãã§ããããï¼ã£ã¦èããã¨æ°æã¡ã楽ã«ãªãããã§ãã
ãä»äºã®äººã¨ã³ã¦ãã³ã¡ãã pic.twitter.com/l8Nowlka2h
— ããã¦ã (@k_r_r_l_l_) 2018å¹´1æ30æ¥
[æ°ã«ãªã£ããã¤ã³ã] ãã®ä»
è²ã æ¸ãã¨ãã¿ãã¬ã«ãªããããªã®ã§ãæ°ã«ãªã£ããã¼ã¯ã¼ãã並ã¹ã¦ããã¾ãã
- æ
ç±ã¯æªæ¥å·®åã¨åéããçã¾ãã
- æèé«ãï¼åéãããï¼è¡åãã¦ããï¼äººãæèé«ãç³»ã®äººï¼åéããªãï¼è¡åãã¦ããªãï¼äºº ã®è¡¨ãæ¹ã¯ããããããã£ã
- æèåæ¢ã®å対 -> å½ãçãã
- ã³ã¼ãã¼ã«ãã«ã¯ãå
¥ããã¨ããæ··ããªãã¦ãæ··ããæ§ã¨åããã人ãç°å¢ã«ä¾åãã¦æèåæ¢ or å½ãçããã«ã¤ãªããããã
- ã¨ã³ãããã¼å¢å¤§å ã®æ§ã¨ä¼¼ã¦ããããã -> 図解!エントロピー増大の法則とは?自発変化の方向を示す熱力学の金字塔 - Dreamscope Blog
- æèåæ¢ãè±ãããï¼å½ãçããããï¼å ´åã¯ã©ãããã°ï¼
- ã«ãªã¹ãªç°å¢ã«èº«ãæããã®ããã -> 転è·ãªã©
- ãããããã«ãã£ã¬ã³ã¸ããã¨æ±ºããæªæ¥å·®åã¨åéãæã£ã¦æ ç±ãçã¿åºãã¦åãçµã
- ã³ã¼ãã¼ã«ãã«ã¯ãå
¥ããã¨ããæ··ããªãã¦ãæ··ããæ§ã¨åããã人ãç°å¢ã«ä¾åãã¦æèåæ¢ or å½ãçããã«ã¤ãªããããã