Skip to content

Instantly share code, notes, and snippets.

View andrekorol's full-sized avatar
🏄
AndreKorol.eth

Andre Korol andrekorol

🏄
AndreKorol.eth
  • São José dos Campos - São Paulo - Brazil
  • X @andrekorol1
View GitHub Profile
@lukas-h
lukas-h / license-badges.md
Last active November 11, 2024 03:22
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

Upload images to GitHub

  1. Create a new issue on GitHub.

  2. Drag an image into the comment field.

  3. Wait for the upload process to finish.

  4. Copy the URL and use it in your Markdown files on GitHub.

@remy
remy / ActiveLink.js
Last active November 2, 2024 23:50
Next.js version of `activeClassName` support.
@gaearon
gaearon / minification.md
Last active October 15, 2024 07:39
How to Set Up Minification

In production, it is recommended to minify any JavaScript code that is included with your application. Minification can help your website load several times faster, especially as the size of your JavaScript source code grows.

Here's one way to set it up:

  1. Install Node.js
  2. Run npm init -y in your project folder (don't skip this step!)
  3. Run npm install terser

Now, to minify a file called like_button.js, run in the terminal:

@mmathys
mmathys / vimeo-vod.md
Last active October 23, 2024 17:25
Download Vimeo VOD (video on demand)

How to download vimeo VOD for offline usage

Variant 1

Use youtube-dl directly to download the video (thanks @meepybub!) Example:

youtube-dl -u <[email protected]> "https://vimeo.com/ondemand/<video>"