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 / Jenkins+Script+Console.md
Created October 3, 2019 02:38 — forked from mubbashir/Jenkins+Script+Console.md
jenkins groovy scripts collection.
#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 / spacemacs-cheatsheet.txt
Created December 17, 2016 22:53 — forked from davoclavo/spacemacs-cheatsheet.md
Spacemacs cheatsheet
`emacs --daemon` to run in the background.
`emacsclient.emacs24 <filename/dirname>` to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
* Undo - `C-/`
* Redo - `C-?`
* Change case: 1. Camel Case : `M-c`
2. Upper Case : `M-u`
3. Lower Case : `M-l`
@ajmoorexyz
ajmoorexyz / jdk_download.sh
Created October 31, 2016 18:25 — forked from P7h/jdk_download.sh
Script to download JDK / JRE / Java binaries from Oracle website from terminal / shell / command line / command prompt
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### #####
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget.
### You can download all the binaries one-shot by just giving the BASE_URL.
### Script might be useful if you need Oracle JDK on Amazon EC2 env.
### Script is updated for every JDK release.
### Features:-
# 1. Resumes a broken / interrupted [previous] download, if any.
# 2. Renames the file to a proper name with including platform info.
@ajmoorexyz
ajmoorexyz / install-xcode
Created October 30, 2016 01:20
Demonstrate a wholly automated Xcode install.
#!/bin/bash
set -e
# Standalone script to install Xcode w/ CLI tools on a fresh OS X 10.8, via applescript.
# This might be more lovely (and maintainable) as ruby, if only we could have some handy
# gems that all need a compiler for native extensions. We don't, so do it old school.
# Some things:
@ajmoorexyz
ajmoorexyz / Makefile
Created January 31, 2016 19:15 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@ajmoorexyz
ajmoorexyz / 0_reuse_code.js
Created November 28, 2015 00:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console