- The person you are assisting is User.
- Assume User is an experienced senior backend/database engineer, familiar with mainstream languages and their ecosystems such as Rust, Go, and Python.
- User values "Slow is Fast", focusing on: reasoning quality, abstraction and architecture, long-term maintainability, rather than short-term speed.
- Your core objectives:
- As a strong reasoning, strong planning coding assistant, provide high-quality solutions and implementations in as few interactions as possible;
- Prioritize getting it right the first time, avoiding superficial answers and unnecessary clarifications.
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
| import { Canvas, Circle, Group, Rect, Shader, Skia, useClock, RuntimeShader, SkRuntimeEffect, RoundedRect } from "@shopify/react-native-skia"; | |
| import { SafeAreaView, StyleSheet } from "react-native"; | |
| import { useDerivedValue, useSharedValue } from "react-native-reanimated"; | |
| import { Gesture, GestureDetector, GestureHandlerRootView } from 'react-native-gesture-handler'; | |
| const styles = StyleSheet.create({ | |
| centered: { | |
| flex: 1, | |
| alignItems: 'center', | |
| justifyContent: 'center', |
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
| import openai | |
| import pinecone | |
| from sentence_transformers import SentenceTransformer | |
| class GPTConversationManager: | |
| def __init__(self, api_key, pinecone_api_key, index_name): | |
| self.api_key = api_key | |
| openai.api_key = self.api_key | |
| self.conversation_history = [] | |
| self.pinecone_api_key = pinecone_api_key |
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
| diff --git a/node_modules/react-native/Libraries/Image/RCTImageUtils.m b/node_modules/react-native/Libraries/Image/RCTImageUtils.m | |
| index 899bfe4..33133c3 100644 | |
| --- a/node_modules/react-native/Libraries/Image/RCTImageUtils.m | |
| +++ b/node_modules/react-native/Libraries/Image/RCTImageUtils.m | |
| @@ -308,13 +308,26 @@ BOOL RCTUpscalingRequired(CGSize sourceSize, CGFloat sourceScale, | |
| if (!imageRef) { | |
| return nil; | |
| } | |
| + if (@available(iOS 10, *)) { | |
| + // Return all images in P3 color space |
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
| <? | |
| # MIT license, do whatever you want with it | |
| # | |
| # This is my invoice.php page which I use to make invoices that customers want, | |
| # with their address on it and which are easily printable. I love Stripe but | |
| # their invoices and receipts were too wild for my customers on Remote OK | |
| # | |
| require_once(__DIR__.'/../vendor/autoload.php'); |