Skip to content

Instantly share code, notes, and snippets.

@RogueScholar
RogueScholar / d3.v3.min.js
Created May 16, 2024 17:24 — forked from abovethemean/d3.v3.min.js
Webapp for finding out how large your penis really is
!function(){function n(n){return null!=n&&!isNaN(n)}function t(n){return n.length}function e(n){for(var t=1;n*t%1;)t*=10;return t}function r(n,t){try{for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}catch(r){n.prototype=t}}function u(){}function i(n){return aa+n in this}function o(n){return n=aa+n,n in this&&delete this[n]}function a(){var n=[];return this.forEach(function(t){n.push(t)}),n}function c(){var n=0;for(var t in this)t.charCodeAt(0)===ca&&++n;return n}function s(){for(var n in this)if(n.charCodeAt(0)===ca)return!1;return!0}function l(){}function f(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function h(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.substring(1);for(var e=0,r=sa.length;r>e;++e){var u=sa[e]+t;if(u in n)return u}}function g(){}function p(){}function v(n){function t(){for(var t,r=e,u=-1,i=r.length;++u<i;)(t=r[u].on)&&t.apply(this,arguments);return n}var e=[],r=new u;return t.on=function(t,u){var i,o=r.get(t);return arguments
@RogueScholar
RogueScholar / Cups_of_Courage.rss.xml
Last active June 14, 2023 09:54
Cups of Courage podcast RSS feed (generated from Spotify)
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:media="http://search.yahoo.com/mrss/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" >
<channel>
<title>Cups of Courage</title>
<link>https://open.spotify.com/show/3sEfiU9xiXcQTP15nQmOPa</link>
<image>
<url>https://i.scdn.co/image/ab67656300005f1f7871e58a99007d76b2086795</url>
<title>Cups of Courage</title>
@RogueScholar
RogueScholar / Add-conditional-for-proc_create-API-changes-in-kernel-5.6+.patch
Last active April 2, 2022 05:16
Patch for intel_nuc_led on Linux kernel versions >= 5.6.0
--- 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 October 24, 2021 21:13
Chocolate Packages AppVeyor Results

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

@RogueScholar
RogueScholar / openpgp.md
Created October 23, 2021 06:23
openpgp.md
@RogueScholar
RogueScholar / keybase-nightly.sh
Last active October 6, 2023 01:04
POSIX script to update keybase package to latest nightly on Debian-based Linux
#!/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 April 21, 2019 05:30
Contributor License Agreement for 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 November 6, 2024 00:51 — 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

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 07:02
Keybase.io Identity Proof

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: