Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Roy Ivy III rivy

🏠
Working from home
  • Texas
Block or report user

Report or block rivy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rivy
rivy / README.md
Created Jul 6, 2019 — forked from cerebrate/README.md
Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.
View README.md

Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

Yes, I've done this, and yes, it works. It is, however, entirely unsupported and assembled through reasonable guesswork, so if you try this and it explodes your computer, brain, career, relationships, or anything else, you agree that you take sole responsibility for doing it, that I never claimed it was a good idea, and that you didn't get these instructions from me .

Also note: I have done this with Debian Stretch. While one kernel ought to fit all, some of the packages you need to build it may be different. Adapting to other distros is up to you.

Step One: Install the stuff you need to build the kernel

@rivy
rivy / .eslintrc.js
Created Jul 6, 2019 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
View .eslintrc.js
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {
@rivy
rivy / esm_in_node_proposal.md
Created Jun 27, 2019 — forked from ceejbot/esm_in_node_proposal.md
npm's proposal for supporting ES modules in node
View esm_in_node_proposal.md

ESM modules in node: npm edition

The proposal you’re about to read is not just a proposal. We have a working implementation of almost everything we discussed here. We encourage you to checkout and build our branch: our fork, with the relevant branch selected. Building and using the implementation will give you a better understanding of what using it as a developer is like.

Our implementation ended up differing from the proposal on some minor points. As our last action item before making a PR, we’re writing documentation on what we did. While I loathe pointing to tests in lieu of documentation, they will be helpful until we complete writing docs: the unit tests.

This repo also contains a bundled version of npm that has a new command, asset. You can read the documentation for and goals of that comma

View github-dashboard
#!/usr/bin/env perl
# Copyright 2015 by David Golden
# Licensed under CC0 https://creativecommons.org/publicdomain/zero/1.0/
# Updated 2016-03-01:
# - more variation in organzations selected; you will want to customize this yourself
# - splits out wishlists differently/correctly
# - reports only PRs unless --all is specified
use v5.10;
use strict;
use warnings;
View gist:c0f9cb4e8094a306b85ffe739d929b1d
I have the 8 Ball in my back pocket. I figure that makes me kind of a defense contractor. And I ought to get paid like one, meaning grossly overpaid. -- Richard Kadrey: Kill City Blues
There's only one way to avoid criticism: do nothing, say nothing, be nothing. -- Aristotle
Two possibilities exist: Either we are alone in the Universe, or we are not. Both are equally terrifying. -- Arthur C. Clarke
History is a set of lies agreed upon. -- Napoleon Bonaparte
The only time the word "incorrectly" isn't spelled incorrectly is when it's spelled incorrectly.
Back when PHP had less than 100 functions, the function hashing mechanism was strlen(). In order to get a nice hash distribution of function names across the various function name lengths, names were picked specifically to make them fit into a specific length bucket. -- Rasmus Lerdorf
<Raborn> I just read a book about Stockholm Syndrome. It was pretty bad at first, but by the end I kinda liked it.
What language do deaf people think in?
"A five-tailed fox!" Owen
@rivy
rivy / updateNpm.bat
Last active Sep 17, 2018 — forked from johnmcase/updateNpm.bat
Update npm on windows
View updateNpm.bat
@setlocal EnableDelayedExpansion
@echo off
:: from <https://gist.github.com/rivy/c69563af410d8e8e6e105e5554578fc8>; cloned from https://github.com/coreybutler/nvm-windows/issues/300
set wanted_version=%~1
if NOT DEFINED wanted_version ( set "wanted_version=latest" )
if "!wanted_version!" == "latest" (
for /f %%i in ('npm show npm version') do set wanted_version=%%i
@rivy
rivy / README.md
Created Jul 26, 2018 — forked from dconnolly/README.md
All 100 Chromecast background images that are rotated through, linked to their original locations on Google hosting. Links to 2560 width versions, where available.
View gist:2f67cd6b8c42b766af5f1695d8fd297e
Verifying my Blockstack ID is secured with the address 1DoaWxzNQST6y4XCXYB365WeJ5S4qpydJ7 https://explorer.blockstack.org/address/1DoaWxzNQST6y4XCXYB365WeJ5S4qpydJ7
@rivy
rivy / TODO.md
Last active May 21, 2018 — forked from DavidEGrayson/README.md
Getting started with midipix
View TODO.md
  • TODO: figure out how to debug with gdb
@rivy
rivy / Vagrantfile
Created Apr 22, 2018 — forked from tknerr/Vagrantfile
Sample Vagrantfile that works with all providers (virtualbox, aws, managed) and in combination with the vagrant-omnibus plugin
View Vagrantfile
#
# Vagrantfile for testing
#
Vagrant::configure("2") do |config|
# the Chef version to use
config.omnibus.chef_version = "11.4.4"
def configure_vbox_provider(config, name, ip, memory = 384)
config.vm.provider :virtualbox do |vbox, override|
You can’t perform that action at this time.