| 時刻 | 行動 | ねらい / 解説 |
|---|---|---|
| 06:30 | 起床、カーテンを開け 10 分日光浴 | サーカディアンリズム起動。メラトニン分泌のスタート時刻を固定 → 夜の睡眠の質が上がり、成長ホルモン による脂肪分解が進む。 |
| 06:40 | コップ 1 杯の水 | 睡眠中に失った水分補給。空腹・便秘対策。 |
| 07:00 | 朝食(約 450kcal) ・もち麦ご飯 120g +生卵 ・味噌汁(豆腐・玉ねぎ・わかめ) ・無糖ヨーグルト+キウイ ・牛乳 200ml |
PFC + ビタミンミネラル + シンバイオティクス(ヨーグルト × キウイ、味噌 × 玉ねぎ)を一気に満たす。低 GI で昼の食欲を安定化、基礎代謝低下を防ぐ。朝食を抜くと月 250g / 3 か月 3kg の差。 |
| 08:00 | 一駅手前で下車 → 徒歩通勤 / 朝散歩 15 分 | NEAT の第 1 回。朝の光 + 歩行で交感神経をスムーズに立ち上げる。 |
| 09:00 | コーヒー(ブラック or +シナモン少量) | カフェインでリパーゼ活性、クロロゲン酸で代謝向上。シナモン(セイロン種)で血流改善。 |
| 10:30 | 姿勢リセット + 1〜2 分歩く | 座りっぱなしは省エネモードを呼び込む。NEAT の積み増し。 |
| 12:00 | 昼食(約 500kcal)・一汁三菜 ・ご飯 160g ・主菜:鮭の塩焼き(オメガ 3) ・副菜:ひじき煮 / ほうれん草のおひたし ・味噌汁 |
糖質は「脂肪を燃やす薪」。魚は 週 4 回以上 でインスリン抵抗性改善。副菜で食物繊維を稼ぎ血糖値を緩やかに。 |
| 12:45 | 食後の 5〜10 分散歩 | 血糖値スパイク抑制。NEAT 第 2 回。 |
This file contains hidden or 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
| symbol | date | price | |
|---|---|---|---|
| MSFT | 2000-01-01 | 39.81 | |
| MSFT | 2000-02-01 | 36.35 | |
| MSFT | 2000-03-01 | 43.22 | |
| MSFT | 2000-04-01 | 28.37 | |
| MSFT | 2000-05-01 | 25.45 | |
| MSFT | 2000-06-01 | 32.54 | |
| MSFT | 2000-07-01 | 28.4 | |
| MSFT | 2000-08-01 | 28.4 | |
| MSFT | 2000-09-01 | 24.53 |
This file contains hidden or 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
| (ns com.example.auth | |
| (:require [com.biffweb :as biff] | |
| [buddy.hashers :as hashers] | |
| [xtdb.api :as xt] | |
| [com.example.ui :as ui] | |
| [clojure.string :as s])) | |
| (defn submit-new-auth-user [ctx username password] | |
| (biff/submit-tx ctx | |
| [{:db/doc-type :biff.auth/username |
ClojureによるWeb開発のサーバサイドで注目度の高い(マイクロ)フレームワークとしてDuctがあります。
ちょうど1年前の2017年12月に私自身初めてDuctによる簡単なREST APIを試作してみて、その過程をAdvent Calendar記事にしたことがありました。
今回は主にClojure言語のことを知っていてWebアプリ開発に興味のある方向けに、英語も含めてドキュメントのとても少ないDuctというフレームワークがどのようなものなのか、技術的な詳細に踏み込んだ解説を試みます。
ちなみに、執筆時点で参照/動作確認した各種ライブラリのバージョンは、サンプルプロジェクト"hello-duct"のproject.cljの通りです(Duct最新安定版0.11.2のテンプレートのまま)。
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder