Skip to content

Instantly share code, notes, and snippets.

View LorenzoLamberti94's full-sized avatar
🥑

Lorenzo Lamberti LorenzoLamberti94

🥑
View GitHub Profile
@p-ja
p-ja / README.md
Last active May 8, 2025 06:17
libffmpeg.so setup for Opera on Linux

How to fix not working videos in Opera on Linux

Assumptions

  • You're using Ubuntu (and maybe other distros using apt and snap)
  • Opera is installed using deb from https://download.opera.com
  • chromium-ffmpeg lib is installed using snap
sudo snap install chromium-ffmpeg
@dimitris-k
dimitris-k / __install_latest_starship
Last active October 21, 2024 10:27
A Shell scripts that checks starship repo for a newer binary version and installs it
#!/bin/bash
# Will check the "starship prompt" github repo for the latest binary version
# and in case a newer version exists, it will install it. Note, that the install script
# will ask the user to proceed.
# function to convert a string that contain a dotted version number to a string
# that can be used for alphanumeric comparison. It was found in this post replies:
# https://stackoverflow.com/questions/4023830/how-to-compare-two-strings-in-dot-separated-version-format-in-#!/bin/bash
function version { echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }'; }
@syneart
syneart / OpenCV3.2withContrib.sh
Last active January 22, 2025 11:06
OpenCV 3.2 with Contrib install script [CUDA supported]
######################################
# INSTALL OPENCV ON UBUNTU OR DEBIAN #
######################################
# Use below command to install OpenCV 3.2 with Contrib at Ubuntu or Debian on your own operating system.
# wget -O - https://gist.githubusercontent.com/syneart/3e6bb68de8b6390d2eb18bff67767dcb/raw/OpenCV3.2withContrib.sh | bash
# | THIS SCRIPT IS TESTED CORRECTLY ON |
# |-----------------------------------------------------------|
# | OS | OpenCV | CUDA | Test | Last test |