Skip to content

Instantly share code, notes, and snippets.

@robertkruis
robertkruis / collapsible-tabs.css
Last active August 9, 2024 01:19
Vivaldi collapsible vertical tabs
/**
* Based on: https://forum.vivaldi.net/topic/82900/collapsing-vertical-tabs-that-expand-on-hover-with-and-without-floating-tabs/58?lang=en-US&page=3
*/
#browser {
--tabs-tabbar-container-width: 330px;
--tabs-tabbar-container-minwidth: 32px;
}
.tabs-left .tabbar-wrapper .tabbar-wrapper,
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active November 13, 2024 03:00
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@KaKi87
KaKi87 / awesome-android-x3Free.md
Last active September 17, 2024 20:38
Awesome list — Free, ad-free and in-app-free Android apps

Inspired by Awesome

Awesome

DISCLAIMER : this isn't really an awesome list, I don't care about guidelines, rules and etc. so I don't bother make a real repo and a real pull request.

About this list

This list uses the power of my advanced Google Play search engine to get some free, in-app-free and ad-free apps from it.

@GAS85
GAS85 / apache_ssl.md
Last active March 14, 2024 16:40
Apache 2.4.18+ with Letsencrypt on Ubuntu 20.04 - SSL config for A+ on SSLLabs.com

Prerequisites

  • Ubuntu 20.04 (18.04, 16.04 works the same)
  • Apache 2.4.18 or higher
  • OpenSSL 1.0.2g-1ubuntu4.10 or higher
  • e.g. LetsEncrypt certificate
OS: Ubuntu 20.04 Apache/2.4.18 1.0.2g-1ubuntu4.10 +

Given a subscribed calendar with a url like

https://example.com/example.ics

To force Google Calendar to refresh and reload the contents right now, unsubscribe from the calendar and subscribe to a new calendar with a URL like

https://example.com/example.ics#1

Adding the anchor tag will force Google Calendar to think of it as a new calendar

@gustavohenke
gustavohenke / svg2png.js
Created February 18, 2014 15:27
SVG to PNG
var svg = document.querySelector( "svg" );
var svgData = new XMLSerializer().serializeToString( svg );
var canvas = document.createElement( "canvas" );
var ctx = canvas.getContext( "2d" );
var img = document.createElement( "img" );
img.setAttribute( "src", "data:image/svg+xml;base64," + btoa( svgData ) );
img.onload = function() {
@atenni
atenni / README.md
Last active October 31, 2024 06:12
How to permalink to a gist's raw file

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]