Skip to content

Instantly share code, notes, and snippets.

View kondor6c's full-sized avatar

Kevin Faulkner kondor6c

View GitHub Profile
23.20.0.0/14
50.19.0.0/16
50.16.0.0/15
52.0.0.0/15
52.2.0.0/15
52.4.0.0/14
52.20.0.0/14
52.72.0.0/15
52.86.0.0/15
52.92.16.0/20
@kondor6c
kondor6c / dns2csv.go
Created August 4, 2016 16:05
Amazon Route53 JSON to a CSV in golang
package main
import (
"encoding/csv"
"encoding/json"
"fmt"
"io/ioutil"
"net"
"os"
"strconv"
@kondor6c
kondor6c / cat-send.sh
Last active September 15, 2016 20:21
Idea, I'm too stupid to remember to send a good morning text/message, so I automated it in a fun way
#!/bin/bash
ARRAY_OF_COMPLIMENTS=( 'You are beautiful', 'You are doing great', 'I love you', 'Why do you love cats?', 'Your morning kitty', 'I hope this serves as a replacement for a real cat', 'I really really love you', 'you are purrrrfect, straight from a hallmark card', 'I appreciate you', 'Hope you have a great day', 'Hanging out with you is always a blast', 'You are wonderful', 'you are one of a kind', 'You should be appreciated more, this is an attempt', 'you are cuter than a bunch of cats', 'you are my reason to smile', 'I love it when you tell me I am so clever', 'you are really something special', 'You are a gift to those around you' )
RANDOM_TIME=$(shuf -i 0-2345 -n 1)
sleep $RANDOM_TIME
LENGTH_OF_COMPLIMENTS=${#ARRAY_OF_COMPLIMENTS[@]}
RANDOM_COMPLIMENT_NUMBER=$(shuf -i 0-$LENGTH_OF_COMPLIMENTS -n 1)
URxvt.visualBell: True
# URxvt.skipScroll: True
URxvt*jumpScroll: true
URxvt*scrollWithBuffer: true
URxvt*scrollTtyOutput: false
URxvt*scrollTtyKeypress: true
# URxvt*font: xft:Liberation Mono:pixelsize=13:antialias=true:hinting=true
# URxvt*boldFont: xft:Liberation Mono:bold:pixelsize=13:antialias=true:hinting=true
# URxvt*font: xft:Bitstream Vera Sans Mono:bold:pixelsize=13:antialias=true:hinting=true
# URxvt*boldFont: xft:Bitstream Vera Sans Mono:bold:pixelsize=13:antialias=true:hinting=true
@kondor6c
kondor6c / keybase.md
Created January 5, 2017 04:16
keybase.md

Keybase proof

I hereby claim:

  • I am kondor6c on github.
  • I am kondor6c (https://keybase.io/kondor6c) on keybase.
  • I have a public key whose fingerprint is 7545 BFF3 7106 84D2 E6BC FE98 C5D5 F4BE D24A 4A02

To claim this, I am signing this object:

@kondor6c
kondor6c / gist:55259ed2d0e95432f81cee77ff11a313
Created September 22, 2017 13:04
This would be for friday
{
"SpotPrice": "0.0589",
"TargetCapacity": 20,
"IamFleetRole": "
"LaunchSpecifications": [
{
"ImageId": "ami-61272c1a",
"SecurityGroups": [
{
"GroupId": "sg-d5d1cfbf"
@kondor6c
kondor6c / gist:fceeedec19f9cf2be3e0f1d338426124
Created September 22, 2017 13:04
This would be for friday
{
"SpotPrice": "0.0589",
"TargetCapacity": 20,
"IamFleetRole": "
"LaunchSpecifications": [
{
"ImageId": "ami-61272c1a",
"SecurityGroups": [
{
"GroupId": "sg-d5d1cfbf"
@kondor6c
kondor6c / gist:1b399630ab90b084d6fd28781c1e622c
Created September 22, 2017 13:04
This would be for friday
{
"SpotPrice": "0.0589",
"TargetCapacity": 20,
"IamFleetRole": "
"LaunchSpecifications": [
{
"ImageId": "ami-61272c1a",
"SecurityGroups": [
{
"GroupId": "sg-d5d1cfbf"
@kondor6c
kondor6c / gist:135536bd8ec6dc6ac990a780b217c8ca
Created September 22, 2017 13:04
This would be for friday
{
"SpotPrice": "0.0589",
"TargetCapacity": 20,
"IamFleetRole": "
"LaunchSpecifications": [
{
"ImageId": "ami-61272c1a",
"SecurityGroups": [
{
"GroupId": "sg-d5d1cfbf"
@kondor6c
kondor6c / gist:f26edca97e81e0d877e73d65ba1de1c0
Created September 22, 2017 13:04
This would be for friday
{
"SpotPrice": "0.0589",
"TargetCapacity": 20,
"IamFleetRole": "
"LaunchSpecifications": [
{
"ImageId": "ami-61272c1a",
"SecurityGroups": [
{
"GroupId": "sg-d5d1cfbf"