Skip to content

Instantly share code, notes, and snippets.

View jarryDk's full-sized avatar

Michael Bornholdt Nielsen jarryDk

View GitHub Profile
@jarryDk
jarryDk / keycloak.sh
Created February 23, 2017 06:49 — forked from paoloantinori/keycloak.sh
Keycloak Admin API Rest Example
#!/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' \
@jarryDk
jarryDk / rpm-digital-signature.sh
Last active August 21, 2018 06:40 — forked from fernandoaleman/rpm-digital-signature.sh
How to sign your custom RPM package with GPG key
# 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 / GitCommitEmoji.md
Created November 28, 2018 07:15 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@jarryDk
jarryDk / workspaces-linux-client-rpm.md
Last active May 14, 2022 18:32 — forked from nhira/workspaces-linux-client-rpm.md
How to install Amazon Workspaces Linux Client for Fedora
@jarryDk
jarryDk / wksFedora.md
Created May 16, 2022 05:00 — forked from verchalent/wksFedora.md
Installing the Amazon WorkSpaces Linux Client on RPM based Distros

Summary

Amazon released a Linux based client for the WorkSpaces service in Novermber of 2019 (https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-workspaces-introduces-workspaces-client-for-linux/). Unfortunately, for non-Ubuntu users, the offical instructions (https://docs.aws.amazon.com/workspaces/latest/userguide/amazon-workspaces-linux-client.html#linux_setup) only list Ubuntu support and only a Deb package is provided. This guide will show how to install and use the client on RPM based distros like Fedora.

Steps

Install Dependancies

The WorkSpaces client requires the ackages gtk3, libsoup and webkit2gtk3. These should already be installed, but you can install them with the following command if they are now.

sudo dnf install webkit2gtk3 libsoup gtk3