Skip to content

Instantly share code, notes, and snippets.

@brbsix
brbsix / keybase.md
Last active February 5, 2016 03:57

Keybase proof

I hereby claim:

  • I am brbsix on github.
  • I am brbsix (https://keybase.io/brbsix) on keybase.
  • I have a public key whose fingerprint is 25B6 9A6A EB57 830F 5B25 E9C1 3B5B C114 80C7 62BC

To claim this, I am signing this object:

@brbsix
brbsix / README.md
Last active December 27, 2021 22:33
Networking Troubles with Vagrant Box ubuntu/wily64

Networking Troubles with Vagrant Box ubuntu/wily64

For some reason, the network interfaces in ubuntu/wily64 fail to configure at boot. The interfaces are renamed during boot, with dmesg reporting things like udev renamed network interface eth0 to enp1s0. This is apparently the result of a change in systemd. You can read about it here:

Starting with v197 systemd/udev will automatically assign predictable, stable network interface names for all local Ethernet, WLAN and WWAN interfaces. This is a departure from the traditional interface naming scheme ("eth0", "eth1", "wlan0", ...), but should fix real problems.

http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/


@brbsix
brbsix / README.md
Created September 5, 2015 23:16
Connecting to a CoreOS VirtualBox guest

Connecting to a CoreOS VirtualBox guest

For future reference, here are the steps to add a SSH key to a CoreOS guest machine's authorized_keys:

1. download configuration generator script

wget https://raw.github.com/coreos/scripts/master/contrib/create-basic-configdrive

2. mark script as executable

@brbsix
brbsix / vimdiff_cheat_sheet.md
Last active June 1, 2022 04:14 — forked from roothybrid7/vimdiff_cheet.md
vimdiff cheat sheet

vimdiff cheet sheet

git mergetool

git config --global merge.tool=vimdiff

vimdiff key mappings

@brbsix
brbsix / .bash_functions
Last active August 29, 2015 14:27
Identify changes to a filesystem
#!/bin/bash
# Identify changes to a filesystem
fsdiff(){
(
defaultdirs=(.)
localdirs=("$HOME")
systemdirs=(/etc /home /opt /root /usr /var)
if (( $# == 0 )); then