LooselyTyped

(map blog thoughts)

Feb 7, 2018 - devops

Docker Tip #1 — Docker Aliases

I use docker daily, and having to type the same commands over and over again eventually gets old. Over the last few years I have written out, and stolen a few function and aliases that aid my daily workflow. In this post I will highlight a few of those, and hopefully you will find a way to incorporate these, or some variation of the same in yours.

Feb 5, 2018 - TIL

... about Docker and Jenkins

Have a Jenkins instance with a specific user, say jenkins, and you decided you needed to use docker commands from within Jenkins. How does one go about doing that?

Nov 14, 2017 - TIL

... about take in oh-my-zsh

Ever finding yourself doing a mkdir followed by a cd into the newly created directory? Turns out, oh-my-zsh has a built in function that does both! Allow me to introduce you to take …​

Nov 13, 2017 - TIL

... about 'Open Quickly' in Iterm2

It turns out that iTerm2 has a 'Open Quickly' shortcut (bound to ⌘+Shift+o) that brings up a Quicksilver like interface, allowing you to quickly search, and switch terminal sessions.

Nov 12, 2017 - devops

Know Your Line Endings

Working with git in a multi-OS setting can lead to some rather bizarre behavior, especially if git’s eol (end-of-line) settings are not configured correctly.

This behavior (in our case) was further exacerbated when working with shell scripts, and building docker images.

Oct 25, 2017 - devops

Uncovering passwords in Jenkins

Imagine a situation where you are handed a Jenkins installation with no knowledge of how it was actually set up. One can establish the overall setup via the "Manage Jenkins" screen, looking over the plugins that have been installed and reviewing each of the jobs via their configuration screen. However, one point of concern are the credentials being used within Jenkins. How does one recover a lost or forgotten password?