Skip to content

Instantly share code, notes, and snippets.

@JiriSko
JiriSko / jps2mpo.sh
Created August 19, 2022 10:01
Converting jps to mpo
#!/bin/bash
if [[ $# -eq 0 ]]; then
printf '%s\n' "Usage: $0 <image.jps> [<image2.jps> ...]" >&2
exit 1
elif ! [ -x "$(command -v git)" ]; then
printf '%s\n' "git not found or executable" >&2
exit 1
elif ! [ -x "$(command -v magick)" ]; then
printf '%s\n' "magick not found or executable" >&2
@JiriSko
JiriSko / SonarLint.xml
Created September 7, 2020 08:58
Codeac's SonarLint default configuration
<?xml version="1.0" encoding="UTF-8"?>
<AnalysisInput>
<Settings>
</Settings>
<Rules>
<Rule>
<Key>S100</Key>
</Rule>
<Rule>
<Key>S101</Key>