See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
| } | |
| # Usage | |
| # $ get_latest_release "creationix/nvm" | |
| # v0.31.4 |
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"URLs that can be created is from:
https://github.com/*https://*.github.com| import io.ktor.application.ApplicationCall | |
| import io.ktor.application.call | |
| import io.ktor.http.HttpMethod | |
| import io.ktor.routing.Route | |
| import io.ktor.routing.Routing | |
| import io.ktor.routing.route | |
| import kotlin.reflect.KFunction | |
| import kotlin.reflect.full.callSuspendBy | |
| import kotlin.reflect.full.declaredMemberFunctions | |
| import kotlin.reflect.jvm.javaType |
| #!/bin/bash | |
| # | |
| # Delete all artifacts | |
| # | |
| # USAGE: ./delete-all-artifacts.sh {YOUR_PERSONAL_ACCESS_TOKEN} {OWNER_REPO} | |
| # | |
| # Where `{YOUR_PERSONAL_ACCESS_TOKEN}` should have `workflow` and `repo` scopes | |
| # to work this script. `public_repo` can be used instead of `repo`, when you | |
| # want delete artifacts from public repositories only. | |
| # |
Hello! I'm Amish (also known as hydrabolt), and I am the creator of discord.js.
I created discord.js as a hobby/learning project for myself in August 2015 while I was still a teenager in school.
More than 6 years later, discord.js has become more popular than I could ever imagine, and I cannot express how grateful I am to the other contributors and the community for this amazing experience.
A few of my favourite highlights include:
(download latest version from https://www.amd.com/en/support)
$ wget https://repo.radeon.com/amdgpu-install/22.40.3/rhel/9.1/amdgpu-install-5.4.50403-1.el9.noarch.rpm
$ sudo dnf install ./amdgpu-install-*.noarch.rpm