I hereby claim:
- I am dearing on github.
- I am dearing (https://keybase.io/dearing) on keybase.
- I have a public key ASBKP9t-n_5z4PwtOjWqF8fH_JqihG8hvSNhVqSdR7rmUgo
To claim this, I am signing this object:
#!/bin/bash -ex | |
mount /dev/OMCAppVG/LVRoot /mnt | |
for i in dev run proc sys ; do mount -o bind /$i /mnt/$i ; done | |
chroot /mnt |
package dialog | |
func englishToTwenty(number int) (value string) { | |
switch number { | |
case 0: | |
value = "zero" | |
case 1: | |
value = "one" | |
case 2: | |
value = "two" |
package main | |
import ( | |
"log" | |
"math/rand" | |
"sync" | |
"time" | |
"github.com/google/uuid" | |
) |
I hereby claim:
To claim this, I am signing this object:
# /etc/systemd/system/docker.service.d/docker-nftables.conf | |
# disable iptables in docker, allowing nftables to do work | |
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/docker daemon -H fd:// --iptables=false |
#!/bin/env ruby | |
require 'json' | |
# READ: http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html | |
# GET: https://ip-ranges.amazonaws.com/ip-ranges.json | |
json = File.read('ip-ranges.json') | |
data = JSON.parse(json) | |
data['prefixes'].sort_by { |x| x['region'] }.each do |prefix| |
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Simple Sandbox VPC // NO NAT", | |
"Metadata": { | |
"Notes" : { | |
"[ Parameters ]:" : "===================================================================================================================================", |
{ | |
"nftables": [ | |
{ | |
"table": { | |
"name": "nat", | |
"family": "ip", | |
"flags": 0, | |
"use": 2 | |
} | |
}, |
%w(git nano vim vi wget curl).each do |p| | |
package p | |
end | |
remote_file '/tmp/atom.rpm' do | |
owner 'student' | |
group 'student' | |
mode '0644' | |
source 'https://atom.io/download/rpm' |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
fmt.Println("Hello World!") | |
fmt.Println("Testing the editor...") |