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,
@robertkruis
robertkruis / edge-vertical-style-tabs.css
Created April 8, 2021 00:03
Vivaldi Edge Vertical Style Tabs - Customized
/*
Author: t. Macleod Sawyer (@Drannex42)
Version: 1.2.8
Description: The following file attempts to recreate (and heavily improve!) the Microsoft Edge style vertical tabs (that are currently in very limited alpha release) in the Vivaldi browser. I spent about four or so hours on this.
URL: https://github.com/drannex42/vivaldi-mods/blob/master/edge_style_vertical_tabs.css
*/
/* Update Log
v1.0.1-1.1.0: Fixed tab positioning, roundness, notification icons, audio icons, improved theme colouring, tab overflow, scrolling, vivaldi/menu icons, and many other.
@robertkruis
robertkruis / gdb.json
Last active January 27, 2021 21:40
scoop - gdb 10.1-2
{
"version": "10.1-2",
"description": "GNU Debugger (Mingw-w64 port from MSYS2 project)",
"homepage": "https://mingw-w64.org",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": [
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-bzip2-1.0.8-2-any.pkg.tar.zst",
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-ca-certificates-20200601-2-any.pkg.tar.zst",
@robertkruis
robertkruis / gcc.json
Last active January 27, 2021 21:07
scoop - gcc 10.2.0-6
{
"homepage": "https://mingw-w64.org",
"description": "GNU Compiler Collection (Mingw-w64 port from MSYS2 project)",
"version": "10.2.0-6",
"license": "GPL-3.0-or-later,ZPL-2.1,...",
"architecture": {
"64bit": {
"url": [
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-10.2.0-6-any.pkg.tar.zst",
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-binutils-2.35.1-3-any.pkg.tar.zst",
{
"version": "5.965",
"homepage": "https://www.reaper.fm",
"bin": [
"reaper.exe",
"reamote.exe"
],
"shortcuts": [
[
"reaper.exe",
@robertkruis
robertkruis / rider-portable.json
Created February 2, 2019 00:02
A scoop file for Jetbrains Rider
{
"version": "2018.3.2",
"homepage": "https://www.jetbrains.com/rider/",
"url": "https://download.jetbrains.com/rider/JetBrains.Rider-2018.3.2.win.zip",
"hash": "352c272d9816741354245adb7140d6764734565e016decbe4df0f446d2c56c37",
"bin": [
[
"bin\\rider.bat",
"rider"
]
@robertkruis
robertkruis / index.html
Created January 6, 2017 10:49
Hide and show fields based on radio button value
<p>How would you like to share your file?</p>
<div>
<div>
<input type="radio" name="resume" id="upload" value="upload">
<label for="upload">Upload file</label>
<div id="reveal-upload">
<input type="file" accept="file_extension">
</div>
</div>
<div>
@robertkruis
robertkruis / Options.cs
Last active August 3, 2016 11:33
CommandLine: Display help text without ParseArguments call using reflection
class Options
{
[Option('i', "install",
HelpText = "Installs the given packages into the project.")]
public IEnumerable<string> Packages { get; set; }
}