Skip to content

Instantly share code, notes, and snippets.

@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
@nikhita
nikhita / minikube-upgrade.md
Created February 12, 2020 17:22
How to upgrade minikube to the latest version in Linux.

Find the current version

$ minikube version
minikube version: v1.7.1

Check if there are newer versions available

@orip
orip / build.gradle
Created February 14, 2013 09:52
Print Gradle test results to console
/*
Sample output:
> gradle test ruby-1.9.3-p194 testing_with_gradle 9179829 ✗
...
:test
Results: SUCCESS (84 tests, 74 successes, 0 failures, 10 skipped)
*/
test {
testLogging {
@kdabir
kdabir / get_content.groovy
Created February 22, 2012 13:04
get content from url and write to a file in groovy
// saving from url to a file (append)
new File("output.xml") << new URL ("http://some.url/some/path.xml").getText()