Skip to content

Instantly share code, notes, and snippets.

# Edited based on comments of szaimen below.
# Working setup for photo storage in Nextcloud with Memories, Recognize, Preview Generator, Redis
# Use NextCloud-AIO https://github.com/nextcloud/all-in-one
# Following libraries are required and included by default since the latest beta image.
# exiftool is needed for Memories
# ffmpeg is needed for video thumbnails
# gcompat is needed for NodeJS in Recognize
# Note that currently Nextcloud 25.0.2 is still on the beta channel, so you'd have to use
# nextcloud/all-in-one:beta or nextcloud/all-in-one:beta-arm64 (for ARM) as image
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@santisbon
santisbon / Search my gists.md
Last active June 11, 2024 02:58
How to search gists.

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@bendc
bendc / functional-utils.js
Last active September 15, 2023 12:12
A set of pure ES2015 functions aimed to make functional JavaScript more idiomatic.
// array utils
// =================================================================================================
const combine = (...arrays) => [].concat(...arrays);
const compact = arr => arr.filter(Boolean);
const contains = (() => Array.prototype.includes
? (arr, value) => arr.includes(value)
: (arr, value) => arr.some(el => el === value)