Skip to content

Instantly share code, notes, and snippets.

View dynajoe's full-sized avatar

Joe Andaverde dynajoe

  • Temporal Technologies
  • United States
View GitHub Profile
@dynajoe
dynajoe / aws.md
Created June 15, 2022 23:00 — forked from colinvh/aws.md
AWS Region Names

Alternative naming schemes for AWS regions

Purpose

The intent is to define terse, standards-supported names for AWS regions.

Schemes

@dynajoe
dynajoe / kubectl-root-in-host-nopriv.pks.sh
Created June 2, 2021 19:09 — forked from jjo/kubectl-root-in-host-nopriv.sh
Yeah. Get a root shell at any Kubernetes *node* via `privileged: true` + `nsenter` sauce. PodSecurityPolicy will save us. DenyExecOnPrivileged didn't (kubectl-root-in-host-nopriv.sh exploits it)
#!/bin/sh
# Launch a Pod ab-using a hostPath mount to land on a Kubernetes node cluster as root
# without requiring `privileged: true`, in particular can abuse `DenyExecOnPrivileged`
# admission controller.
# Pod command in turn runs a privileged container using node's /var/run/docker.sock.
#
# Tweaked for PKS nodes, which run their docker stuff from different
# /var/vcap/... paths
node=${1}
case "${node}" in
@dynajoe
dynajoe / gist:446b041b6a388cb6a769
Last active August 29, 2015 14:25 — forked from simonmorley/gist:d16261a1b45e28af6455
Google Cloud Compute Create Snapshot with Rotate
#!/bin/ruby
require 'json'
require 'time'
require 'syslog'
class Snapshot
def initialize()
@format = 'json'
@dynajoe
dynajoe / nodekc.md
Last active December 16, 2015 07:48 — forked from adunkman/nodekc.md

Next Meetup: Tuesday, April 16

  • Hack and Tell (another group|sucky npm packages)

Topics:

  • What's new in node 0.10 (and why isn't it 1 yet?) - 0
  • native bindings - 0
  • how do you create blocking javascript - 1
  • Hosting node.js on production windows - 1
    • node.js on azure
  • Cross-meetup meeting (game group?) - 0

These instructions work for the Raspberry Pi running Raspbian (hard float) and create a hardware optimized version of NodeJS for the Raspberry PI, (and include a working install and NPM!!!):

  1. Install Raspbian - http://www.raspberrypi.org/downloads

  2. Install the necessary dependecies:

sudo apt-get install git-core build-essential
@dynajoe
dynajoe / gist:1696433
Created January 29, 2012 00:33 — forked from smerchek/gist:1696321
initial meeting

In order for me to have a good idea of who will be attending the event please #rsvp to @nodekc before each meeting. If you're not a twitter user just shoot an e-mail to me (joe [hat] nodekc.org). Our meetings will be held at snow and company (Just off I35 in downtown KC) monthly or every other week, depending on interest. If you have a laptop please bring it (wireless internet will be provided).

The NodeKC user group will focus on building open source node projects. We'll work collaboratively on projects that the group determines to be interesting and challenging. Our first project, however, has been pre-determined for the sake of a quick start. This project idea will be announced and developed further at the first meetup.

We'll break into two groups and work toward a similar goal on the project after the first meeting. These groups will have a set of user stories to accomplish before the next meetup. At the following meeting we'll review each of the groups code and determine which codebase to merge into

@dynajoe
dynajoe / speakerbio.md
Created January 25, 2012 22:11 — forked from smerchek/speakerbio.md
My Speaker Bio

Scott graduated from Kansas State University in 2010 and has worked at Softek Solutions ever since. At Softek, Scott is regarded as a talented and multi-faceted team member. He has experience with many aspects of software development from server side to client facing. He's always interested in learning and seeking out knowledge on how new technologies can be applied to his interests in analytics, data visualization, and search. Outside of software, Scott enjoys reading, cycling, running, spending time with his wife, and working toward a triathlon this year.