Skip to content

Instantly share code, notes, and snippets.

@imperialwicket
imperialwicket / gist:df031f8169a1567c36b1bdb9009c60c3
Created May 22, 2018 22:05
Security group and load balancer errors in spinnaker aws
1. make a new spinnaker Application "today"
2. Attempt to create a load balancer
- Select an account
- ERROR: preferredZones is undefined
3. Attempt to create a security group
- ERROR: securityGroups[account] is undefined
4. IN AWS:
- create security group:
- Name: today
- Desc: today-test
@imperialwicket
imperialwicket / supertux-editor
Last active September 16, 2016 17:24
supertux editor questions
General
- I couldn't figure out how to undo
- hover over tips/info on tiles, objects, and tools would be helpful
- Some of the tile/object organization is challenging (ex: "Final Goal"
was not immediately easy to find). It would be cool if "required" objects
were either already on the level, or if they were in the object pane until
placed in the level. That is: things like spawn point and final goal have
constant presence in the window (either in the object pane or placed in the
level); since you absolutely need those things, but once they're placed, it's
never needed again.
@imperialwicket
imperialwicket / netflix-asgard-iam-policy
Created July 24, 2015 15:09
Netflix Asgard IAM Policy
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"autoscaling:*",
"cloudwatch:*",
"dynamodb:*",
"ec2:*",
"elasticache:*",
@imperialwicket
imperialwicket / .bash_aliases
Created February 19, 2015 18:07
Bash alias for generating GitHub Pull Requests
# Bash alias to generate pull requests on github.com
#
# PreRequisites:
# Create an auth token (bypasses 2 factor auth, when enabled):
# https://github.com/settings/tokens/new
#
# Use any name, something like 'pull requests' makes sense.
# Allow permissions 'repo' and 'public repo'.
# Create.
#
@imperialwicket
imperialwicket / keybase.md
Created September 24, 2014 16:10
keybase.md

Keybase proof

I hereby claim:

  • I am imperialwicket on github.
  • I am imperialwicket (https://keybase.io/imperialwicket) on keybase.
  • I have a public key whose fingerprint is 404E 1FAF D1D0 4BA8 5022 145F 2088 41AB DEB4 B0D0

To claim this, I am signing this object:

@imperialwicket
imperialwicket / nginx.conf-partial
Created February 19, 2014 22:03
nginx kibana config for user-specific dashboard
location ~ ^/app/dashboards/default\.json.*$ {
rewrite ^/app/dashboards/default\.json(.*)$ /app/dashboards/$remote_user.json$1 break;
}
@imperialwicket
imperialwicket / s3-s3cmd-sync-dated-dirs.sh
Last active December 15, 2015 00:19
Bash script for syncing portions of s3 bucket based on dated directory structures.
#!/bin/bash
##################################################
#
# s3-s3cmd-sync-dated-dirs.sh
#
# Easily download content in dated directory
# structures from s3.
#
#
# https://gist.github.com/imperialWicket
@imperialwicket
imperialwicket / openstack-python-packages.sh
Last active December 14, 2015 22:19
Bash script for installing the various openstack python clients and populating a file with appropriate environment variables.
#!/bin/bash
#####################################################################
#
# openstack-python-packages.sh
#
# https://gist.github.com/imperialWicket
#
# This scripts automates much of getting started process for
# openstack cli installation (python clients). Pip is required for
# this script to work, and also Python 2.x (x > 6). Pip presence is
@imperialwicket
imperialwicket / useradd_hack.sh
Created November 6, 2012 23:25
Adds a user with key and home dir
#!/bin/bash
EXPECTED=1
if [ $# -ne $EXPECTED ]
then
echo "Please provide a username argument."
exit 5
fi
@imperialwicket
imperialwicket / chicagoboss
Created October 12, 2012 14:19
Chicago Boss init.d
#!/bin/bash
#
# /etc/rc.d/init.d/chicagoboss
#
# Starts Chicago Boss from the /home/boss/cb_admin directory.
#
# Source function library.
. /etc/rc.d/init.d/functions