Short JavaScript code snippets for all your development needs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Angelos Chalaris cc2e80e3f5
Fix ERR_TOO_MANY_REDIRECTS case
2 weeks ago
.github Update stale rules 2 months ago
.vscode Combine all truth check snippets into one 1 month ago
assets Remove iconfont 1 month ago
content Fix ERR_TOO_MANY_REDIRECTS case 2 weeks ago
design Restore changes lost to history rewrite 2 months ago
public Add cache headers for fonts 1 month ago
src Remove redundant examples styles 3 weeks ago
.env.development Bump CACHE_KEY values 9 months ago
.env.production Bump CACHE_KEY values 9 months ago
.gitattributes Update .gitignore for Next.js 3 years ago
.gitignore Ignore imported files 2 months ago
.nvmrc Upgrade to Node 18 10 months ago
.prettierignore Update configurations 3 years ago
.prettierrc Update configurations 3 years ago
CODE_OF_CONDUCT.md Update Code of Conduct 2 months ago
CONTRIBUTING.md fixes typo 3 months ago
LICENSE Relicense to CC-BY 2 years ago
README.md Update README 1 month ago
SECURITY.md Update SECURITY 2 months ago
astro.config.mjs Update Astro config for ESM 2 months ago
consts.ts Configure Astro 10 months ago
env.d.ts Configure Astro 10 months ago
eslint.config.js Update ESLint config to new format 2 months ago
globals.js Update ESLint config to new format 2 months ago
jsconfig.json Define imports (directory aliases) 2 months ago
logo.png Restore changes lost to history rewrite 2 months ago
netlify.toml Fix Netlify build directory 9 months ago
package-lock.json Remove unused dependency 3 weeks ago
package.json Remove unused dependency 3 weeks ago

README.md

Logo

30 seconds of code

Short code snippets for all your development needs

  • Visit the website to view the snippet collection.
  • Search for snippets and collections that suit your needs, using the name, tags, language or description.
  • Browse all snippets or individual snippet collections for each topic.
  • Click on each snippet card to view the whole snippet, including code, explanation and examples.
  • You can copy code blocks on any snippet card, using the copy button at the top right.
  • If you like the project, give it a star. It means a lot.

Want to contribute?

Credits

  • This repository is maintained by Angelos Chalaris.
  • All snippets are licensed under the CC-BY-4.0 License, unless explicitly stated otherwise.
  • Logos, names and trademarks are not to be used without the explicit consent of the owner.
  • The website is powered by Netlify, Astro & GitHub.