{"id":111628,"url":"https://github.com/cheatsnake/awesome-examples","name":"awesome-examples","description":"A list of resources where you can learn programming by examples.","projects_count":58,"last_synced_at":"2026-06-09T03:00:22.019Z","repository":{"id":171071327,"uuid":"606514589","full_name":"cheatsnake/awesome-examples","owner":"cheatsnake","description":"A list of resources where you can learn programming by examples.","archived":false,"fork":false,"pushed_at":"2023-02-26T07:37:52.000Z","size":4,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-23T12:02:51.748Z","etag":null,"topics":["awesome","awesome-list","examples","learn-by-examples","programming","programming-language"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cheatsnake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-25T18:10:04.000Z","updated_at":"2024-12-20T15:47:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"0fd56ef4-5bee-4698-a8f4-9bef532d8559","html_url":"https://github.com/cheatsnake/awesome-examples","commit_stats":null,"previous_names":["cheatsnake/awesome-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cheatsnake/awesome-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheatsnake%2Fawesome-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheatsnake%2Fawesome-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheatsnake%2Fawesome-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheatsnake%2Fawesome-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheatsnake","download_url":"https://codeload.github.com/cheatsnake/awesome-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheatsnake%2Fawesome-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34089329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"created_at":"2026-01-21T21:46:55.828Z","updated_at":"2026-06-09T03:00:22.019Z","primary_language":null,"list_of_lists":false,"displayable":true,"categories":["Programming languages","Tools"],"sub_categories":["Go","Elixir","Julia","JavaScript","Python","Docker","Java","Rust","TypeScript","Bash","Regular expressions","Objective-C","Ruby","C","Swift","C++","Haskell","C#","Dart","Erlang","Groovy","Kotlin","Lua","PHP","R"],"readme":"# Awesome examples\n\nA list of resources where you can learn programming by example.\n\n1.  [Programming languages](#programming-languages)\n2.  [Frameworks](#frameworks)\n3.  [Tools](#tools)\n\n## Programming languages\n\n### C\n\n-   [Beginners C Program Examples](https://github.com/gouravthakur39/beginners-C-program-examples) – simple, short and sweet beginners friendly C language programs.\n-   [C Examples](https://www.programiz.com/c-programming/examples)\n-   [C Examples – w3schools](https://www.w3schools.com/c/c_examples.php)\n\n### C#\n\n-   [C# by Example](https://www.fincher.org/tips/Languages/csharp.shtml)\n-   [C# Console Application Examples](https://www.csharp-console-examples.com/csharp-console/c-console-examples/)\n\n### C++\n\n-   [C++ By Example](https://cppbyexample.com/)\n-   [C by Example](https://github.com/seanvaleo/cbyexample.com) – learn C and C++ through annotated examples.\n-   [Examples C++](https://github.com/gusenov/examples-cpp) – примеры кода на C++.\n-   [C++ Short Code Examples](https://teccxx.neocities.org/mx1/cpp_listing_1) – короткие примеры C++ кода.\n-   [CSES Solutions](https://github.com/mrsac7/CSES-Solutions) – accepted solutions of [CSES problemset](https://cses.fi/problemset/) written in C++.\n\n### Dart\n\n-   [Dart By Example](https://www.jpryan.me/dartbyexample/)\n-   [Language samples – dart.dev](https://dart.dev/samples)\n\n### Elixir\n\n-   [Elixir Examples](https://elixir-examples.github.io/) – a collection of small Elixir programming language examples.\n\n### Erlang\n\n-   [Erlang/OTP by Example](https://www.erlangbyexample.org/)\n\n### Go\n\n-   [Go by Example](https://gobyexample.com/)\n-   [Golang by Example](https://golangbyexample.com/)\n-   [Golang for Node.js Developers](https://github.com/miguelmota/golang-for-nodejs-developers) – examples of Golang compared to Node.js.\n-   [Go generics example](https://github.com/mattn/go-generics-example) – example code for Go generics.\n-   [inancgumus/learngo](https://github.com/inancgumus/learngo) – 1000+ Hand-Crafted Go Examples, Exercises, and Quizzes.\n-   [Go packages](https://github.com/radovskyb/go-packages) – a large repository of code and documented examples for Go's standard package library.\n-   [Go Examples](https://github.com/SimonWaldherr/golang-examples)\n\n### Groovy\n\n-   [janbodnar/Groovy-Examples](https://github.com/janbodnar/Groovy-Examples)\n\n### Haskell\n\n-   [Haskell by Example](https://lotz84.github.io/haskellbyexample/)\n-   [Haskell in depth](https://lotz84.github.io/haskellbyexample/) – examples to accompany the book [\"Haskell in Depth\"](https://www.oreilly.com/library/view/haskell-in-depth/9781617295409/).\n\n### Java\n\n-   [OnJava8-Examples](https://github.com/BruceEckel/OnJava8-Examples) – code Examples for the book [\"On Java 8\"](https://www.onjava8.com/).\n-   [Java Tutorial For Beginners](https://github.com/in28minutes/java-tutorial-for-beginners) – about 500 code examples.\n\n### JavaScript\n\n-   [JavaScript Algorithms and Data Structures](https://github.com/trekhleb/javascript-algorithms) – algorithms and data structures implemented in JavaScript with explanations.\n-   [You Don't Need jQuery](https://github.com/camsong/You-Dont-Need-jQuery) – examples of how to do query, style, dom, ajax, event etc like jQuery with plain JavaScript.\n-   [What the f\\*ck JavaScript?](https://github.com/denysdovhan/wtfjs) – a list of funny and tricky JavaScript examples.\n\n### Julia\n\n-   [Julia by Example](https://juliabyexample.helpmanual.io/)\n\n### Kotlin\n\n-   [Learn Kotlin by Example](https://play.kotlinlang.org/byExample/overview) – examples from official Kotlin docs.\n-   [Learn Kotlin Coroutines](https://play.kotlinlang.org/byExample/overview) – Kotlin Coroutines by real examples for Android.\n-   [adbrepo/cursoAndroidKotlin](https://github.com/adbrepo/cursoAndroidKotlin) – basic Android examples in Kotlin.\n\n### Lua\n\n-   [Lua code samples](http://lua-users.org/wiki/SampleCode)\n\n### Objective-C\n\n-   [kharrison/CodeExamples](https://github.com/kharrison/CodeExamples) – code examples in Objective-C and Swift.\n\n### Perl\n\n-   [Perl 5 By Example](https://www.webbasedprogramming.com/Perl-5-By-Example/)\n\n### PHP\n\n-   [PHP manual examples](https://www.php.net/manual/en/indexes.examples.php) – list of all examples from official PHP manual.\n\n### Python\n\n-   [trekhleb/learn-python](https://github.com/trekhleb/learn-python) – collection of Python scripts that are split by topics and contain code examples with explanations.\n-   [geekcomputers/Python](https://github.com/geekcomputers/Python) – code examples by some geek.\n\n### R\n\n-   [R by Example](https://www.learnbyexample.org/r-introduction/)\n-   [R Examples for Data Analytics](https://github.com/kiat/R-Examples)\n\n### Ruby\n\n-   [Design Patterns in Ruby](https://github.com/nslocum/design-patterns-in-ruby) – examples from the book Design Patterns in Ruby by Russ Olsen.\n-   [The Algorithms - Ruby](https://github.com/TheAlgorithms/Ruby) – algorithms implemented in Ruby.\n\n### Rust\n\n-   [Rust by Example](https://doc.rust-lang.org/rust-by-example/)\n-   [Rust by Practice](https://practice.rs/) – narrowing the gap between beginner and skilled-dev with challenging examples, exercises and projects.\n-   [Rust Atomics and Locks](https://github.com/m-ou-se/rust-atomics-and-locks) – code examples, data structures, and links from book \"Rust Atomics and Locks\".\n-   [Design Patterns in Rust](https://github.com/fadeevab/design-patterns-rust) – Rust examples for all 23 classic GoF design patterns, and even a little more.\n\n### Scala\n\n-   [Scala on Android]() – a tutorial and examples of how to write Android apps in Scala.\n\n### Swift\n\n-   [Swift Structures](https://github.com/waynewbishop/SwiftStructures) – examples of commonly used data structures and algorithms in Swift.\n-   [Swift by Example](http://brettbukowski.github.io/SwiftExamples)\n-   [Swift Examples](https://github.com/andrea-prearo/SwiftExamples) – a collection of Swift samples to experiment with different topics.\n\n### TypeScript\n\n-   [Modern TypeScript](https://github.com/David-Else/modern-typescript-with-examples-cheat-sheet) – fully printable summary of modern TypeScript language features with extensive examples.\n-   [TypeScript code examples](https://devtut.github.io/typescript/typescript-core-types.html#string-literal-types)\n-   [Design Patterns in TypeScript](https://github.com/RefactoringGuru/design-patterns-typescript)\n-   [SOLID Principles Examples using Typescript](https://github.com/devbootstrap/SOLID-Principles-Examples-using-Typescript)\n\n## Frameworks\n\n## Tools\n\n### Bash\n\n-   [Bash scripts by example](https://github.com/cheatsnake/bash-scripts-by-example) – learn main features of Bash scripts by examples (ENG/RUS).\n\n### Docker\n\n-   [Awesome Docker Compose Examples](https://github.com/Haxxnet/Compose-Examples) – various Docker Compose examples of selfhosted FOSS and proprietary projects.\n-   [DoTheEvo/selfhosted-apps-docker](https://github.com/DoTheEvo/selfhosted-apps-docker) – pretty hand holding and detailed Docker recipes.\n\n### Regular expressions\n\n-   [Regex by example](https://github.com/cheatsnake/regex-by-example) – learn main features of regular expressions by examples (ENG/RUS).\n","projects_url":"https://awesome.ecosyste.ms/api/v1/lists/cheatsnake%2Fawesome-examples/projects"}