Skip to content

Instantly share code, notes, and snippets.

@x-zvf
x-zvf / archinst.md
Last active November 4, 2022 20:44
Arch install instructions

Arch installation and setup

This gist contains every step I took to install my fully functional rice. Arch linux will be installed on luks encrypted lvm.

0. Preparation

I assume you already have a bootable arch usb and are booted from it. If not, download an arch iso and copy it on to a usb stick with dd (or something like bootiso if you don't trust yourself with dd. (But in that case I do not reccomend installing arch anyway.))

@hibiyasleep
hibiyasleep / GodDrinksJava.java
Last active April 15, 2025 12:34
world.execute(me);
package goddrinksjava;
/**
* The program GodDrinksJava implements an application that
* creates an empty simulated world with no meaning or purpose.
*
* @author momocashew
* @lyrics hibiyasleep
*/
@TooTallNate
TooTallNate / mouse.js
Created January 30, 2012 05:55
Enable "mouse reporting" with Node.js
// Based on:
// http://groups.google.com/group/nodejs-dev/browse_thread/thread/a0c23008029e5fa7
process.stdin.resume();
process.stdin.on('data', function (b) {
var s = b.toString('utf8');
if (s === '\u0003') {
console.error('Ctrl+C');
process.stdin.pause();