[fusion_builder_container admin_label="Global Header" type="flex" hundred_percent="no" hundred_percent_height="no" hundred_percent_height_scroll="yes" align_content="flex-start" flex_align_items="stretch" flex_justify_content="flex-start" hundred_percent_height_center_content="yes" equal_height_columns="no" container_tag="div" hide_on_mobile="small-visibility,medium-visibility,large-visibility" status="published" padding_top_medium="15px" padding_bottom_medium="15px" padding_top="36px" padding_bottom="36px" border_style="solid" box_shadow="yes" box_shadow_vertical="0px" box_shadow_horizontal="8px" box_shadow_blur="22" box_shadow_spread="-12" box_shadow_color="hsla(var(--awb-color8-h),var(--awb-color8-s),var(--awb-color8-l),calc( var(--awb-color8-a) - 93% ))" z_index="2005" gradient_start_position="0" gradient_end_position="100" gradient_type="linear" radial_direction="center center" linear_angle="180" background_position="center center" background_repeat="no-repeat" fade="no" background_parallax="none" enable_mobile="no" parallax_speed="0.3" background_blend_mode="none" video_aspect_ratio="16:9" video_loop="yes" video_mute="yes" absolute="off" absolute_devices="small,medium,large" sticky="off" sticky_devices="small-visibility,medium-visibility,large-visibility" sticky_background_color="var(--awb-color1)" sticky_transition_offset="0" scroll_offset="0" animation_direction="left" animation_speed="0.3" filter_hue="0" filter_saturation="100" filter_brightness="100" filter_contrast="100" filter_invert="0" filter_sepia="0" filter_opacity="100" filter_blur="0" filter_hue_hover="0" filter_saturation_hover="100" filter_brightness_hover="100" filter_contrast_hover="100" filter_invert_hover="0" filter_sepia_hover="0" filter_opacity_hover="100" filter_blur_hover="0"][fusion_builder_row][fusion_builder_column type="1_1" layout="1_1" align_self="auto" content_layout="column" align_content="center" valign_content="flex-start" content_wrap="wrap" spacing="" center_content="no" link="" target="_self" min_height="" hide_on_mobile="small-visibility,medium-visibility,large-visibility" sticky_display="normal,sticky" class="" id="" type_medium="1_2" type_small="1_2" order_medium="0" order_small="0" dimension_spacing_medium="" dimension_spacing_small="" dimension_spacing="" dimension_margin_medium="" dimension_margin_small="" margin_top="" margin_bottom="0px" padding_medium="" padding_small="" padding_top="" padding_right="" padding_bottom="" padding_left="" hover_type="none" border_sizes="" border_color="" border_style="solid" border_radius="" box_shadow="no" dimension_box_shadow="" box_shadow_blur="0" box_shadow_spread="0" box_shadow_color="" box_shadow_style="" background_type="single" gradient_start_color="" gradient_end_color="" gradient_start_position="0" gradient_end_position="100" gradient_type="linear" radial_direction="center center" linear_angle="180" background_color="" background_image="" background_image_id="" background_position="left top" background_repeat="no-repeat" background_blend_mode="none" render_logics="" filter_type="regular" filter_hue="0" filter_saturation="100" filter_brightness="100" filter_contrast="100" filter_invert="0" filter_sepia="0" filter_opacity="100" filter_blur="0" filter_hue_hover="0" filter_saturation_hover="100" filter_brightness_hover="100" filter_contrast_hover="100" filter_invert_hover="0" filter_sepia_hover="0" filter_opacity_hover="100" filter_blur_hover="0" animation_type="" animation_direction="left" animation_speed="0.3" animation_offset="" last="true" border_position="all" first="true" margin_top_small="" padding_top_small="" padding_bottom_small=""][fusion_imageframe image_id="11091|full" max_width="136px" sticky_max_width="" skip_lazy_load="skip" style_type="" blur="" stylecolor="" hover_type="none" bordersize="" bordercolor="" borderradius="" align_medium="left" align_small="left" align="center" margin_top="" margin_right="" margin_bottom="" margin_left="" lightbox="no" gallery_id="" lightbox_image="" lightbox_image_id="" alt="Avada Agency" link="" linktarget="_self" hide_on_mobile="large-visibility" sticky_display="normal,sticky" class="" id="" animation_type="" animation_direction="left" animation_speed="0.3" animation_offset="" filter_hue="0" filter_saturation="100" filter_brightness="100" filter_contrast="100" filter_invert="0" filter_sepia="0" filter_opacity="100" filter_blur="0" filter_hue_hover="0" filter_saturation_hover="100" filter_brightness_hover="100" filter_contrast_hover="100" filter_invert_hover="0" filter_sepia_hover="0" filter_opacity_hover="100" filter_blur_hover="0" dynamic_params="eyJlbGVtZW50X2NvbnRlbnQiOnsiZGF0YSI6InNpdGVfbG9nbyIsImVsZW1lbnRfY29udGVudCI6Imh0dHBzOi8vYXZhZGEudGhlbWUtZnVzaW9uLmNvbS9hZ2VuY3kvd3AtY29udGVudC91cGxvYWRzL3NpdGVzLzExLzIwMTQvMTAvYWdlbmN5X2xvZ28yeC5wbmciLCJ0eXBlIjoiZGVmYXVsdF9yZXRpbmEiLCJmYWxsYmFjayI6IiJ9LCJsaW5rIjp7ImRhdGEiOiJzaXRlX3VybCIsImxpbmsiOiIiLCJiZWZvcmUiOiIiLCJhZnRlciI6IiIsImZhbGxiYWNrIjoiIn19"]http://k.lne.st/wp-content/uploads/sites/76/2014/10/agency_logo2x.png[/fusion_imageframe][fusion_imageframe image_id="11091|full" max_width="162px" sticky_max_width="" skip_lazy_load="skip" style_type="" blur="" stylecolor="" hover_type="none" bordersize="" bordercolor="" borderradius="" align_medium="left" align_small="left" align="center" margin_top="" margin_right="" margin_bottom="" margin_left="" lightbox="no" gallery_id="" lightbox_image="" lightbox_image_id="" alt="Avada Agency" link="" linktarget="_self" hide_on_mobile="small-visibility,medium-visibility" sticky_display="normal,sticky" class="" id="" animation_type="" animation_direction="left" animation_speed="0.3" animation_offset="" filter_hue="0" filter_saturation="100" filter_brightness="100" filter_contrast="100" filter_invert="0" filter_sepia="0" filter_opacity="100" filter_blur="0" filter_hue_hover="0" filter_saturation_hover="100" filter_brightness_hover="100" filter_contrast_hover="100" filter_invert_hover="0" filter_sepia_hover="0" filter_opacity_hover="100" filter_blur_hover="0" dynamic_params="eyJlbGVtZW50X2NvbnRlbnQiOnsiZGF0YSI6InNpdGVfbG9nbyIsImVsZW1lbnRfY29udGVudCI6Imh0dHBzOi8vYXZhZGEudGhlbWUtZnVzaW9uLmNvbS9hZ2VuY3kvd3AtY29udGVudC91cGxvYWRzL3NpdGVzLzExLzIwMTQvMTAvYWdlbmN5X2xvZ28yeC5wbmciLCJ0eXBlIjoibW9iaWxlX3JldGluYSIsImZhbGxiYWNrIjoiIn0sImxpbmsiOnsiZGF0YSI6InNpdGVfdXJsIiwibGluayI6IiIsImJlZm9yZSI6IiIsImFmdGVyIjoiIiwiZmFsbGJhY2siOiIifX0="]http://k.lne.st/wp-content/uploads/sites/76/2014/10/agency_logo2x.png[/fusion_imageframe][/fusion_builder_column][fusion_builder_column type="1_1" layout="1_1" align_self="auto" content_layout="column" align_content="center" valign_content="flex-start" content_wrap="wrap" spacing="" center_content="no" link="" target="_self" min_height="" hide_on_mobile="small-visibility,medium-visibility,large-visibility" sticky_display="normal,sticky" class="" id="" type_medium="1_2" type_small="1_2" order_medium="0" order_small="0" dimension_spacing_medium="" dimension_spacing_small="" dimension_spacing="" dimension_margin_medium="" dimension_margin_small="" margin_top="32px" margin_bottom="48px" padding_medium="" padding_small="" padding_top="" padding_right="" padding_bottom="" padding_left="" hover_type="none" border_sizes="" border_color="" border_style="solid" border_radius="" box_shadow="no" dimension_box_shadow="" box_shadow_blur="0" box_shadow_spread="0" box_shadow_color="" box_shadow_style="" background_type="single" gradient_start_color="" gradient_end_color="" gradient_start_position="0" gradient_end_position="100" gradient_type="linear" radial_direction="center center" linear_angle="180" background_color="" background_image="" background_image_id="" background_position="left top" background_repeat="no-repeat" background_blend_mode="none" render_logics="" filter_type="regular" filter_hue="0" filter_saturation="100" filter_brightness="100" filter_contrast="100" filter_invert="0" filter_sepia="0" filter_opacity="100" filter_blur="0" filter_hue_hover="0" filter_saturation_hover="100" filter_brightness_hover="100" filter_contrast_hover="100" filter_invert_hover="0" filter_sepia_hover="0" filter_opacity_hover="100" filter_blur_hover="0" animation_type="" animation_direction="left" animation_speed="0.3" animation_offset="" last="true" border_position="all" margin_top_medium="0px" margin_bottom_medium="0px" first="true"][fusion_menu menu="agency-main-menu" hide_on_mobile="small-visibility,medium-visibility,large-visibility" sticky_display="normal,sticky" direction="column" margin_top="" margin_bottom="" transition_time="300" submenu_space="" arrows="" arrows_size_width="" arrows_size_height="" class="" id="" min_height="" sticky_min_height="" align_items="stretch" justify_content="flex-start" font_size="16px" fusion_font_family_typography="" fusion_font_variant_typography="" text_transform="none" main_justify_content="center" items_padding_top="12px" items_padding_right="" items_padding_bottom="12px" items_padding_left="" gap="" border_radius_top_left="" border_radius_top_right="" border_radius_bottom_right="" border_radius_bottom_left="" transition_type="fade" icons_position="top" icons_size="16" thumbnail_size_width="" thumbnail_size_height="" justify_title="center" bg="" color="" border_top="" border_right="" border_bottom="" border_left="" border_color="" icons_color="" active_bg="" active_color="var(--awb-color4)" active_border_top="" active_border_right="" active_border_bottom="" active_border_left="" active_border_color="" icons_hover_color="var(--awb-color4)" dropdown_carets="no" submenu_mode="dropdown" expand_method="hover" expand_direction="right" expand_transition="fade" submenu_max_width="" submenu_flyout_direction="fade" submenu_font_size="" fusion_font_family_submenu_typography="" fusion_font_variant_submenu_typography="" submenu_text_transform="none" submenu_items_padding_top="" submenu_items_padding_right="" submenu_items_padding_bottom="" submenu_items_padding_left="" submenu_border_radius_top_left="" submenu_border_radius_top_right="" submenu_border_radius_bottom_right="" submenu_border_radius_bottom_left="" box_shadow="no" box_shadow_vertical="" box_shadow_horizontal="" box_shadow_blur="0" box_shadow_spread="0" box_shadow_color="" box_shadow_style="" submenu_sep_color="rgba(226,226,226,0)" submenu_bg="" submenu_color="" flyout_close_color="" submenu_active_bg="" submenu_active_color="var(--awb-color4)" flyout_active_close_color="" breakpoint="medium" custom_breakpoint="800" mobile_nav_mode="collapse-to-button" mobile_nav_size="full-absolute" trigger_padding_top="" trigger_padding_right="" trigger_padding_bottom="" trigger_padding_left="" mobile_trigger_background_color="rgba(255,255,255,0)" mobile_trigger_color="" collapsed_nav_text="" collapsed_nav_icon_open="fusion-prefix-icon-agency-bars-solid" collapsed_nav_icon_close="fusion-prefix-icon-agency-times-solid" mobile_trigger_font_size="24px" mobile_nav_button_align_hor="flex-end" mobile_nav_trigger_fullwidth="off" mobile_nav_trigger_bottom_margin="22px" mobile_nav_items_height="65" mobile_justify_content="left" mobile_indent_submenu="on" mobile_font_size="" fusion_font_family_mobile_typography="" fusion_font_variant_mobile_typography="" mobile_sep_color="rgba(0,0,0,0)" mobile_bg="" mobile_color="" mobile_active_bg="var(--awb-color1)" mobile_active_color="var(--awb-color4)" animation_type="" animation_direction="left" animation_speed="0.3" animation_offset="" /][/fusion_builder_column][fusion_builder_column type="1_1" layout="1_1" align_self="auto" content_layout="column" align_content="space-between" valign_content="flex-start" content_wrap="wrap" spacing="" center_content="no" link="" target="_self" min_height="" hide_on_mobile="large-visibility" sticky_display="normal,sticky" class="" id="" type_medium="" type_small="" order_medium="0" order_small="0" dimension_spacing_medium="" dimension_spacing_small="" dimension_spacing="" dimension_margin_medium="" dimension_margin_small="" margin_top="" margin_bottom="" padding_medium="" padding_small="" padding_top="" padding_right="" padding_bottom="" padding_left="" hover_type="none" border_sizes="" border_color="" border_style="solid" border_radius="" box_shadow="no" dimension_box_shadow="" box_shadow_blur="0" box_shadow_spread="0" box_shadow_color="" box_shadow_style="" background_type="single" gradient_start_color="" gradient_end_color="" gradient_start_position="0" gradient_end_position="100" gradient_type="linear" radial_direction="center center" linear_angle="180" background_color="" background_image="" background_image_id="" background_position="left top" background_repeat="no-repeat" background_blend_mode="none" render_logics="" filter_type="regular" filter_hue="0" filter_saturation="100" filter_brightness="100" filter_contrast="100" filter_invert="0" filter_sepia="0" filter_opacity="100" filter_blur="0" filter_hue_hover="0" filter_saturation_hover="100" filter_brightness_hover="100" filter_contrast_hover="100" filter_invert_hover="0" filter_sepia_hover="0" filter_opacity_hover="100" filter_blur_hover="0" animation_type="" animation_direction="left" animation_speed="0.3" animation_offset="" last="true" border_position="all" first="true"][fusion_social_links blogger="" deviantart="" discord="" digg="" dribbble="" dropbox="" facebook="https://www.facebook.com/LeaveaNest/" flickr="" forrst="" instagram="" linkedin="" myspace="" paypal="" pinterest="" reddit="" rss="" skype="" soundcloud="" spotify="" teams="" telegram="" tiktok="" tumblr="" twitch="" twitter="https://twitter.com/leaveanest" vimeo="" vk="" wechat="" whatsapp="" xing="" yahoo="" yelp="" youtube="" email="" phone="" show_custom="no" hide_on_mobile="small-visibility,medium-visibility,large-visibility" sticky_display="normal,sticky" class="" id="" alignment_medium="" alignment_small="center" alignment="center" margin_top_medium="" margin_right_medium="" margin_bottom_medium="" margin_left_medium="" margin_top_small="" margin_right_small="" margin_bottom_small="" margin_left_small="" margin_top="" margin_right="" margin_bottom="" margin_left="" tooltip_placement="" font_size=" 16px" icons_boxed="yes" box_border_top="" box_border_right="" box_border_bottom="" box_border_left="" icons_boxed_radius="" color_type="" icon_colors="hsla(var(--awb-color5-h),var(--awb-color5-s),var(--awb-color5-l),calc( var(--awb-color5-a) - 25% ))" hue="" saturation="" lightness="" alpha="" box_colors="var(--awb-color2)" box_border_color="" icon_colors_hover="" box_colors_hover="" box_border_color_hover="" animation_type="" animation_direction="left" animation_speed="0.3" animation_offset="" /][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]

