Skip to content

Instantly share code, notes, and snippets.

View BrentRobert's full-sized avatar

Brent Robert BrentRobert

  • Antwerp, Belgium
  • 19:46 (UTC +01:00)
View GitHub Profile
@BrentRobert
BrentRobert / hls.sh
Created November 15, 2024 22:06 — forked from stenuto/hls.sh
HLS ffmpeg script
#!/bin/bash
# Function to display usage information
usage() {
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]"
exit 1
}
# Check if at least one argument (input file) is provided
if [ $# -lt 1 ]; then
@BrentRobert
BrentRobert / enterprise-search-product.patch
Last active July 5, 2019 09:46
Enterprise search product fix
--- custom/plugins/SwagEnterpriseSearch/Resources/Views/_public/frontend/src/js/jquery.ajax-search.js (date 1556877559000)
+++ custom/plugins/SwagEnterpriseSearch/Resources/Views/_public/frontend/src/js/jquery.ajax-search.js (date 1556877559000)
@@ -473,16 +473,9 @@
html: $('<a>', {
href: match.link,
title: match.title,
- html: $('<object>', {
- type: 'image/jpg',
- class: 'image',
- attr: {