Skip to content

Instantly share code, notes, and snippets.

View ian-h-chamberlain's full-sized avatar
🏔️

Ian Chamberlain ian-h-chamberlain

🏔️
View GitHub Profile
@networkException
networkException / KDE-Plasma-macOS-Screenshot-Shortcuts.md
Last active December 15, 2023 11:52
Setup Plasma Custom Shortcuts for macOS like Screenshots

Introduction

After moving to Linux and KDE Plasma from macOS, I only missed one thing that I used all the time: The Screenshot tool. The Shortcuts on macOS have been engraved in my head after probably thausand of uses so I figured I'd give replicating them a try.

Creating new Shortcuts was surprisingly easy so here is a rundown of it

NOTE: A recent edit of this document now includes a Plasma Native approach using Spectacle.

@573
573 / readme.md
Last active May 16, 2024 18:25
nix repl for home-manager home.nix config

https://logs.nix.samueldr.com/home-manager/2020-06-24#3652401;

NIX_PATH=nixpkgs=http://nixos.org/channels/nixos-21.05/nixexprs.tar.xz:home-manager=https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz:nix-on-droid=https://github.com/t184256/nix-on-droid/archive/release-21.05.tar.gz nix repl
nix-repl> hm = import <home-manager/modules> { configuration = ~/.config/nixpkgs/home.nix; pkgs = import <nixpkgs> {}; }
~> hm.config.TAB
@majal
majal / minterpolate
Last active February 8, 2025 20:57 — forked from sgqy/minterpolate.sh
Multi-threaded minterpolate in ffmpeg
#!/bin/bash
# Multicore minterpolate in ffmpeg
# Just slice & process & concat
# NB: The concat points between slices may be weird
# Default arguments
ff=/usr/bin/ffmpeg
fps=60
dur=00:00:10
@ivan
ivan / userChrome.css
Created July 31, 2024 06:37
userContent.css and userChrome.css for Firefox / Floorp
/*************************************************************************************************************************************************************************************************************************************************************
"userChrome.css" is a custom CSS file that can be used to specify CSS style rules for Floorp's interface (NOT internal site) using "chrome" privileges.
For instance, if you want to hide the tab bar, you can use the following CSS rule:
**************************************
#TabsToolbar { *
display: none !important; *
} *