Skip to content

Instantly share code, notes, and snippets.

View byllc's full-sized avatar

Bill Chapman byllc

View GitHub Profile
@byllc
byllc / gist:8871383
Created February 7, 2014 20:40
Example Maria DB Config file (.my.cnf)
# Example mysql config file.
# You can copy this to one of:
# /etc/my.cnf to set global options,
# /mysql-data-dir/my.cnf to get server specific options or
# ~/my.cnf for user specific options.
#
# One can use all long options that the program supports.
# Run the program with --help to get a list of available options
# This will be passed to all mysql clients

Keybase proof

I hereby claim:

  • I am byllc on github.
  • I am byllc (https://keybase.io/byllc) on keybase.
  • I have a public key ASDWZHIdqgIdrEA7xoC4YoWvhru29VQeWIWbP1xhZ3gxZwo

To claim this, I am signing this object:

@byllc
byllc / kubadmin.sh
Created October 29, 2019 17:11
KubernetesManagementAlias
asdf
@byllc
byllc / capacity planning
Created December 3, 2018 20:58
CapacityPlanningForOpenstack.md
## Capacity Planning Notes
#### Is your target Public cloud or private cloud?
- Private Cloud
- easier
- you know your workload and purpose
- Fewer variables
- Cost / Revenue is an important consideration
- often single tenant

Keybase proof

I hereby claim:

  • I am byllc on github.
  • I am byllc (https://keybase.io/byllc) on keybase.
  • I have a public key whose fingerprint is 1B97 2723 7C8B 527E 0851 9A56 5C56 66B3 6F30 F2F9

To claim this, I am signing this object:

@byllc
byllc / diy-ngrok.md
Last active April 20, 2017 22:42 — forked from tekacs/show
This does something essentially equivalent to showoff.io if you have a publicly facing server...

This is basically diy ngrok

Usage: show

function show() {
    DOMAIN=".example.com"
    REMOTE="$2$DOMAIN"
    ssh -tR 1080:127.0.0.1:$1 vps "sudo ssh -Nl \$USER -L $REMOTE:80:127.0.0.1:1080 localhost"
}
# Cloudfoundry inception and startup
This document describes the cf inception environment within our management network and also
describes a first shot to boot a cloudfoundry environment with microbosh, bosh and cloudfoundry.
## Prerequisits
1. Order a new tenant and user from your openstack admin
1.a User & Tenant must have the same name (for now)
@byllc
byllc / netflix-genre-crawl.py
Created January 9, 2016 23:56 — forked from blech/netflix-genre-crawl.py
Fetch genre names from Netflix
#!/usr/bin/python
# TODO make range command line arguments
import sys, codecs
sys.stdout = codecs.getwriter('utf-8')(sys.stdout) # if your terminal can't do utf-8, well...
import time
import urllib2
import BeautifulSoup
The right side of my brain helps me make things rhyme
The left side keeps it all in time
Whats in between helps me learn and perceive
But do I Believe,
I have the answers I need?
Ours is a culture with pride in logic and reason
But do the ones and zeros truly have meaning
Does your software have feelings?
Stay Tuned
@byllc
byllc / RaspiNotes.md
Last active December 5, 2015 00:39
Some initial configurations for Headless Raspberry Pi

###IF you are using Raspian many of these tasks are unescessary. With Raspbian:

  • SSH is ready to go out of the box
  • default runlevel is 3
  • many items can be configured with raspi-config tool

###Adding more swap for high memory use concerns

  sudo dd if=/dev/zero of=/swap bs=1M count=1024
  sudo mkswap /swap
  sudo swapon /swap