Convert Figma logo to code with AI

rstacruz logocheatsheets

Cheatsheets for web development - devhints.io

13,729
3,589
13,729
906

Top Related Projects

50,319

📚 Collaborative cheatsheets for console commands

Master the command line, in one page

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

323,302

😎 Awesome lists about all kinds of interesting topics

160,973

A collection of useful .gitignore templates

Interactive roadmaps, guides and other educational content to help developers grow in their careers.

Quick Overview

rstacruz/cheatsheets is a comprehensive collection of cheatsheets for various programming languages, tools, and technologies. It serves as a quick reference guide for developers, offering concise and practical information on a wide range of topics. The project is open-source and community-driven, allowing contributions from developers worldwide.

Pros

  • Extensive coverage of numerous technologies and programming languages
  • Well-organized and easy to navigate
  • Regularly updated with new content and corrections
  • Available offline through a downloadable version

Cons

  • Some cheatsheets may not be as comprehensive as dedicated documentation
  • Occasional inconsistencies in formatting or depth of coverage across different topics
  • May require frequent updates to keep pace with rapidly evolving technologies

Getting Started

To use the cheatsheets:

  1. Visit the GitHub repository: https://github.com/rstacruz/cheatsheets
  2. Browse the available cheatsheets in the repository
  3. Click on the desired cheatsheet to view its content
  4. For offline use, clone the repository or download the ZIP file

Alternatively, you can visit the hosted version at https://devhints.io/ for a more user-friendly browsing experience.

Competitor Comparisons

50,319

📚 Collaborative cheatsheets for console commands

Pros of tldr

  • Extensive community-driven collection of command-line examples
  • Available as a command-line tool for quick access
  • Supports multiple languages and platforms

Cons of tldr

  • Focuses solely on command-line tools and commands
  • Less detailed explanations compared to comprehensive cheatsheets

Code comparison

tldr example (git commit):

# Commit staged files to the repository with a message:
git commit -m "message"

# Commit all modified files with a message:
git commit -am "message"

cheatsheets example (git commit):

git commit
  -a                    # Stages all changes
  -am 'Message'         # Stages all changes and commits
  --amend               # Amends the previous commit

Summary

tldr provides concise, practical examples for command-line tools, while cheatsheets offers a broader range of topics with more detailed explanations. tldr is better suited for quick reference during command-line work, whereas cheatsheets serves as a comprehensive resource for various programming languages and tools. Both projects have their merits, catering to different user needs and preferences in the developer community.

Master the command line, in one page

Pros of the-art-of-command-line

  • Focuses specifically on command-line skills, providing in-depth knowledge
  • Offers a comprehensive guide for both beginners and advanced users
  • Includes practical examples and real-world scenarios

Cons of the-art-of-command-line

  • Limited to command-line topics, lacking coverage of other programming areas
  • May be overwhelming for absolute beginners due to its depth and breadth
  • Less visually appealing layout compared to cheatsheets

Code Comparison

the-art-of-command-line:

# Find a command in your history
history | grep "command"

# Run the last command as root
sudo !!

cheatsheets:

# Git: Undo a commit
git reset HEAD~1

# Rails: Generate a model
rails generate model User name:string

Both repositories provide valuable resources for developers, but they serve different purposes. the-art-of-command-line is a comprehensive guide focused on command-line skills, offering in-depth knowledge and practical examples. It's particularly useful for those looking to master command-line operations.

On the other hand, cheatsheets covers a broader range of topics, including various programming languages and tools. It provides quick reference guides in a more visually appealing format, making it easier for developers to find specific information quickly.

While the-art-of-command-line excels in command-line expertise, cheatsheets offers a more diverse set of resources for different programming needs. The choice between the two depends on the user's specific requirements and learning preferences.

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

Pros of system-design-primer

  • Comprehensive coverage of system design concepts and principles
  • Includes practical examples and case studies of real-world systems
  • Provides a structured learning path for system design interviews

Cons of system-design-primer

  • More focused on theoretical concepts, less on quick reference
  • Requires more time investment to fully utilize the content
  • Less variety in topics covered compared to cheatsheets

Code comparison

system-design-primer:

class LRUCache:
    def __init__(self, capacity):
        self.capacity = capacity
        self.cache = OrderedDict()

    def get(self, key):
        if key not in self.cache:
            return -1
        self.cache.move_to_end(key)
        return self.cache[key]

cheatsheets:

### Arrays

| -                | JS         | Ruby        |
| ---------------- | ---------- | ----------- |
| Index            | `a[i]`     | `a[i]`      |
| Length           | `a.length` | `a.length`  |
| Subarray         | `a.slice(start, end)` | `a[start...end]` |
| Concatenation    | `c = a.concat(b)` | `c = a + b` |

The system-design-primer repository focuses on in-depth system design concepts, providing comprehensive explanations and examples. It's particularly useful for those preparing for system design interviews or looking to deepen their understanding of large-scale system architecture.

On the other hand, cheatsheets offers a wide range of quick reference guides for various programming languages and tools. It's more suitable for developers looking for concise, easy-to-access information on specific topics across different technologies.

323,302

😎 Awesome lists about all kinds of interesting topics

Pros of awesome

  • Broader scope, covering a wide range of topics and technologies
  • Larger community contribution, resulting in more frequent updates
  • Better organization with categorized lists and sub-lists

Cons of awesome

  • Less detailed information on specific topics
  • Can be overwhelming due to the sheer volume of links and resources
  • Requires more time to find specific information

Code comparison

While both repositories primarily consist of markdown files, awesome includes some basic HTML for improved formatting:

awesome:

<details>
  <summary>Show more</summary>
  <!-- Additional content -->
</details>

cheatsheets:

## Topic
- Subtopic 1
- Subtopic 2

Summary

awesome is a comprehensive collection of curated lists covering various topics, making it an excellent starting point for discovering resources. cheatsheets, on the other hand, provides more focused and detailed information on specific technologies and tools, making it better suited for quick reference and learning. The choice between the two depends on whether you need a broad overview of available resources or detailed information on particular subjects.

160,973

A collection of useful .gitignore templates

Pros of gitignore

  • Comprehensive collection of gitignore templates for various programming languages and environments
  • Official GitHub repository, ensuring high-quality and up-to-date content
  • Widely adopted and used by developers across the globe

Cons of gitignore

  • Limited to gitignore files only, not covering other development topics
  • Less visually appealing presentation compared to cheatsheets
  • Requires more effort to find specific information within the repository

Code Comparison

gitignore (Python.gitignore):

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

cheatsheets (python.md):

### Lists

```python
list = []
list = [1, 2, 3, 4, 5]
list[0]   # => 1
list[-1]  # => 5

The gitignore repository focuses on providing gitignore templates for various programming languages and environments, while cheatsheets offers a broader range of quick reference guides for different technologies and tools. gitignore is more specialized and official, whereas cheatsheets covers a wider array of topics with a more user-friendly presentation.

Interactive roadmaps, guides and other educational content to help developers grow in their careers.

Pros of developer-roadmap

  • Provides comprehensive learning paths for various tech roles
  • Offers visual roadmaps for easier understanding of career progression
  • Regularly updated to reflect current industry trends and technologies

Cons of developer-roadmap

  • Less detailed information on specific technologies or concepts
  • May be overwhelming for beginners due to the breadth of information
  • Focuses more on career paths than quick reference material

Code comparison

While both repositories primarily contain documentation rather than code, developer-roadmap includes some JavaScript for interactive elements:

// developer-roadmap
import React from 'react';
import { BrowserRouter, Route, Switch } from 'react-router-dom';

// cheatsheets
<!-- No equivalent JavaScript code -->

cheatsheets focuses on providing concise information in Markdown format:

# JavaScript

### Arrays

    list = [a,b,c,d]
    list[1]                 // → b
    list.indexOf(b)         // → 1

Both repositories serve different purposes: developer-roadmap offers career guidance and learning paths, while cheatsheets provides quick reference material for various technologies. The choice between them depends on whether you're looking for career direction or specific technical information.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Devhints

TL;DR for developer documentation - a ridiculous collection of cheatsheets


✨ devhints.io ✨



See CONTRIBUTING.md for developer notes.

Open in Gitpod

Similar projects