About stray dog

This author has not yet filled in any details.
So far stray dog has created 28 blog entries.

Amazon Bedrockを使用して機能実装した際の備忘録

はじめに 最近、Amazon Bedrock を使用して機能実装したので、その備忘録。メモ程度で自分が詰まったところだけを軽く書くだけ記述します。 内容 詳しくは書きませんが、基本的には boto3 を利用し実装しています。IAM ユーザより認証情報より使用できます。 python -m pip install boto3 Bedrock では、Claude および Stable Duffusion を利用できるようにしました。基本的にはそれぞれの公式ドキュメントを読む必要があリます。AWS...

By |2023-10-18T09:58:46+09:00October 18th, 2023|Uncategorized|Comments Off on Amazon Bedrockを使用して機能実装した際の備忘録

ファイル編集(+画像生成+音声生成)Slackアプリを作ってみた話

はじめに ファイル編集 Slack アプリを作成を作成したので、そのアプリについて記事にしてみました。気分で機能追加しているので、もしかすると記事更新するかもしれないです。 作成した経緯は、最近 Slack アプリをいじる事が増えたので、自分の今まで積んできたスキルスタック、触ってきたサービスで作ってみるかぁというモチベーション。そもそもラッパーライブラリが用意されている RDB ではなくて、 NoSQL DB を使うのはバグってる気がする。仕事じゃないからできることですね。 作ってみた感じとし...

