CLAUDE.md
をプロジェクトルートに作成し以下を追加する
## 🔨 最重要ルール - 新しいルールの追加プロセス
ユーザーから今回限りではなく常に対応が必要だと思われる指示を受けた場合:
1. 「これを標準のルールにしますか?」と質問する
2. YESの回答を得た場合、CLAUDE.mdに追加ルールとして記載する
3. 以降は標準ルールとして常に適用する
CLAUDE.md
をプロジェクトルートに作成し以下を追加する
## 🔨 最重要ルール - 新しいルールの追加プロセス
ユーザーから今回限りではなく常に対応が必要だと思われる指示を受けた場合:
1. 「これを標準のルールにしますか?」と質問する
2. YESの回答を得た場合、CLAUDE.mdに追加ルールとして記載する
3. 以降は標準ルールとして常に適用する
This is a list of companies serving Flutter developers who replied to my Twitter thread on June 14th, 2023.
This does not include companies using Flutter (there are simply too many to list!), only those offering products or services for Flutter developers.
Presence on this list is not imply any endorsement of the company or its products (other than Shorebird, of course, I endourse my own company).
import 'package:flutter/material.dart'; | |
extension BuildContextExtensions on BuildContext { | |
ThemeData get theme => Theme.of(this); | |
TextTheme get textTheme => theme.textTheme; | |
ColorScheme get colorScheme => theme.colorScheme; | |
DefaultTextStyle get defaultTextStyle => DefaultTextStyle.of(this); |
The problem with large language models is that you can’t run these locally on your laptop. Thanks to Georgi Gerganov and his llama.cpp project, it is now possible to run Meta’s LLaMA on a single computer without a dedicated GPU.
There are multiple steps involved in running LLaMA locally on a M1 Mac after downloading the model weights.
import 'package:flutter/material.dart'; | |
import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
import 'package:dio/dio.dart'; | |
// Disclaimer: This uses the "The Movie Database API (TMDB)" | |
// https://developers.themoviedb.org/3/getting-started | |
// With this endpoint: | |
// https://developers.themoviedb.org/3/people/get-popular-people | |
/// The FutureProvider that does the fetching of the paginated list of people |
targets: | |
$default: | |
builders: | |
freezed: | |
generate_for: | |
include: | |
- lib/**/*state.dart | |
- lib/model/firestore/**/*.dart | |
json_serializable: | |
generate_for: |
# The trick is to link the DeviceSupport folder from the beta to the stable version. | |
# sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :) | |
# Support iOS 15 devices (Xcode 13.0) with Xcode 12.5: | |
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/15.0 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
# Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions | |
# (A similar approach works for older versions too, just change the version number after DeviceSupport) |