Skip to content

Instantly share code, notes, and snippets.

💭
🤓 🌮 🥑 🐶 🏖

Christopher Dolan cdolan

💭
🤓 🌮 🥑 🐶 🏖
Block or report user

Report or block cdolan

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
@cdolan
cdolan / arch-linux-install
Created Oct 20, 2018 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
View arch-linux-install
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
View gist:be1842d1ba099e5af23a
unbind C-b
set -g prefix C-a
set -g default-terminal "screen-256color" # use 256 colors
set -g status-utf8 on # enable utf-8
# start window indexing at one instead of zero
set -g base-index 1
# bind to reload config
View gist:5761258
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAy+Nw7+C8slRMA3llrwVYwcuvD1fJPtU4dfQlqAzTDgP3gAM4m0f+YT7OpSUR16lfpIDibaHUQNciw/FFMc5xdS7db/kmyTZvOhsgWtzUoB3dZ08hW8ylnp93x3E76vP6U63+5lHUqxDbkhrvhbSY5Id5O36cGyH1Wpje3AG9+40D1ZRye3kCXiTL9m0gNZBkeWGU9SVPUlL1HTvCTtu4lPoN2GN3tmM+XUG7Gx//+MyJsFsgzXIfv9qm/4ljcGyY7H9dSqoFH7UC3/ZWSnPs5Xvbxtx+e9jRF1O2gdTkhewGPHREF27cX6qAwSm/TIWcyxNZzmlFiGCq1qzofz4QG5efnt0ftw3Aany1rVUJ9VdHbKkBnqqLT/Nno4LL5DefxPWsx6aYOnl5wlr5cVWqKTnFtUDvxqr0lPqZYwErXmOp48fuB7+1GTy2Z171vlyld7wJiUGZOnn+kZ2NxibPviCz5tbRHXqg+yuz2psWrPYcKoDjLwTLXtTYK8+sMC6GmVu5WTLdSIRQEDrhyymRwVdlA8Gp2w79v2TnuAYGBTIYhGgJjfXgzXlg1zp6s8eYr46AfrSYVrE2k8AAB9Jws6T7L8Un9qiipXgyjXNhIsOF0Bs7QZd8ID7MNYrsmUzNfMaRasT70Vx5jQZi1+aXSBu16lustMxVwBYpOrTwehU= Chris@ECHO
View gist:5153867
#include <stdio.h>
void launch_the_missiles(void)
{
/* This is an example of a side-effect */
}
int main(void)
{
launch_the_missiles();
View gist:3703296
var net = require('net');
var chatroom = [];
var server = net.createServer(function(user) {
user.on('connect', function() {
console.log('user connected');
chatroom.push(user);
});
You can’t perform that action at this time.