Skip to content

Instantly share code, notes, and snippets.

View djibe's full-sized avatar

JB djibe

View GitHub Profile
@djibe
djibe / fidelityfx-photo-upscale
Created November 25, 2021 21:36
FidelityFX example command
`FidelityFX_CLI.exe -Scale 4x 4x -Mode CAS -Sharpness 0.3 -FP16 input.jpg output.jpg`
@djibe
djibe / hugo-shortcode-table.html
Last active January 26, 2023 15:03
Hugo static site ultimate table shortcode
{{ $htmlTable := .Inner | markdownify }}
{{ $old := "<table>" }}
{{ $new := "" }}
{{ $title := .Get "title" }}
{{ $extraClass := .Get "class" }}
{{ $id := "" }}
{{ with .Get "id" }}
{{ $id = . }}
{{ else }}
{{ $id = delimit (shuffle (seq 1 9)) "" }}
@djibe
djibe / select2-standalone-material.css
Last active July 11, 2020 14:14
Material theme for Select2 (standalone) v0.1.0
/* Select2 jQuery plugin standalone material design theme by djibe
*
*/
.select2-container {
display: block;
margin: 0;
min-width: 200px;
position: relative; }
.select2-container *:focus {
outline: 0; }