By |2023-09-18T21:14:32+09:00September 18th, 2023|Uncategorized|Comments Off on ファイル編集(+画像生成+音声生成)Slackアプリを作ってみた話

テスト用docker-compose.yml備忘録【環境変数】【ホスト側ポートアクセス】

はじめに docker-compose.yml のテスト用設定の備忘録。ミニマムでの記述のみ。 docker-compose.yml 環境変数は .env ファイルに記述する。 docker-compose.yml version: '3' services: app: build: context: . dockerfile: Dockerfile ports: - 8000:8000 volumes: - .:...

By |2023-08-23T18:09:20+09:00August 23rd, 2023|Uncategorized|Comments Off on テスト用docker-compose.yml備忘録【環境変数】【ホスト側ポートアクセス】

flask db upgradeすると「password authentication failed for user」が出る

はじめに 沼ったのでメモ。2023 年 8 月 23 日時点での情報です。 heroku の console 上で flask db upgrade をしたら「password authentication failed for user」が出ました。今まで特に問題なく DB と接続できていたのに、なぜか急に出るようになったので、原因を調べてみました。 原因 同じ原因で接続できなかった人が以下の issue にいました。SQLAlchemy のバグ対応でリリースされたバージョンに移行すると起...

By |2023-08-23T18:09:18+09:00August 23rd, 2023|Uncategorized|Comments Off on flask db upgradeすると「password authentication failed for user」が出る

