Skip to content

Instantly share code, notes, and snippets.

@0x715C
0x715C / tree_style_tab_firefox.md
Created March 13, 2023 03:27 — forked from ruanbekker/tree_style_tab_firefox.md
Hide Native Tabs with Tree Style Tabs for Firefox
@0x715C
0x715C / flake.nix
Last active September 21, 2022 04:30
{
description = "Lightning-fast and Powerful Code Editor written in Rust ";
inputs = {
nixpkgs-unstable.url = github:nixos/nixpkgs/nixpkgs-unstable;
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs-unstable, flake-utils }:
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let
pkgs = import "${nixpkgs-unstable}" {
@0x715C
0x715C / gist:193c4652fd7fce2eea771eaf2db029e6
Created May 21, 2020 07:43
Ubuntu 20.04 enable hot corners
gsettings set org.gnome.desktop.interface enable-hot-corners true
@0x715C
0x715C / scarlett.pa
Created December 14, 2019 04:31
Focusrite 2i4 pulseaudio remaps
.fail
# Scarlett 2i4 Remaps
#master_channel_map=front-left,front-right,rear-left,rear-right
### Remap Scarlett outputs 1&2 separately
load-module module-remap-sink sink_name=scarlett-outputs-1-2 sink_properties=device.description=Scarlett-Outputs-1-2 master=alsa_output.usb-Focusrite_Scarlett_2i4_USB-00.analog-surround-40 remix=no channels=2 master_channel_map=front-left,front-right channel_map=left,right
### Remap Scarlett outputs 3&4 separately
load-module module-remap-sink sink_name=scarlett-outputs-3-4 sink_properties=device.description=Scarlett-Outputs-3-4 master=alsa_output.usb-Focusrite_Scarlett_2i4_USB-00.analog-surround-40 remix=no channels=2 master_channel_map=rear-left,rear-right channel_map=left,right
#master_channel_map: front-left,front-right
### Remap Scarlett input 1 separately
@0x715C
0x715C / robox.rules
Created November 12, 2019 23:50
Robox 3d printer udev rule
ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="081b", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="tty", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="081b", SYMLINK+="robox%n", MODE="0666"
@0x715C
0x715C / lddtostage-pacman
Last active October 31, 2019 23:57 — forked from popey/lddtostage
Determine libraries needed by a binary and output in format for snapcraft.yaml
#!/bin/bash
TMPDIR=$(mktemp -d)
LDD=$TMPDIR/LDD
PACKAGES=$TMPDIR/PACKAGES
ldd $1 | awk -F ' ' '{print $3}' | sed '/^$/d' | sed '/^(/d' | grep -v '^not' > $LDD
while read p; do
echo -n .

Keybase proof

I hereby claim:

  • I am 0x715c on github.
  • I am 0x715c (https://keybase.io/0x715c) on keybase.
  • I have a public key ASCBfk3cKi-CB-h27UbB3LcqbiGSAwcVGF73lprahN88fAo

To claim this, I am signing this object:

@0x715C
0x715C / DeblobBcacheKernelTree&Build.sh
Created December 10, 2017 23:33
This script will download bcache kernel tree and deblob using fsfla scripts.
#!bin/bash
#WARNING - This script is not finished, DO NOT EXECUTE. This may serve as a guide for deblobbing bcache kernel.
exit 1
git clone https://evilpiepirate.org/git/bcachefs.git
cd bcachefs
kver=$(make kernelversion)