Skip to content

Instantly share code, notes, and snippets.

Michael Bornholdt Nielsen jarryDk

Block or report user

Report or block jarryDk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jarryDk
jarryDk / GitCommitEmoji.md
Created Nov 28, 2018 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
View GitCommitEmoji.md
@jarryDk
jarryDk / rpm-digital-signature.sh
Last active Aug 21, 2018 — forked from fernandoaleman/rpm-digital-signature.sh
How to sign your custom RPM package with GPG key
View rpm-digital-signature.sh
# How to sign your custom RPM package with GPG key
# Step: 1
# Generate gpg key pair (public key and private key)
#
# You will be prompted with a series of questions about encryption.
# Simply select the default values presented. You will also be asked
# to create a Real Name, Email Address and Comment (comment optional).
#
# If you get the following response:
@jarryDk
jarryDk / keycloak.sh
Created Feb 23, 2017 — forked from paoloantinori/keycloak.sh
Keycloak Admin API Rest Example
View keycloak.sh
#!/bin/bash
export TKN=$(curl -X POST 'http://localhost:8080/auth/realms/master/protocol/openid-connect/token' \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "username=admin" \
-d 'password=admin' \
-d 'grant_type=password' \
-d 'client_id=admin-cli' | jq -r '.access_token')
curl -X GET 'http://localhost:8080/auth/admin/realms' \
You can’t perform that action at this time.