# atlassian-jira_jira_1 is the container name
# what follows is the path in the container of the file
# lastly, the destination (supports relative) on the docker host machine
docker cp atlassian-jira_jira_1:/var/atlassian/jira/export/jira-backup-20190217.zip ./backups/
v26 happens to be what I have installed as I go through this process
Steps to install the cbb
and other utilities on the candidate machine you would like to backup. still need to figure out if this machine is able to serve as an on-network resource to configure others. More to come on that. Also, worth mentioning is that this tool comes with a web interface for easier management of your backup configs. I intend to explore that and reporting back.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
networks: | |
kong-net: | |
driver: bridge | |
services: | |
####################################### | |
# Postgres: The database used by Kong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
## Run Brakeman Report | |
# | |
# IMPORTANT!!! | |
# 1. Make sure you have `realpath` from the coreutils package installed (via brew). To | |
# check this, run `which realpath`. To install, run `brew install coreutils` | |
# | |
# 2. Make sure you have the brakeman gem installed on your machine. If not, | |
# run `gem install brakeman` from your machine $HOME to do so. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linux | |
# add the following to "~/.gitconfig" file | |
[merge] | |
tool = intellij | |
[mergetool "intellij"] | |
cmd = /usr/local/bin/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED") | |
trustExitCode = true | |
[diff] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": [ | |
{ | |
"path": "packages/libs/js-lib", | |
"name": "JS Lib" | |
}, | |
{ | |
"path": "packages/apps/admin", | |
"name": "Admin" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": [ | |
{ | |
"name": "Health Worker Logger", | |
"path": ".", | |
} | |
], | |
"extensions": { | |
"recommendations": [ | |
"msjsdiag.debugger-for-chrome", |
It's super easy. A few useful guides:
- Getting started with Docker Desktop (for Mac): https://www.docker.com/docker-desktop/getting-started-for-mac
- Getting started with Docker Compose: https://docs.docker.com/compose/gettingstarted/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MockPrompt = { | |
install: function() { | |
MockPrompt.message = undefined; | |
MockPrompt.value = undefined; | |
MockPrompt.returnValue = undefined; | |
MockPrompt.originalPrompt = window.prompt; | |
window.prompt = function(message, value) { | |
MockPrompt.message = message; | |
MockPrompt.value = value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: gcloud builds submit --no-source | |
# | |
# Remember to first grant the cloud build service account permissions to access | |
# secret 'foo' | |
# | |
# gcloud beta secrets add-iam-policy-binding foo \ | |
# --member=serviceAccount:<project-number>@cloudbuild.gserviceaccount.com \ | |
# --role=roles/secretmanager.secretAccessor | |
steps: | |
# fetch the secret and write to a volume |