Skip to content

Instantly share code, notes, and snippets.

View malston's full-sized avatar

Mark Alston malston

View GitHub Profile
@malston
malston / 2headsetsplitter.jpg
Last active January 11, 2019 17:17
Remote Collaboration
2headsetsplitter.jpg
@malston
malston / atom-shortcuts.md
Last active February 5, 2019 14:41
Atom Keyboard Shortcuts

Atom Keyboard Shortcuts

This page lists keyboard shortcuts for the Atom text editor that I find valuable and use a lot. Feel free to fork the page and add your own favorites. Pull Requests welcome!

This list is by no means meant to be a complete listing of every available shortcut. It simply lists the shortcuts that I use on a regular basis. For a complete listing of all available shortcuts, consult the Settings > Keybindings page in Atom.

Since I'm using a Mac, I have mainly listed the keyboard shortcuts macOS. Please feel free to add the Windows or Linux shortcuts.

Where the shortcut is provided by a package, I have added a link to the package.

Keybase proof

I hereby claim:

  • I am malston on github.
  • I am malston (https://keybase.io/malston) on keybase.
  • I have a public key ASBFgz1JBJbchseiJxqleq3YvgxDZYE0hbb4hPLb7WgqfAo

To claim this, I am signing this object:

#!/bin/bash
set -e
# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
function usage() {
echo "Usage:"
echo " $0 [flags]"
echo ""
@malston
malston / retrieve-credhub-creds.sh
Last active January 28, 2022 22:25
Retrieves credhub credentials by running a remote shell script on opsman vm
#!/usr/bin/env bash
set -o errexit
usage() {
echo "$0 [name of the credential to retrieve]"
echo "Example: $0 /credhub-service-broker/credhub/99f0c44c-1cb5-4c5f-91a8-873090e035aa/credentials"
}
if [ "$#" -lt 1 ]; then