Skip to content

Instantly share code, notes, and snippets.

Nicholas Whittier imperialwicket

Block or report user

Report or block imperialwicket

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@imperialwicket
imperialwicket / gist:df031f8169a1567c36b1bdb9009c60c3
Created May 22, 2018
Security group and load balancer errors in spinnaker aws
View gist:df031f8169a1567c36b1bdb9009c60c3
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 Sep 16, 2016
supertux editor questions
View supertux-editor
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.
View netflix-asgard-iam-policy
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"autoscaling:*",
"cloudwatch:*",
"dynamodb:*",
"ec2:*",
"elasticache:*",
@imperialwicket
imperialwicket / .bash_aliases
Created Feb 19, 2015
Bash alias for generating GitHub Pull Requests
View .bash_aliases
# 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.
#
View 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 Feb 19, 2014
nginx kibana config for user-specific dashboard
View nginx.conf-partial
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 Dec 15, 2015
Bash script for syncing portions of s3 bucket based on dated directory structures.
View s3-s3cmd-sync-dated-dirs.sh
#!/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 Dec 14, 2015
Bash script for installing the various openstack python clients and populating a file with appropriate environment variables.
View openstack-python-packages.sh
#!/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 Nov 6, 2012
Adds a user with key and home dir
View useradd_hack.sh
#!/bin/bash
EXPECTED=1
if [ $# -ne $EXPECTED ]
then
echo "Please provide a username argument."
exit 5
fi
@imperialwicket
imperialwicket / chicagoboss
Created Oct 12, 2012
Chicago Boss init.d
View chicagoboss
#!/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
You can’t perform that action at this time.