Fast API+Cloud run+FirestoreでSlackアプリを作る【OauthテーブルもNoSQLを使用】

はじめに この記事は、FastAPI+Cloud Run+Firestore で Slack アプリを作る際の備忘録のようなものです。 全てを話すと長くなるので、一応適当に作成したリポジトリを用意しました。 他の人の記事でも、firestore を使用しているものはありますが、Oauth テーブルも NoSQL で実装しているものをスニペット付きで記述ある人が見つからなかったので、ないならと思い。そんなにテストしてないので、参考程度にしてもらえればと思います。一応 ouath による他ワークス...

By |2023-08-08T12:15:58+09:00August 8th, 2023|Uncategorized|Comments Off on Fast API+Cloud run+FirestoreでSlackアプリを作る【OauthテーブルもNoSQLを使用】

WebカメラでYOLOv8を動かす【スニペット有】

はじめに 久々に YOLO を動かしてみた。しばらく見ないうちに色んなタイプのモデルが出ていてびっくりしました。自分が真面目に動かしていたのは yolov3 くらいだったので。今回は yolov8 を動かしてみました。 今回の環境は windows です。 ライブラリのインストール pip install opencv-python ultralytics 物体検出 以下、スニペットです。ほとんど公式のコードをそのまま使っています。いくつかのモデルは実行時にダウンロードされるみたいですが...

