AboutLibrarySnippetsWishlistPhotosUses

Snippets

Collection of code or commands that make computers do things.

Filter:AllCSSJavaScriptGitLinuxnpmWindowsNext.jsHTTP

Align items vertically

  • css

Sticky element

  • css

Amend a commit

  • git

Inspect differences

  • git

Check the log

  • git

Move a commit to a different branch

  • git

Move files in a repo

  • git

Fetch from remote

  • git

Interactive rebase

  • git

Rename a branch

  • git

Reset HEAD to a specific commit

  • git

Restore a file from the index or another branch

  • git

Revert changes from a specific commit

  • git

Remove files from a repo

  • git

Stash changes for later

  • git

Cache-Control HTTP header

  • http

Remove array duplicates

  • javascript

Remove object property using the rest operator

  • javascript

Swap two variables

  • javascript

Toggle design mode to edit the current page

  • javascript
  • dom

Check battery status (capacity, charging rate)

  • linux
  • ubuntu

Read Firestore data in Next.js

  • nextjs

Draw a dependency tree in npm

  • npm

Move dependencies

  • npm

Find and remove unneeded node_modules directories

  • npm

Resolve conflicts in package-lock.json

  • npm

Automate npm tasks using Windows Task Scheduler

  • windows
  • npm

Quick entry for phrases or special characters on Windows

  • windows