Convert Figma logo to code with AI

jbranchaud logotil

:memo: Today I Learned

13,370
735
13,370
19

Top Related Projects

🖥 📊 🕹 🛠 A curated list of command line apps

:link: Some useful websites for programmers.

Master the command line, in one page

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

Cheatsheets for web development - devhints.io

50,319

📚 Collaborative cheatsheets for console commands

Quick Overview

TIL (Today I Learned) is a GitHub repository created by Josh Branchaud to document short, concise write-ups on small things he learns day to day across a variety of languages and technologies. It serves as a knowledge base and quick reference for various programming topics, tools, and techniques.

Pros

  • Diverse range of topics covering multiple programming languages and technologies
  • Concise and easy-to-understand explanations
  • Regularly updated with new content
  • Searchable and well-organized structure

Cons

  • Some entries may become outdated over time
  • Depth of explanations can vary, with some topics covered more thoroughly than others
  • Personal nature of the content means it may not cover all aspects of a given topic
  • No formal peer review process for accuracy

Getting Started

As this is not a code library but a collection of markdown files, there's no need for installation or setup. To use the TIL repository:

  1. Visit the GitHub repository: https://github.com/jbranchaud/til
  2. Browse the folders to find topics of interest
  3. Click on individual markdown files to read the content
  4. Use the search function to find specific topics
  5. Consider starring or forking the repository to keep track of updates

You can also clone the repository locally for offline access:

git clone https://github.com/jbranchaud/til.git
cd til

To contribute your own TILs, you can fork the repository, add your content, and submit a pull request to the original repository.

Competitor Comparisons

🖥 📊 🕹 🛠 A curated list of command line apps

Pros of awesome-cli-apps

  • Comprehensive collection of CLI applications across various categories
  • Well-organized with clear categorization and descriptions
  • Regularly updated with new additions and community contributions

Cons of awesome-cli-apps

  • Lacks personal insights or experiences with the listed applications
  • No detailed explanations or tutorials on how to use the apps
  • May be overwhelming for beginners due to the large number of options

Code comparison

Not applicable, as both repositories are primarily curated lists without significant code samples.

Key differences

til:

  • Personal collection of daily learnings
  • Focused on various programming topics and technologies
  • Provides brief explanations and code snippets for each learning

awesome-cli-apps:

  • Curated list of command-line applications
  • Covers a wide range of categories (productivity, development, system, etc.)
  • Includes links to the applications' repositories or websites

Use cases

til:

  • Quick reference for programming concepts and techniques
  • Inspiration for continuous learning and knowledge sharing
  • Useful for developers looking to expand their skills incrementally

awesome-cli-apps:

  • Resource for discovering new command-line tools
  • Helpful for developers and power users seeking to enhance their workflow
  • Reference for comparing different CLI applications within specific categories

:link: Some useful websites for programmers.

Pros of Best-websites-a-programmer-should-visit

  • Comprehensive collection of resources covering various programming topics
  • Well-organized into categories, making it easy to find specific information
  • Regularly updated with new and relevant websites

Cons of Best-websites-a-programmer-should-visit

  • Less focused on specific programming tips and tricks
  • May be overwhelming for beginners due to the large number of resources
  • Requires external browsing to access the actual content

Code Comparison

While both repositories primarily focus on curating information rather than providing code examples, they differ in their approach to organizing content:

Best-websites-a-programmer-should-visit:

