Skip to content

Instantly share code, notes, and snippets.

@RogueScholar
RogueScholar / Add-conditional-for-proc_create-API-changes-in-kernel-5.6+.patch
Last active Apr 2, 2022
Patch for intel_nuc_led on Linux kernel versions >= 5.6.0
View Add-conditional-for-proc_create-API-changes-in-kernel-5.6+.patch
--- a/Makefile
+++ b/Makefile
@@ -1,40 +1,46 @@
-obj-m := nuc_led.o
+#!/usr/bin/make -f
+# -*- mode: makefile-gmake; coding: utf-8-unix; tab-width: 4; -*-
-KVERSION := $(shell uname -r)
-KDIR := /lib/modules/$(KVERSION)/build
-PWD := $(shell pwd)
@RogueScholar
RogueScholar / Update-AUPackages.md
Last active Oct 24, 2021
Chocolate Packages AppVeyor Results
View Update-AUPackages.md

Update-AUPackages

[![AppVeyor badge][appveyor-badge]][appveyor-report] ![7][num-pkgs] [![2021.7.18][date-badge]][au-module] UTC: 2021-10-24 16:10 RogueScholar/chocolatey-packages

This file is automatically generated by the [update_all.ps1][update-all] script using the [AU module][au-repo].

History

View openpgp.md
@RogueScholar
RogueScholar / keybase-nightly.sh
Last active Mar 4, 2020
POSIX script to update keybase package to latest nightly on Debian-based Linux
View keybase-nightly.sh
#!/usr/bin/env bash
# Keybase publishes a JSON file concurrent with every nightly build upload to their public download web server,
# though they're real cute in the way they parse the timestamp as a UNIX epoch...in milliseconds :-/ That means
# we need to fuss with rounding errors in Bash built-in computations on top of using jq as a parser for the raw
# file instead of what I expected to be some quick "awk-to-humantime-to-apt" pipeline-foo. Still it came out
# fairly snappy and is solid as a rock.
# Set this up as a cron job at the interval of your choosing, it won't do anything until it sees that the
# installed version reported by apt has an older timestamp than the one in the JSON file. When that happens it
@RogueScholar
RogueScholar / Contributor-License-Agreement-yaknewtab
Created Apr 21, 2019
Contributor License Agreement for yaknewtab
View Contributor-License-Agreement-yaknewtab
<iframe id="e-sign-process" src="https://github.com/RogueScholar/yaknewtab" width="100%" height="100%"></iframe>
@RogueScholar
RogueScholar / Building-GnuPG-2.2.x.md
Last active Jan 17, 2022 — forked from vt0r/GnuPG-2.2.md
Compile GnuPG 2.2.27 from source and install on Ubuntu 20.10 and similar Debian-based GNU/Linux distributions
View Building-GnuPG-2.2.x.md

GnuPG 2.2.x Build Instructions

Below are my build/compile instructions for GnuPG 2.2.27, released on Monday, January 11, 2021. These instructions were tested on a working Kubuntu 20.10 "The Groovy Gorilla" desktop environment but should be applicable to all Debian-derivative GNU/Linux distributions since Ubuntu 18.04 LTS "Bionic Beaver." (Go Beavers!)

If you prefer, you may use the install script below to automate the process and install GnuPG 2.2.27 with the following command on your computer's terminal:

curl -L https://mello.link/gnupg2227 | sudo -H bash
@RogueScholar
RogueScholar / keybase.md
Created May 13, 2017
Keybase.io Identity Proof
View keybase.md

Keybase proof

I hereby claim:

  • I am RogueScholar on github.
  • I am rscholar (https://keybase.io/rscholar) on keybase.
  • I have a public key whose fingerprint is DD3F 5DEC 271F AA1D 2F11 82D1 AC77 588D 3F3B CA1E

To claim this, I am signing this object: