From 0a24ac3158bf08a6bcde4032b9f27a3b60e0a557 Mon Sep 17 00:00:00 2001 From: Wing CHAN <19588517+WingCH@users.noreply.github.com> Date: Fri, 8 Aug 2025 14:42:54 +0800 Subject: [PATCH] docs: refine example descriptions --- README.md | 42 +++++++++ examples/README.md | 227 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 269 insertions(+) create mode 100644 README.md create mode 100644 examples/README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a19eedc --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# Learning Repository + +A curated collection of small projects and code snippets exploring different technologies. + +## Directory Overview + +### [Cloudflare](Cloudflare/) +Experiments with Cloudflare Workers and edge functions. + +### [Flutter](Flutter/) +Collection of Flutter demos and patterns. + +### [GoogleCloud](GoogleCloud/) +Examples using Google Cloud services. + +### [Kotlin](Kotlin/) +Kotlin language exercises and snippets. + +### [Python](Python/) +Python scripts and small utilities. + +### [Rust](Rust/) +Rust language experiments. + +### [Testing](Testing/) +Testing frameworks and automation studies. + +### [iOS](iOS/) +iOS and Swift playgrounds and sample apps. + +### [json_compare](json_compare/) +Utilities for comparing JSON structures. + +### [study_docker_tailscale](study_docker_tailscale/) +Experiments combining Docker with Tailscale. + +### [study_openai_codex](study_openai_codex/) +Notes and experiments with OpenAI Codex. + +### [Examples Index](examples/) +Catalog of all example projects grouped by technology. + diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..3493ef0 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,227 @@ +# Examples + +This directory indexes all example projects available in this repository. + +## Cloudflare +Projects targeting Cloudflare Workers and related tools. +- [browser-worker](../Cloudflare/browser-worker/): Cloudflare Worker that captures webpages with Puppeteer and caches screenshots in KV storage. + +## Flutter +Examples using the Flutter framework. +- [appsync_api_graphal](../Flutter/appsync_api_graphal/): Integrates AWS AppSync via Amplify for GraphQL. +- [bottom_sheet](../Flutter/bottom_sheet/): Custom modal bottom sheet with tailored animation. +- [bottom_sheet_keyboard](../Flutter/bottom_sheet_keyboard/): Manages on-screen keyboard with a modal bottom sheet. +- [builder_widget](../Flutter/builder_widget/): Uses the Builder widget to access a new BuildContext. +- [camera_demo](../Flutter/camera_demo/): Camera feed with Google ML Kit selfie segmentation. +- [complex_sliver_sample](../Flutter/complex_sliver_sample/): Shows multiple slivers working together in a scroll view. +- [custom_localizations_delegate](../Flutter/custom_localizations_delegate/): Implements a custom LocalizationDelegate for translations. +- [custom_paint](../Flutter/custom_paint/): Draws shapes using Flutter's CustomPaint widget. +- [custom_switch](../Flutter/custom_switch/): Builds a toggle switch with custom animations. +- [demo_container_hittest](../Flutter/demo_container_hittest/): Demonstrates hit testing with overlapping containers. +- [firestore_offline](../Flutter/firestore_offline/): Uses Firestore with offline persistence enabled. +- [flutter_custom_stack](../Flutter/flutter_custom_stack/): Custom stack layout with positioned widgets. +- [flutter_flavorizr](../Flutter/flutter_flavorizr/): Generates app flavors using the flavorizr tool. +- [flutter_in_app_webview_black_flash](../Flutter/flutter_in_app_webview_black_flash/): Fixes black flash issue when loading pages in InAppWebView. +- [flutter_inappwebview_video_study](../Flutter/flutter_inappwebview_video_study/): Investigation into playing video within InAppWebView. +- [go_router_demo](../Flutter/go_router_demo/): Demo of go router. +- [go_router_demo2](../Flutter/go_router_demo2/): Example showing go router demo2. +- [image_combine](../Flutter/image_combine/): Example showing image combine. +- [image_combine_rust](../Flutter/image_combine_rust/): Example showing image combine rust. +- [intrinsic_height](../Flutter/intrinsic_height/): Example showing intrinsic height. +- [jiffy_demo](../Flutter/jiffy_demo/): Demo of jiffy. +- [keyboard_animation](../Flutter/keyboard_animation/): Example showing keyboard animation. +- [metamask_integration](../Flutter/metamask_integration/): Example showing metamask integration. +- [native_view](../Flutter/native_view/): Example showing native view. +- [page_storage_sample](../Flutter/page_storage_sample/): Example showing page storage sample. +- [pageview_keep_state](../Flutter/pageview_keep_state/): Example showing pageview keep state. +- [row_overflow](../Flutter/row_overflow/): Example showing row overflow. +- [rxdart](../Flutter/rxdart/): Example showing rxdart. +- [study_abstract_syntax_tree](../Flutter/study_abstract_syntax_tree/): Study exploring abstract syntax tree. +- [study_android_background_foreground_services](../Flutter/study_android_background_foreground_services/): Study exploring android background foreground services. +- [study_apple_sign](../Flutter/study_apple_sign/): Study exploring apple sign. +- [study_background_mode](../Flutter/study_background_mode/): Study exploring background mode. +- [study_base_bloc](../Flutter/study_base_bloc/): Study exploring base bloc. +- [study_cicd](../Flutter/study_cicd/): Study exploring cicd. +- [study_closures_memory_leaks](../Flutter/study_closures_memory_leaks/): Study exploring closures memory leaks. +- [study_drift](../Flutter/study_drift/): Study exploring drift. +- [study_dropdown_menu](../Flutter/study_dropdown_menu/): Study exploring dropdown menu. +- [study_dynamic_tab_bar](../Flutter/study_dynamic_tab_bar/): Study exploring dynamic tab bar. +- [study_error_widget](../Flutter/study_error_widget/): Study exploring error widget. +- [study_facebook_singin](../Flutter/study_facebook_singin/): Study exploring facebook singin. +- [study_flutter_engine](../Flutter/study_flutter_engine/): Study exploring flutter engine. +- [study_flutter_performance_test](../Flutter/study_flutter_performance_test/): Study exploring flutter performance test. +- [study_flutter_plugin_entry_point](../Flutter/study_flutter_plugin_entry_point/): Study exploring flutter plugin entry point. +- [study_flutter_rust_01](../Flutter/study_flutter_rust_01/): Study exploring flutter rust 01. +- [study_flutter_slidable](../Flutter/study_flutter_slidable/): Study exploring flutter slidable. +- [study_form](../Flutter/study_form/): Study exploring form. +- [study_gesture_arena_team](../Flutter/study_gesture_arena_team/): Study exploring gesture arena team. +- [study_gif](../Flutter/study_gif/): Study exploring gif. +- [study_go_router_page_confirm_popup](../Flutter/study_go_router_page_confirm_popup/): Study exploring go router page confirm popup. +- [study_golden_test](../Flutter/study_golden_test/): Study exploring golden test. +- [study_graphql_codegen](../Flutter/study_graphql_codegen/): Study exploring graphql codegen. +- [study_horizontal_nest_scroll](../Flutter/study_horizontal_nest_scroll/): Study exploring horizontal nest scroll. +- [study_image_combine](../Flutter/study_image_combine/): Study exploring image combine. +- [study_indexedstack](../Flutter/study_indexedstack/): Study exploring indexedstack. +- [study_inline_day_picker](../Flutter/study_inline_day_picker/): Study exploring inline day picker. +- [study_ios_manual_run_engine](../Flutter/study_ios_manual_run_engine/): Study exploring ios manual run engine. +- [study_ios_share_extension](../Flutter/study_ios_share_extension/): Study exploring ios share extension. +- [study_mockito](../Flutter/study_mockito/): Study exploring mockito. +- [study_multiple_push](../Flutter/study_multiple_push/): Study exploring multiple push. +- [study_network](../Flutter/study_network/): Study exploring network. +- [study_overlay](../Flutter/study_overlay/): Study exploring overlay. +- [study_performance_view](../Flutter/study_performance_view/): Study exploring performance view. +- [study_range_slider](../Flutter/study_range_slider/): Study exploring range slider. +- [study_rebuild_mechanism](../Flutter/study_rebuild_mechanism/): Study exploring rebuild mechanism. +- [study_riverpod_provider_scope_overrides](../Flutter/study_riverpod_provider_scope_overrides/): Study exploring riverpod provider scope overrides. +- [study_shorebird](../Flutter/study_shorebird/): Study exploring shorebird. +- [study_stick_bottom_button_with_keyboard](../Flutter/study_stick_bottom_button_with_keyboard/): Study exploring stick bottom button with keyboard. +- [study_textfield_keyboard](../Flutter/study_textfield_keyboard/): Study exploring textfield keyboard. +- [study_visitor_patterns](../Flutter/study_visitor_patterns/): Study exploring visitor patterns. +- [study_webSocket_stomp](../Flutter/study_webSocket_stomp/): Study exploring webSocket stomp. +- [study_websocket](../Flutter/study_websocket/): Study exploring websocket. +- [study_widgetbook](../Flutter/study_widgetbook/): Study exploring widgetbook. +- [sync_ios_setting_languages](../Flutter/sync_ios_setting_languages/): Example showing sync ios setting languages. +- [timezone_study](../Flutter/timezone_study/): Investigation into timezone. +- [webview_mix](../Flutter/webview_mix/): Example showing webview mix. + +## GoogleCloud +Samples for Google Cloud services. +- [study_google_cloud_function](../GoogleCloud/study_google_cloud_function/): Study exploring google cloud function. + +## Kotlin +Kotlin language and library demonstrations. +- [study_kotlin_1](../Kotlin/study_kotlin_1/): Study exploring kotlin 1. +- [study_sorting](../Kotlin/study_sorting/): Study exploring sorting. + +## Python +Python-based experiments and utilities. +- [firecrawl_to_markdown](../Python/firecrawl_to_markdown/): Example showing firecrawl to markdown. +- [study_PySceneDetect](../Python/study_PySceneDetect/): Study exploring PySceneDetect. +- [study_browser_use](../Python/study_browser_use/): Study exploring browser use. +- [study_fastapi](../Python/study_fastapi/): Study exploring fastapi. +- [study_markitdown](../Python/study_markitdown/): Study exploring markitdown. + +## Rust +Rust language study projects. +- [first_try](../Rust/first_try/): Example showing first try. +- [image_combine](../Rust/image_combine/): Example showing image combine. + +## Testing +Testing frameworks and automation examples. +- [appium](../Testing/appium/): Example showing appium. +- [study_flutter_integration_test](../Testing/study_flutter_integration_test/): Study exploring flutter integration test. +- [study_pytest](../Testing/study_pytest/): Study exploring pytest. + +## iOS +iOS and Swift experiments. +- [Animation](../iOS/Animation/): Example showing Animation. +- [Dynamic height TableView in a Scroll View](../iOS/Dynamic%20height%20TableView%20in%20a%20Scroll%20View/): Example showing Dynamic height TableView in a Scroll View. +- [KeyPath.playground](../iOS/KeyPath.playground/): Example showing KeyPath.playground. +- [MyPlayground.playground](../iOS/MyPlayground.playground/): Example showing MyPlayground.playground. +- [The Composable Architecture Tutorials](../iOS/The%20Composable%20Architecture%20Tutorials/): Example showing The Composable Architecture Tutorials. +- [TinyConstraints](../iOS/TinyConstraints/): Example showing TinyConstraints. +- [UILabel_NBSP](../iOS/UILabel_NBSP/): Example showing UILabel NBSP. +- [alert-show-once](../iOS/alert-show-once/): Example showing alert show once. +- [card_issuer_mapping.playground](../iOS/card_issuer_mapping.playground/): Example showing card issuer mapping.playground. +- [carousel](../iOS/carousel/): Example showing carousel. +- [custom-progress-bars](../iOS/custom-progress-bars/): Example showing custom progress bars. +- [customview_uicontrol_gesture](../iOS/customview_uicontrol_gesture/): Example showing customview uicontrol gesture. +- [dynamic-height-RxDataSources](../iOS/dynamic-height-RxDataSources/): Example showing dynamic height RxDataSources. +- [innerShadow](../iOS/innerShadow/): Example showing innerShadow. +- [keyValueView](../iOS/keyValueView/): Example showing keyValueView. +- [label-font](../iOS/label-font/): Example showing label font. +- [learning-then](../iOS/learning-then/): Example showing learning then. +- [pointfreeco_10112023](../iOS/pointfreeco_10112023/): Example showing pointfreeco 10112023. +- [property-wrappers .playground](../iOS/property-wrappers%20.playground/): Example showing property wrappers .playground. +- [scrollview_keyboard](../iOS/scrollview_keyboard/): Example showing scrollview keyboard. +- [stack_expand](../iOS/stack_expand/): Example showing stack expand. +- [study-CGRect.playground](../iOS/study-CGRect.playground/): Example showing study CGRect.playground. +- [study-accessibility](../iOS/study-accessibility/): Example showing study accessibility. +- [study-navigation-controller](../iOS/study-navigation-controller/): Example showing study navigation controller. +- [study_ setNavigationBarHidden](../iOS/study_%20setNavigationBarHidden/): Study exploring setNavigationBarHidden. +- [study_AppIntent](../iOS/study_AppIntent/): Study exploring AppIntent. +- [study_CGAffineTransform.playground](../iOS/study_CGAffineTransform.playground/): Study exploring CGAffineTransform.playground. +- [study_IGListKit](../iOS/study_IGListKit/): Study exploring IGListKit. +- [study_KeyboardLayoutGuide](../iOS/study_KeyboardLayoutGuide/): Study exploring KeyboardLayoutGuide. +- [study_NSOrderedSet.playground](../iOS/study_NSOrderedSet.playground/): Study exploring NSOrderedSet.playground. +- [study_NavigationStack](../iOS/study_NavigationStack/): Study exploring NavigationStack. +- [study_RFC3339.playground](../iOS/study_RFC3339.playground/): Study exploring RFC3339.playground. +- [study_SwiftData](../iOS/study_SwiftData/): Study exploring SwiftData. +- [study_URLComponents.playground](../iOS/study_URLComponents.playground/): Study exploring URLComponents.playground. +- [study_autolayout](../iOS/study_autolayout/): Study exploring autolayout. +- [study_background_modes](../iOS/study_background_modes/): Study exploring background modes. +- [study_button_group](../iOS/study_button_group/): Study exploring button group. +- [study_child_viewcontroller](../iOS/study_child_viewcontroller/): Study exploring child viewcontroller. +- [study_chinese_text_segmentation.playground](../iOS/study_chinese_text_segmentation.playground/): Study exploring chinese text segmentation.playground. +- [study_closure.playground](../iOS/study_closure.playground/): Study exploring closure.playground. +- [study_collectionview](../iOS/study_collectionview/): Study exploring collectionview. +- [study_combine.playground](../iOS/study_combine.playground/): Study exploring combine.playground. +- [study_combine_backpressure.playground](../iOS/study_combine_backpressure.playground/): Study exploring combine backpressure.playground. +- [study_combine_integrate_async_await.playground](../iOS/study_combine_integrate_async_await.playground/): Study exploring combine integrate async await.playground. +- [study_concurrency.playground](../iOS/study_concurrency.playground/): Study exploring concurrency.playground. +- [study_custom_gesture_in_swiftui](../iOS/study_custom_gesture_in_swiftui/): Study exploring custom gesture in swiftui. +- [study_custom_navigation_with_push_using_present_animation](../iOS/study_custom_navigation_with_push_using_present_animation/): Study exploring custom navigation with push using present animation. +- [study_custom_push_animation](../iOS/study_custom_push_animation/): Study exploring custom push animation. +- [study_drawer](../iOS/study_drawer/): Study exploring drawer. +- [study_encrypt](../iOS/study_encrypt/): Study exploring encrypt. +- [study_handling_location_updates_in_the_background](../iOS/study_handling_location_updates_in_the_background/): Study exploring handling location updates in the background. +- [study_hittest](../iOS/study_hittest/): Study exploring hittest. +- [study_host_parsing.playground](../iOS/study_host_parsing.playground/): Study exploring host parsing.playground. +- [study_image_resized.playground](../iOS/study_image_resized.playground/): Study exploring image resized.playground. +- [study_ios_always_location_permission](../iOS/study_ios_always_location_permission/): Study exploring ios always location permission. +- [study_js_interaction](../iOS/study_js_interaction/): Study exploring js interaction. +- [study_keypath](../iOS/study_keypath/): Study exploring keypath. +- [study_local_network_permission](../iOS/study_local_network_permission/): Study exploring local network permission. +- [study_map.playground](../iOS/study_map.playground/): Study exploring map.playground. +- [study_member_level_bar](../iOS/study_member_level_bar/): Study exploring member level bar. +- [study_navigation_present_behavior](../iOS/study_navigation_present_behavior/): Study exploring navigation present behavior. +- [study_network_extension](../iOS/study_network_extension/): Study exploring network extension. +- [study_objc_framework](../iOS/study_objc_framework/): Study exploring objc framework. +- [study_old_swiftui_navigationView](../iOS/study_old_swiftui_navigationView/): Study exploring old swiftui navigationView. +- [study_present_detect_dismiss](../iOS/study_present_detect_dismiss/): Study exploring present detect dismiss. +- [study_proxy_vpn](../iOS/study_proxy_vpn/): Study exploring proxy vpn. +- [study_regex.playground](../iOS/study_regex.playground/): Study exploring regex.playground. +- [study_rx_to_concurrency](../iOS/study_rx_to_concurrency/): Study exploring rx to concurrency. +- [study_rxswift](../iOS/study_rxswift/): Study exploring rxswift. +- [study_safeAreaInset](../iOS/study_safeAreaInset/): Study exploring safeAreaInset. +- [study_scrollview](../iOS/study_scrollview/): Study exploring scrollview. +- [study_share_extension](../iOS/study_share_extension/): Study exploring share extension. +- [study_show_vs_push](../iOS/study_show_vs_push/): Study exploring show vs push. +- [study_stripe](../iOS/study_stripe/): Study exploring stripe. +- [study_swiftui_anchor](../iOS/study_swiftui_anchor/): Study exploring swiftui anchor. +- [study_swiftui_draw_path](../iOS/study_swiftui_draw_path/): Study exploring swiftui draw path. +- [study_swiftui_flowlayout](../iOS/study_swiftui_flowlayout/): Study exploring swiftui flowlayout. +- [study_swiftui_fullScreenCover](../iOS/study_swiftui_fullScreenCover/): Study exploring swiftui fullScreenCover. +- [study_swiftui_to_image](../iOS/study_swiftui_to_image/): Study exploring swiftui to image. +- [study_swiftui_view_update](../iOS/study_swiftui_view_update/): Study exploring swiftui view update. +- [study_tca](../iOS/study_tca/): Study exploring tca. +- [study_textfield](../iOS/study_textfield/): Study exploring textfield. +- [study_transform](../iOS/study_transform/): Study exploring transform. +- [study_uikit_bottom_sheet_without_present](../iOS/study_uikit_bottom_sheet_without_present/): Study exploring uikit bottom sheet without present. +- [study_uikit_to_image](../iOS/study_uikit_to_image/): Study exploring uikit to image. +- [study_video_vision](../iOS/study_video_vision/): Study exploring video vision. +- [study_vision.playground](../iOS/study_vision.playground/): Study exploring vision.playground. +- [study_webview_image](../iOS/study_webview_image/): Study exploring webview image. +- [study_webview_observe_height](../iOS/study_webview_observe_height/): Study exploring webview observe height. +- [study_xcode15](../iOS/study_xcode15/): Study exploring xcode15. +- [study_xcode_source_editor_extension](../iOS/study_xcode_source_editor_extension/): Study exploring xcode source editor extension. +- [study_xctrace](../iOS/study_xctrace/): Study exploring xctrace. +- [swift_combine_conntect.playground](../iOS/swift_combine_conntect.playground/): Example showing swift combine conntect.playground. +- [swift_generic.playground](../iOS/swift_generic.playground/): Example showing swift generic.playground. +- [swiftui-animation](../iOS/swiftui-animation/): Example showing swiftui animation. +- [try_isLowPowerModeEnabled](../iOS/try_isLowPowerModeEnabled/): Example showing try isLowPowerModeEnabled. +- [webview_inside_scrollview](../iOS/webview_inside_scrollview/): Example showing webview inside scrollview. + +## json_compare +Tools for comparing JSON structures. +- [.memory_bank](../json_compare/.memory_bank/): Example showing .memory bank. +- [json-compare-app](../json_compare/json-compare-app/): Example showing json compare app. +- [test](../json_compare/test/): Example showing test. + +## study_docker_tailscale +Explorations with Docker and Tailscale. +- [tailscale-docker](../study_docker_tailscale/tailscale-docker/): Example showing tailscale docker. + +## study_openai_codex +Notes on OpenAI Codex (no examples yet). +- (no examples)