## Index
- [When you get stuck](#when-you-get-stuck)
- [News](#news)
- [Coding practice for beginners](#coding-practice-for-beginners)

til:

# TIL

> Today I Learned

A collection of concise write-ups on small things I learn day to day across a
variety of languages and technologies.

The Best-websites-a-programmer-should-visit repository uses a table of contents with categories, while til organizes content as individual markdown files for each topic learned.

Both repositories serve as valuable resources for programmers, with Best-websites-a-programmer-should-visit offering a broader range of external resources and til providing more focused, bite-sized pieces of information directly within the repository.

Master the command line, in one page

Pros of the-art-of-command-line

  • Comprehensive guide focused specifically on command-line mastery
  • Well-organized structure with clear sections for different skill levels
  • Includes advanced topics like system debugging and one-liners

Cons of the-art-of-command-line

  • Less frequently updated compared to til
  • Narrower scope, focusing only on command-line topics
  • May be overwhelming for beginners due to its depth

Code Comparison

til:

# Python

- [Convert String to Datetime](python/convert-string-to-datetime.md)
- [Create a Directory If It Does Not Exist](python/create-directory-if-not-exists.md)
- [Encode Query Parameters](python/encode-query-parameters.md)

the-art-of-command-line:

# Print all commands executed in a bash script
bash -x ./my_script.sh

# Find files that have been modified in the last day
find . -mtime -1 -type f -print

The til repository offers a broader range of topics with concise, focused entries, while the-art-of-command-line provides in-depth command-line expertise. til is more frequently updated and easier for beginners to digest, whereas the-art-of-command-line offers a comprehensive resource for mastering command-line skills.

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

Pros of the-book-of-secret-knowledge

  • Comprehensive collection of various tools, techniques, and resources
  • Well-organized with clear categories and subcategories
  • Includes a wide range of topics beyond just programming

Cons of the-book-of-secret-knowledge

  • Less frequent updates compared to til
  • May be overwhelming for beginners due to the vast amount of information
  • Lacks personal insights or explanations for each entry

Code Comparison

While both repositories primarily focus on knowledge sharing rather than code, til occasionally includes code snippets. For example:

til:

[1, 2, 3].sum # => 6
[1, 2, 3].sum { |n| n * 2 } # => 12

the-book-of-secret-knowledge doesn't typically include code snippets, instead focusing on tool recommendations and command-line examples:

nmap -p- -sV -sS -T4 target

Both repositories serve as valuable resources for developers and IT professionals, but with different approaches. til offers bite-sized, daily learning experiences, while the-book-of-secret-knowledge provides a comprehensive collection of tools and knowledge across various domains.

Cheatsheets for web development - devhints.io

Pros of cheatsheets

  • More comprehensive and organized content, covering a wider range of topics
  • Better visual presentation with formatted tables and syntax highlighting
  • Regularly updated with contributions from multiple users

Cons of cheatsheets

  • May be overwhelming for beginners due to the sheer amount of information
  • Less focused on personal learning experiences compared to TIL format
  • Requires more time to navigate and find specific information

Code comparison

til:

# Git

- [Undo a Git Merge](git/undo-a-git-merge.md)
- [View a File from Another Branch](git/view-a-file-from-another-branch.md)
- [Stage Hunks of Changes](git/stage-hunks-of-changes.md)

cheatsheets:

## Git

### Branches

| Command                   | Description                                              |
| ------------------------- | -------------------------------------------------------- |
| `git branch`              | List all local branches                                  |
| `git branch -r`           | List all remote branches                                 |
| `git branch [branch-name]`| Create a new branch                                      |

The code comparison shows that til uses a simple list format for organizing content, while cheatsheets employs formatted tables for better readability and organization of commands and descriptions.

50,319

📚 Collaborative cheatsheets for console commands

Pros of tldr

  • Larger community-driven project with more contributors and wider coverage of commands
  • Structured format for consistent presentation of command examples
  • Available in multiple languages, improving accessibility for non-English speakers

Cons of tldr

  • Focused solely on command-line tools, limiting the scope of topics covered
  • Less personal and potentially less in-depth explanations compared to individual TIL entries
  • Stricter contribution guidelines may discourage casual contributors

Code Comparison

tldr example (simplified):

# ls

List directory contents.

- List files one per line:
  ls -1

- List all files, including hidden files:
  ls -a

- Long format list (permissions, ownership, size, and modification date) of all files:
  ls -la

TIL example:

# Use ls to list only directories

To list only directories in the current folder:

ls -d */

This uses the `-d` flag to list directories themselves, not their contents, 
and the `*/` pattern to match only directories.

Summary

While tldr focuses on providing concise command-line examples with a structured format and broad language support, TIL offers a more diverse range of topics with personal insights. tldr benefits from a larger community but may lack the depth found in individual TIL entries. The choice between them depends on whether you prefer standardized command references or a variety of programming and technology tips.

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

TIL

Today I Learned

A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post. These are things I've picked up by Learning In Public™ and pairing with smart people at Hashrocket.

For a steady stream of TILs, sign up for my newsletter.

1440 TILs and counting...


Categories


Ack

Amplify

Ansible

Brew

Chrome

Clojure

CSS

Deno

Devops

Docker

Elixir

Gatsby

Git

GitHub Actions

Go

GROQ

Heroku

HTML

HTTP

Inngest

Internet

JavaScript

jq

Kitty

Linux

LLM

Mac

MongoDB

MySQL

Neovim

Netlify

NextAuth.js

Next.js

Phoenix

Planetscale

pnpm

PostgreSQL

Prisma

Python

Rails

React

React Native

React Testing Library

ReasonML

Remix

RSpec

Ruby

sed

Shell

SQLite

Streaming

Tailwind CSS

tmux

TypeScript

Unix

Vercel

Vim

VSCode

Webpack

Workflow

XState

YAML

Zod

Usage

The .vimrc file for this project contains a function CountTILs that can be invoked with <leader>c. This will do a substitution count of the current number of TILs and display the result in the command tray.

About

I shamelessly stole this idea from thoughtbot/til.

Other TIL Collections

License

© 2015-2022 Josh Branchaud

This repository is licensed under the MIT license. See LICENSE for details.