https://github.com/bodacious/cursedcode
Episode code for the {Cursed Code} YouTube episodes
https://github.com/bodacious/cursedcode
Last synced: 9 months ago
JSON representation
Episode code for the {Cursed Code} YouTube episodes
- Host: GitHub
- URL: https://github.com/bodacious/cursedcode
- Owner: Bodacious
- Created: 2024-05-07T09:23:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T21:03:58.000Z (about 2 years ago)
- Last Synced: 2025-04-29T23:34:44.512Z (about 1 year ago)
- Language: Ruby
- Homepage: https://www.youtube.com/playlist?list=PLSoe3m51zPA3LaXGdtKgWEOkzoqe66c_w
- Size: 80.1 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🧙🧙🏻{ Cursed Code } 🧙🧙
[YouTube Playlist for this repo](https://youtube.com/playlist?list=PLSoe3m51zPA3LaXGdtKgWEOkzoqe66c_w&si=XU7-zKa9OSf2c5jP)
## About This Repo
Welcome to the **Cursed Code** repository, a collection of _cursed_ Ruby code snippets submitted by the global Ruby community.
The code examples here are submitted by the global Ruby community, with the aim of them being refactored as educational guides.
## How to Read the Code Examples
All code examples are organised into their own directories. Each directory contains:
- A `before` directory with the original, cursed code.
- An `after` directory with the refactored version.
## How to Submit Some Cursed Code
1. Fork this repository.
2. Add your own directory with a `before` subdirectory containing your cursed code.
3. Create a Pull Request (PR) to propose your submission.
## Rules of Submission
1. You must have permission to share the code publicly, and consent to your code being used and refactored in various media.
2. The code must be written in Ruby.
3. Limit your example to a maximum of 5 files and 500 lines of code.
4. The code must include tests that can be easily run (preferably with `rake`)
5. Ensure the code includes a `Gemfile` for dependency management.
## Voting for Content You Would Like to See
Browse the pull requests and vote for the suggestions you'd like to see refactored by giving them a 👍 thumbs-up emoji.
Happy coding! 💀👾
[](https://github.com/Bodacious/CursedCode/actions/workflows/lint.yml)