This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- add hx-indicator="#main-progress-bar" on <body> --> | |
<div id="main-progress-bar" class="progress-bar"> | |
<div class="progress-indicator"></div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<title>Index | @htmx.org</title> | |
</head> | |
<h1>Home</h1> | |
<p>Having fun with htmx ^^</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Optional; | |
public final class Decode<T> implements Expression<T> { | |
private final T value; | |
private final boolean expression; | |
public Decode(final boolean expression, final T value) { | |
this.expression = expression; | |
this.value = value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Objects; | |
public class Text implements CharSequence { | |
protected final CharSequence origin; | |
public Text(final String origin) { | |
this.origin = origin == null ? "" : origin.trim(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -em | |
cd $(dirname $0) | |
rm -f *.opus | |
for i in *.flac | |
do | |
opusenc --bitrate 160 "$i" "$(echo $i | sed "s/.flac//g")".opus | |
mv -v *.opus ../opus | |
done |
OlderNewer