Skip to content

Instantly share code, notes, and snippets.

View cdolan's full-sized avatar

Christopher Dolan cdolan

View GitHub Profile
cdolan /
Created November 8, 2022 01:12 — forked from danielmai/
fio tests on aws instances

Summary: Fio tests


r5.2xlarge instance in eu-west-1 with 200 GB EBS io1 volume and 3000 IOPS.

cdolan / init.vim
Last active May 25, 2022 23:41
minimal neovim config
" mappings
inoremap jj <Esc>
nnoremap ! : !<Space>
nnoremap , : ,<Space>
nnoremap ; :<Space>
" settings
set clipboard+=unnamedplus
set number
set ruler
cdolan / arch-linux-install
Created October 20, 2018 01:18 — 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
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide ( contains a more verbose description.
# Download the archiso image from
# 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
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAy+Nw7+C8slRMA3llrwVYwcuvD1fJPtU4dfQlqAzTDgP3gAM4m0f+YT7OpSUR16lfpIDibaHUQNciw/FFMc5xdS7db/kmyTZvOhsgWtzUoB3dZ08hW8ylnp93x3E76vP6U63+5lHUqxDbkhrvhbSY5Id5O36cGyH1Wpje3AG9+40D1ZRye3kCXiTL9m0gNZBkeWGU9SVPUlL1HTvCTtu4lPoN2GN3tmM+XUG7Gx//+MyJsFsgzXIfv9qm/4ljcGyY7H9dSqoFH7UC3/ZWSnPs5Xvbxtx+e9jRF1O2gdTkhewGPHREF27cX6qAwSm/TIWcyxNZzmlFiGCq1qzofz4QG5efnt0ftw3Aany1rVUJ9VdHbKkBnqqLT/Nno4LL5DefxPWsx6aYOnl5wlr5cVWqKTnFtUDvxqr0lPqZYwErXmOp48fuB7+1GTy2Z171vlyld7wJiUGZOnn+kZ2NxibPviCz5tbRHXqg+yuz2psWrPYcKoDjLwTLXtTYK8+sMC6GmVu5WTLdSIRQEDrhyymRwVdlA8Gp2w79v2TnuAYGBTIYhGgJjfXgzXlg1zp6s8eYr46AfrSYVrE2k8AAB9Jws6T7L8Un9qiipXgyjXNhIsOF0Bs7QZd8ID7MNYrsmUzNfMaRasT70Vx5jQZi1+aXSBu16lustMxVwBYpOrTwehU= Chris@ECHO
#include <stdio.h>
void launch_the_missiles(void)
/* This is an example of a side-effect */
int main(void)
var net = require('net');
var chatroom = [];
var server = net.createServer(function(user) {
user.on('connect', function() {
console.log('user connected');