Skip to content

Instantly share code, notes, and snippets.

View ajmoorexyz's full-sized avatar
🌎

AJ Moore ajmoorexyz

🌎
  • Verily
  • Boulder, CO
View GitHub Profile
  • What is the problem?
  • What exactly does this problem mean? Spend 5 minutes of quiet time thinking to yourself the implications of what is happening and why it may be happening. Are there recent changes going on? Did someone mention this at standup?
  • Does it happen in prod too? (run the build right now, etc.)
  • Does it happen consistently or only sometimes?
  • If not consistent, what seems to be the variability? (build slave, environment)
  • Does the documentation of the project mention anything like this?
  • What systems could potentially be involved in this issue?
@ajmoorexyz
ajmoorexyz / CRYPTO.md
Last active August 11, 2021 11:02
Resources for Buying and Selling Crypto...

Crypto | DeFi | Buy | Stake

Disclaimer

  • I am NOT a financial advisor and this is NOT financial advice
  • The opinions expressed herein are my own

Impetus

  • reduce the barrier to entry into DeFi
  • use live demos with real money to show how the elements of DeFi work together
@ajmoorexyz
ajmoorexyz / Jenkins+Script+Console.md
Created October 3, 2019 02:38 — forked from mubbashir/Jenkins+Script+Console.md
jenkins groovy scripts collection.
{
"Ansi 6 Color" : {
"Red Component" : 0.49320274265483022,
"Color Space" : "sRGB",
"Blue Component" : 0.859527587890625,
"Alpha Component" : 1,
"Green Component" : 0.7948720690417127
},
"Tags" : [
# Load Homebrew near the top
brandon-fryslie/rad-plugins homebrew
# Load some dotfile aliases
brandon-fryslie/rad-plugins dotfiles
# 3rd Party plugins
robbyrussell/oh-my-zsh plugins/docker
robbyrussell/oh-my-zsh plugins/aws
#Add Groovy Script Permissions: Manage Jenkins » In-process Script Approval and Approve
def job = jenkins.model.Jenkins.instance.getItemByFullName('folder//projname')
def myBuild = job.getBuild('123')
myBuild.keepLog(true)
@ajmoorexyz
ajmoorexyz / colorize-stdout.py
Last active January 4, 2018 13:00
Use Python to colorize STDOUT --> making the terminal fun to look at == happiness
# Add to any Python script to make logging fun and easy to look at
def color_code(code): return '\x1b[%sm' % code
def colorize(code, s): return '%s%s%s' % (
color_code(code), str(s).replace(color_code(0), color_code(code)), color_code(0))
def green(s): return colorize(32, s)
def yellow(s): return colorize(33, s)
def red(s): return colorize('1;31', s)
def cyan(s): return colorize(36, s)
def magenta(s): return colorize(35, s)