Skip to content

Instantly share code, notes, and snippets.

@ruario
ruario / 1-README.md
Last active June 17, 2025 19:53
A script that fetches a ChromeOS image for ARM32 and extracts the Widevine binary, saving it in a compressed archive for use with Vivaldi

The included script 'widevine-flash_armhf.sh' fetches a ChromeOS image for ARM and extracts the Widevine binary, saving it in a compressed archive. Since it downloads a fairly large file (2Gb+ on disk after download) it is recommended that you run the script on a machine that has plenty of disk space.

To install the resultant archive, issue the following on your ARM machine–after copying over the archive if needed:

sudo tar Cfx / widevine-flash-20200124_armhf.tgz

(Where 'widevine-flash-20200124_armhf.tgz' is updated to reflect the actual name of the created archive)

@ruario
ruario / latest-firefox.sh
Last active June 16, 2025 09:35
This script will find the latest Firefox binary package, download it and repackage it into Slackware format.
#!/bin/bash
# latest-firefox Version 1.6.3
# Contributer: drgibbon (thanks!)
# This script will find the latest Firefox binary package, download it
# and repackage it into Slackware format.
# I don't use Firefox for regular browsing but it is handy for
# comparative tests against Vivaldi. :P
@ruario
ruario / h264-vivaldi-linux.md
Last active June 13, 2025 14:35
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library
@ruario
ruario / authy-fetch-extract-snap.md
Last active June 6, 2025 07:07
How to download and install Twilio Authy on a desktop Linux system without snap support
  • Make an install directory somewhere convenient and switch to it
mkdir -p ~/.local/share/authy
cd ~/.local/share/authy
  • Fetch the current Authy snap
@ruario
ruario / chrome-ua-test.md
Last active May 31, 2025 15:56
Launching Google Chrome with a Vivaldi User Agent

The following will allow you to test Chrome with a Vivaldi user agent. Shutdown Chrome and start a Terminal (or cmd.exe on Windows), then paste in the code that is relevant for your platform and press “Enter”–you can triple-click to select an entire line.

Testing with Chrome

NOTE: There is little point testing in Vivaldi because old versions already had workarounds for these specific issues and from 2.10 onwards we use a Chrome User Agent string.

Windows

"%PROGRAMFILES(X86)%\Google\Chrome\Application\chrome.exe" --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.94 Safari/537.36 Vivaldi/2.10.1745.21"
@ruario
ruario / latest-vivaldi.sh
Last active March 27, 2025 16:12
This script will find the latest Vivaldi binary package, download it and repackage it into Slackware format.
#!/bin/bash
# latest-Vivaldi Version 1.6.6
# This script will find the latest Vivaldi binary package, download it
# and repackage it into Slackware format.
# Copyright 2019 Ruari Oedegaard, Oslo, Norway All rights reserved.
#
# Redistribution and use of this script, with or without modification,
# is permitted provided that the following conditions are met:
@ruario
ruario / README.md
Last active March 19, 2025 22:55
Extracts an Opera Debian package and installs it into /usr/local. An uninstall script is also created and installed as well. Upgrades work if you used this script to install a previous version. Completely unofficial and unsupported by Opera Software.

Disclaimer: I wrote this script for my own personal usage. It is not officially supported by Opera Software.

Whilst Opera currently only provide .deb packages, it is possible to install Opera on different distros. This install script automates the process.

If you don't already have the script, fetch it like so:

git clone https://gist.github.com/ace4fb780216aa28d922.git

To install the latest stable release, issue:

@ruario
ruario / latest-opera.sh
Last active March 13, 2025 00:07
This script will find the latest Opera stable binary package, downloads and repackage it into Slackware format
#!/bin/bash
# latest-opera Version 2.1
# This script will find the latest Opera stable binary package,
# download it and repackage it into Slackware format.
# Copyright 2018 Ruari Oedegaard, Oslo, Norway
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ruario
ruario / cnvtlag.sh
Last active December 24, 2024 11:12
A script fetch and convert a Lagrange AppImage to a system installable package
#!/bin/sh -eu
# A script convert a Lagrange AppImage to a system installable package
# Determine if a local package should be used or if one should be fetched
if [ -n "${1:-}" ]; then
APPIMAGE="$1"
else
case "$(uname -m)" in
arm*) APPIMAGE_ARCH=armhf ;;
*) APPIMAGE_ARCH="$(uname -m)" ;;
@ruario
ruario / register-vivaldi.sh
Last active December 24, 2024 11:12
This script allows you to extract and register a Vivaldi Linux deb or rpm package with your Desktop Environment using a unique keyword, to assist with multiple side-by-side "installs".
#!/bin/sh -eu
a=off
if [ "x${1:-}" = "x-n" ] && [ -n "${2:-}" ]; then
n="${2#vivaldi-}"
c="Vivaldi-$n"
a=on
echo "Using the name: vivaldi-$n"
shift 2
fi
if [ -n "${1:-}" ]; then