Git Product home page Git Product logo

cheat-sheets's Introduction

Cheat Sheets

All Contributors

A searchable site of hints and tips!

Image Credit ccbyplz

A place for all my cheat sheets to live!

This is a list of stuff that I have put down that I continually reference.

Current list of sheets:

  • Alfred
  • Fish Shell
  • Bash
  • Homebrew
  • Hyperterm
  • JavaScript
  • Linux
  • macOS
  • npm
  • now
  • Windows Subsystem Linux (WSL)
  • VS Code
  • Node Version Manager (nvm)
  • npx
  • Yarn
  • ZSH
  • Git

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Scott Spence

๐Ÿ’ป ๐Ÿ“–

Nicky Meuleman

๐Ÿ“–

Chuck

๐Ÿ“–

GHOST

๐Ÿ“–

Tanner Dolby

๐Ÿ“–

marcusbarnesdeveloper

๐Ÿ“–

Annie

๐Ÿ“–

Daniel

๐Ÿ“–

Deven Blake

๐Ÿ“–

Jatin Rao

๐Ÿ“–

Jesse Mazzella

๐Ÿ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

cheat-sheets's People

Contributors

anniebombanie avatar ddieppa avatar dependabot[bot] avatar eclectic-coding avatar ghostdevv avatar imgbot[bot] avatar imgbotapp avatar jatin2003 avatar marcusbarnesdeveloper avatar nickymeuleman avatar osalvatierra avatar ozyx avatar renovate-bot avatar renovate[bot] avatar spences10 avatar tannerdolby avatar trn1ty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cheat-sheets's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

RFC - tiny cheats

This is to discuss how the sheets are broken up (if at all) to cater for the UI aspect of presenting the user with a flash card.

My usual usage for these sheets is:

Navigate to the repo
Navigate to the desired section, usually, git
Ctrl+f for finding what I'm looking for

Once the search function is enabled and we understand the functionality then I think we can re-visit this issue.

Styling of cards

This should be considered once the basic search is agreed upon and implemented.

Use a card component to display the specific section of the search you want rather than the whole document?

Let's discuss

Add in Ubuntu specific page

One thing to go on there will be removing snap firefox and replacing with apt version

snap list
sudo snap remove firefox
sudo apt install firefox
snap list

Add sheets for shells

wsl.md

  • include some of the config commands for wsl

bash.md

fish.md

  • include aliases
  • oh my fish

zsh.md

  • include aliases
  • oh my zsh

Fix spelling typo, changing 'prototypal' to 'prototypical'

Typo in spelling for 'prototypical'.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://github.com/spences10/cheat-sheets/blob/main/sheets/javascript.md#prototypal-instantiation'
  2. See error

Expected behavior A clear and concise description of what you
expected to happen.
For the word to spelled 'prototypical'

Screenshots If applicable, add screenshots to help explain your
problem.

Desktop (please complete the following information):

  • OS: [macOS]
  • Browser [chrome]
  • Version [Version 96.0.4664.55 (Official Build) (x86_64)]

Gitignore

Scott,
I have been experimenting with generating .gitignore files from the command line and I thought you might be interested in this one. I have been using the gitignore.io API.

To set up on Linux ZSH:

echo "function gi() { curl -sLw "\n" https://www.gitignore.io/api/\$@ ;}" >> \
~/.zshrc && source ~/.zshrc

Then inside your project:

gi linux,visualstudiocode,node >> ./.gitignore 

Thats pretty much it. Lots of different languages supported.

center things

My new favourite way to vertically + horizontally center something:

.parent {
display: grid;
place-items: center;
}

So much more semantic than justify-content/align-items!

See it in action: https://t.co/0ohvfbQ64a

H/t to the CSS Tricks newsletter

Via Josh Comenu on Twitter

Adding a new repo!

echo "# vba-custom-calendar-control" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/spences10/vba-custom-calendar-control.git
git push -u origin master

Implement Downshift

As mentioned in #14 look to use downshift for the search functionality of sections, git, npm, etc. then use (a second one) to search the selected section.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @playwright/test ^1.43.0
  • @sveltejs/adapter-auto ^3.2.0
  • @sveltejs/kit ^2.5.5
  • @sveltejs/vite-plugin-svelte ^3.1.0
  • @tailwindcss/forms ^0.5.7
  • @tailwindcss/typography ^0.5.12
  • @typescript-eslint/eslint-plugin ^7.6.0
  • @typescript-eslint/parser ^7.6.0
  • autoprefixer ^10.4.19
  • daisyui ^4.10.1
  • date-fns ^3.6.0
  • eslint ^9.0.0
  • eslint-config-prettier ^9.1.0
  • eslint-plugin-svelte ^2.37.0
  • fathom-client ^3.6.0
  • mdsvex ^0.11.0
  • postcss ^8.4.38
  • postcss-load-config ^5.0.3
  • prettier ^3.2.5
  • prettier-plugin-tailwindcss ^0.5.13
  • prism-themes ^1.9.0
  • rehype-autolink-headings ^7.1.0
  • rehype-external-links ^3.0.0
  • rehype-slug ^6.0.0
  • remark-external-links ^9.0.1
  • svead ^0.0.4
  • svelte ^5.0.0-next.1
  • svelte-check ^3.6.9
  • tailwindcss ^3.4.3
  • theme-change ^2.5.0
  • tslib ^2.6.2
  • typescript ^5.4.5
  • vite ^5.2.8
  • vitest ^1.5.0

  • Check this box to trigger a request for Renovate to run again on this repository

Add example to JavaScript sheet for converting an array of objects into a single object.

This feature request is to add a new example to the JavaScript sheet.

Q: Cleanest way to convert this array into a single object?

A: You can use Object.assign() and spread syntax to convert the array of objects into a single object.

My post on StackOverflow: https://stackoverflow.com/questions/69983792/cleanest-way-to-convert-this-array-into-a-single-object/69983821#69983821

const items = [
  { address: '123 ABC street' },
  { isLeased: false },
  { hasPool: true }
]
const obj = Object.assign({}, ...items);
console.log(obj);
// { "address": "123 ABC street", "isLeased": false, "hasPool": true }

Describe the solution you'd like A clear and concise description
of what you want to happen.
I would like to see this example added to the JavaScript sheet as there isn't an example for converting an array of objects into a single object.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.