Skip to content

Instantly share code, notes, and snippets.

View ixil's full-sized avatar
🤖

Oliver Harley ixil

🤖
View GitHub Profile
@ixil
ixil / gist:8dbbef1993fd82652169d123d7cde4f4
Created February 25, 2024 20:48
ublock waste-of-time list
facebook.com##[role=feed]>div [href="/reel/?s=ifu_see_more"]:upward([role=feed]>div)
facebook.com##[aria-posinset] [href="/reel/?s=ifu_see_more"]:upward([aria-posinset])
www.facebook.com##div:nth-of-type(8):has-text(Suggested for you)
www.facebook.com##div:nth-of-type(8):has-text(Reels and short videos)
www.facebook.com##[role=main]>div [aria-label="Reels"]:upward(3)
www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-guide-entry-renderer)
www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer)
www.youtube.com##ytd-browse[page-subtype="home"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-rich-item-renderer)
www.youtube.com##ytd-browse[page-subtype="subscriptions"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-grid-video-renderer,ytd-rich-item-renderer)
www.youtube.com##ytd-search .ytd-thumbnail[href^="/shorts/"]:upward(ytd-video-renderer)
@ixil
ixil / complex_step_example.m
Created October 21, 2020 10:59 — forked from higham/complex_step_example.m
Complex step example
% Complex step example. Requires Symbolic Math Toolbox.
format long
syms x; f = atan(x)/(1+exp(-x^2))
% Derivative at $a = 2$:
a = 2; fd = double(subs( diff(f), a))
% Convert symbolic function to MATLAB function.
f = matlabFunction(f);
@ixil
ixil / full-disk-encryption-arch-uefi.md
Created May 25, 2019 21:47 — forked from huntrar/full-disk-encryption-arch-uefi.md
Arch Linux Full-Disk Encryption Installation Guide [Encrypted Boot, UEFI, NVMe, Evil Maid]

Arch Linux Full-Disk Encryption Installation Guide

This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.

Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.

Preface

You will find most of this information pulled from the Arch Wiki and other resources linked thereof.

Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX with /dev/sdX or your device as needed.

@ixil
ixil / keybase.md
Created January 7, 2019 13:42
keybase proof

Keybase proof

I hereby claim:

  • I am ixil on github.
  • I am ixil (https://keybase.io/ixil) on keybase.
  • I have a public key ASAZJyebN9bTIsMzensea2xRgD9s_dteS_-nI6xhuZFEJQo

To claim this, I am signing this object:

@ixil
ixil / next_motion_mapping.vim
Last active October 30, 2018 20:54 — forked from sjl/next_motion_mapping.vim
Execute a vim motion on the "next" text object
" Then stolen from skwp:Yan Pritzker
" https://github.com/skwp/dotfiles/blob/master/vim/settings/next-textobject.vim
" Originally stolen from Steve Losh
" https://github.com/sjl/dotfiles/blob/master/vim/vimrc#L1380
"
" Motion for "next/last object". "Last" here means "previous", not "final".
" Unfortunately the "p" motion was already taken for paragraphs.
"
" Next acts on the next object of the given type, last acts on the previous
" object of the given type. These don't necessarily have to be in the current