Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
package dk.jarry.util; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.nio.file.StandardOpenOption; | |
import java.util.UUID; | |
import com.fasterxml.jackson.core.JsonParseException; |
package dk.jarry.util; | |
import java.io.IOException; | |
import java.io.StringReader; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.nio.file.StandardOpenOption; | |
import java.util.UUID; |
#!/bin/bash | |
function gitSquash() { | |
# Check if the current directory is in a Git repository. | |
if [ "$(git rev-parse --is-inside-work-tree &>/dev/null; echo "${?}")" == '0' ]; then | |
if [ "X" != "X$1" ]; then | |
MESSAGE="" | |
if [ "X" != "X$2" ]; then | |
MESSAGE=" -m \"$2\"" |
def sout = new StringBuilder(), serr = new StringBuilder() | |
def proc = 'curl -ivk https://dr.dk'.execute() | |
proc.consumeProcessOutput(sout, serr) | |
proc.waitForOrKill(1000) | |
println "out> $sout err> $serr" |
#!/bin/bash | |
# | |
# Get ready to build openjdk/jdk on Fedora | |
# | |
# You can easilly forget fontconfig-devel if you follow the builder guide | |
# https://github.com/openjdk/jdk/blob/master/doc/building.md | |
# | |
sudo dnf install \ |
#!/bin/bash | |
# Link: https://stackoverflow.com/questions/16090869/how-to-pretty-print-xml-from-the-command-line#16090892 | |
# | |
# This utility comes with libxml2-utils: https://gitlab.gnome.org/GNOME/libxml2 | |
# | |
echo '<root><foo a="b">lorem</foo><bar value="ipsum" /></root>' | | |
xmllint --format - |
#!/bin/bash | |
MINECRAFT_VERSION=1.18.1 | |
set -euo pipefail | |
cd ${0%/*} | |
PIDFILE=./minecraft.pid | |
SESSION_LOCK=./world/session.lock | |
GREEN='\033[0;32m' |
The good news is that there is an Amazon Workspaces Linux client. If you happen to use Ubuntu, you can use the [official instructions](https://docs.aws.amazon.com/workspaces/latest/userguide/amazon-workspaces-linux-client.html#linux_setup Amazon Workspaces Linux client docs). But what if you're on an rpm-friendly distribution like Fedora or CentOS?
alien
to the rescue.
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.
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