Skip to content

Instantly share code, notes, and snippets.

View zahlenteufel's full-sized avatar

Gastón Bengolea Monzón zahlenteufel

View GitHub Profile
@zahlenteufel
zahlenteufel / minRectangle.html
Last active July 29, 2016 23:47
Minimum Enclosing Rectangle
<canvas id="myCanvas" width="500" height="500"></canvas>
@zahlenteufel
zahlenteufel / safeHtmlCollector.java
Created April 24, 2018 21:31
Java SafeHtml collector
class xxx {
Collector<SafeHtml, SafeHtmlBuilder, SafeHtml> safeHtmlCollector =
Collector.of(
SafeHtmlBuilder::new,
(BiConsumer<SafeHtmlBuilder, SafeHtml>) SafeHtmlBuilder::append,
(builder1, builder2) -> builder1.append(builder2.toSafeHtml()),
SafeHtmlBuilder::toSafeHtml);
}
@zahlenteufel
zahlenteufel / input.scss
Created June 17, 2022 16:00
Generated by SassMeister.com.
@mixin use-mobile-bottom-bar($value) {
.bottom-navigation-buttons-container {
display: if($value, block, none);
}
.navigation-buttons-container {
display: if($value, none, block);
}
}