pgsql

PostgreSQL Ubunt: 1 sudo apt install -y postgresql-client

2024年6月18日 · 1 分

Sorry Page

Sorry Page 運用 ALB で Sorry ページを実装する方法と運用上の考慮点 AWS Sorry Page 定番パターン整理(ソーリーページ/メンテナンスページ) CloudFront オリジンフェイルオーバー CloudFront のオリジンフェイルオーバーでオリジンとの接続タイムアウトやオリジン側で発生したエラーコード(5XX 系)をセカンダリのオリジン(ソーリーページ)へ自動的に遷移させます。 CloudFront でオリジン障害時に Sorry ページを表示したい エラーページ作成(SSG) Peclican で ファイル名をスラグ化させない: pelicanconf.py: 1 2 PATH_METADATA = r"(?P<path_no_ext>.*)\..*" ARTICLE_URL = ARTICLE_SAVE_AS = PAGE_URL = PAGE_SAVE_AS = "{path_no_ext}.html"

2024年6月11日 · 1 分

Ruff[object Object]

Ruff https://docs.astral.sh/ruff/rules/ 新しい静的コード解析ツール「Ruff」をご紹介

2024年6月6日 · 1 分

MS Graph

Micsoft Graph Microsoft Graph を使ってみよう : 目次 Microsoft Graph を 標準 Java で使う OAuth2 client_credtials: 1 2 3 4 5 6 curl -d "client_id=クライアントID" \ -d "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default" \ -d "client_secret=クライアントシークレット" \ -d "grant_type=client_credentials" \ -H "Content-Type: application/x-www-form-urlencoded" \ -X POST https://login.microsoftonline.com/テナントID/oauth2/v2.0/token authorization code: Microsoft Graph API を Ruby で操作してみる

2024年6月2日 · 1 分

NoCode: Web制作

NoCode: Web 制作 【2023 年最新】ノーコード WEB 制作の使い分け完全ガイド| Wix・Editor X・STUDIO・Webflow 各種ツールの特徴・機能・選び方 Product: Wix Editor X -> Wix Studio STUDIO Webflow Webflow 最強のサイト制作ノーコードツール『Webflow』とは? - メリットについて数字を交えてご紹介 - Webflow とは?ノーコードツールの中で最も人気がある理由は?

2024年5月28日 · 1 分

Google Gemini

Google Gemini 旧 Bard Google AI Studio からアクセス モデル Gemini Ultra Gemini Pro Gemini Nano トークン Gemini (1M), Claude3(200k), GPT4(128K) マルチモーダル テキスト ビデオ 音声 画像 ファイル フォルダー Gemini Business Google Workplace + 20USD/月 Gemini Ultra が利用可能 入力データが学習に使われないことが保証されている Gemini Enterprise Google Workspace + 30USD/月 個人 Gemini 無料 Gemini Advanced Google One AI プレミアム (2,900 JPY/月) 2TB ストレージ 記事 【超速報】新しい Gemini1.5 Pro を知らないのヤバいよ【Google I/O 2024 の発表まとめ】 本当に Gemini Pro1.5 は凄いのか?論文を読んで解説してみた 【徹底検証】Gemini1.5 Pro の使い方と解説!性能が良過ぎて現状 No.1 のマルチモーダル AI だった

2024年5月17日 · 1 分

Flutter

Android インストール % flutter build apk % flutter devices Found 4 connected devices: Pixel 7a (mobile) • 38211JEHN05972 • android-arm64 • Android 14 (API 34) sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) macOS (desktop) • macos • darwin-arm64 • macOS 14.4.1 23E224 darwin-arm64 Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.203 Found 1 wirelessly connected device: iPhone13Pro (mobile) • 00008110-000150C21440401E • ios • iOS 17.4.1 21E236 Run "flutter emulators" to list and start any available device emulators. % flutter install -d 38211JEHN05972 Installing app-release.apk to Pixel 7a... Uninstalling old version... Installing build/app/outputs/flutter-apk/app-release.apk... 6.1s ios [Flutter]iOS のビルドで失敗したらまず試すこと 10 選

2024年5月14日 · 1 分

apache redirect

apache リダイレクト RewriteCond ディレクティブ:URL のリライト/リダイレクトを行う条件を定義する Wordpress # BEGIN WordPressよりも上に書くこと 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^old-page/$ https://example.com/new-page/ [R=302,L] </IfModule> # BEGIN WordPress # "BEGIN WordPress" から "END WordPress" までのディレクティブ (行) は # 動的に生成され、WordPress フィルターによってのみ修正が可能です。 # これらのマーカー間にあるディレクティブへのいかなる変更も上書きされてしまいます。 <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress

2024年5月13日 · 1 分

Appium

Appium Appium + Android で ネイティブアプリの自動実行を試してみた Appium を使って、リグレッションテストを自動化する リグレッションテスト(回帰テスト)とは|目的や重要性、実施のポイント 【Appium】モバイルアプリのテストを自動化する [2020 年 2 月版] Mac で Appium を動かしてみる (iOS シミュレーターでサンプル実行まで) Appium を使って Android/iOS アプリの試験を自動化 [Set up] appium 2.x in Mac for iOS APP (Ventura) WARN AppiumDoctor ✖ adb, android, emulator could NOT be found in C:\work\Android\sdk!: https://qiita.com/jyunji_watanabe/items/32c582c2c630873953ee インストール JDK Android Studio Xcode brew npm Carthage Appium Appium Driver JDK https://www.oracle.com/java/technologies/downloads/#java20 ARM64 DMG Installerのインストール: 1 2 # .zshrc export JAVA_HOME=JAVA_HOME=$(/usr/libexec/java_home) 1 2 3 4 % java -version java version "22.0.1" 2024-04-16 Java(TM) SE Runtime Environment (build 22.0.1+8-16) Java HotSpot(TM) 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing) Android Studio Mac with Apple Chip でインストール ...

2024年4月25日 · 6 分

Flutter

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale ja-JP) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ✗ cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [!] Xcode - develop for iOS and macOS (Xcode 15.3) ✗ CocoaPods not installed. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions. [✓] Chrome - develop for the web [✓] Android Studio (version 2023.2) [✓] VS Code (version 1.88.1) [✓] Connected device (3 available) [✓] Network resources ! Doctor found issues in 2 categories. The Flutter CLI developer tool uses Google Analytics to report usage and diagnostic data along with package dependencies, and crash reporting to send basic crash reports. This data is used to help improve the Dart platform, Flutter framework, and related tools. Telemetry is not sent on the very first run. To disable reporting of telemetry, run this terminal command: flutter --disable-analytics If you opt out of telemetry, an opt-out event will be sent, and then no further information will be sent. This data is collected in accordance with the Google Privacy Policy (https://policies.google.com/privacy).

2024年4月25日 · 2 分