Easy to remember, easy to forget.
It's nice to be able to run subl
in a terminal.
Easy to remember, easy to forget.
It's nice to be able to run subl
in a terminal.
##[IMPORTING GPG KEY] | |
# https://getfedora.org/pt/keys/faq/ | |
``` | |
rpm --import PUBKEY ... | |
``` | |
##[Adding a DNF Repository] | |
============== |
Installation | |
While it is not officially supported on Fedora or any other RPM-based distributions it is possible to get it to work on Fedora. There are two main ways of installing it: | |
Using unofficial repositories like the negativo17 repository. | |
Using Flatpaks | |
Flatpak | |
To install it using Flatpak one needs to get the source files required to build it, then build it and add it to one's Flatpak remote and install it. This can be done using the following set of commands: | |
----- | |
sudo dnf install flatpak flatpak-builder git make ostree -y |
#!/bin/bash | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# Extract the Kraken | |
tar -xvzf gitkraken-amd64.tar.gz | |
# Move the Kraken |
#!/bin/bash | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# copy the downloaded file into /opt directory | |
cp gitkraken-amd64.tar.gz /opt/ | |
cd /opt |
#version=RHEL7 | |
#platform x86, AMD64, or Intel EM64T | |
# Use graphical install | |
graphical | |
#cmdline | |
# X Window System configuration information | |
xconfig --startxonboot |
#version=RHEL7 | |
#platform x86, AMD64, or Intel EM64T | |
# Use graphical install | |
graphical | |
#cmdline | |
# X Window System configuration information | |
xconfig --startxonboot |
# bin/bash | |
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" |
# installs to /opt/gradle | |
# existing versions are not overwritten/deleted | |
# seamless upgrades/downgrades | |
# $GRADLE_HOME points to latest *installed* (not released) | |
gradle_version=2.9 | |
wget -N https://services.gradle.org/distributions/gradle-${gradle_version}-all.zip | |
sudo unzip -foq gradle-${gradle_version}-all.zip -d /opt/gradle | |
sudo ln -sfn gradle-${gradle_version} /opt/gradle/latest | |
sudo printf "export GRADLE_HOME=/opt/gradle/latest\nexport PATH=\$PATH:\$GRADLE_HOME/bin" > /etc/profile.d/gradle.sh | |
. /etc/profile.d/gradle.sh |
package de.tdlabs.training.keycloak; | |
import static java.util.Arrays.asList; | |
import javax.ws.rs.core.Response; | |
import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder; | |
import org.keycloak.admin.client.Keycloak; | |
import org.keycloak.admin.client.KeycloakBuilder; | |
import org.keycloak.representations.idm.CredentialRepresentation; |