By |2023-07-03T23:38:43+09:00July 3rd, 2023|Uncategorized|Comments Off on WebカメラでYOLOv8を動かす【スニペット有】

Quasar CLIの使い方

はじめに Quasar framework が提供している Quasar CLI の使い方をまとめます。Quasar framework は Nuxt などの有名フレームワークの Vue3 対応が遅れる中、いの一番に Vue3 対応を果たしたフレームワークです。デフォルトでマルチプラットフォームに対応するために capacitor や electron などのプラットフォームに対応しています。また、UI コンポーネントも豊富に用意されています。ただし、日本語のドキュメントが少ないためか、国内だと...

By |2023-06-28T12:13:24+09:00June 28th, 2023|Uncategorized|Comments Off on Quasar CLIの使い方

Pythonの多言語対応【i18n】【スニペット有り】

はじめに Python の多言語対応についての備忘録。ライブラリをいくつか比較検討したので、そのことについても記述する。 比較表 ライブラリ 更新頻度 使い勝手 備考 python-i18n × ○ i18nice ○ ○ gettext - × 標準ライブラリ python-i18n 一番はじめに検討したライブラリ。使い勝手は良さそうだったが、メンテナンスはだいぶ前にやめてしまった様子。ただ、フォークしている人がおり、そちらでメンテされていたりするので、...

By |2023-06-07T20:30:26+09:00June 7th, 2023|Uncategorized|Comments Off on Pythonの多言語対応【i18n】【スニペット有り】

個人的Nuxt3入門

はじめに 最近の私は Quasar framework を愛してやまないですが、少しこちらの方をいじる機会も想定されそうなので、基本的なところを押さえようと思います。 プロジェクト生成+インストール フォルダを作成している前提で、以下でプロジェクト生成とインストール。 npx nuxi init . npm install Auto imports 決められた関数やディレクトリは明示的に宣言しなくてもインポートされる。詳細は以下のリンクを参照すること。 Auto imports ディレク...

By |2023-03-28T23:36:24+09:00March 28th, 2023|Uncategorized|Comments Off on 個人的Nuxt3入門

個人的venv入門

はじめに 去年まではとにかく生産することに重きを置いていたのですが、最近は余裕があるので、本来最初からやっておかなければならなかったことに入門します。 仮想環境まわりは記事がごちゃってるイメージが強かったので、個人的な備忘録として記述します。OSは「Windows 10 pro」です。 仮想環境構築 コマンドは以下の通り。 python -m venv .venv 上記がスタンダードぽいです。基本的には、同じソースコードで複数の環境を試すからという理由でしょうか。 アクティベートとディア...

By |2023-02-28T15:16:45+09:00February 28th, 2023|Uncategorized|Comments Off on 個人的venv入門
Go to Top