# 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/
Credit where credit is due:
- http://osxdaily.com/2010/07/26/how-to-reset-the-ignored-software-updates-list/
- http://osxdaily.com/2018/10/26/stop-upgrade-macos-mojave-notifications/
/usr/sbin/softwareupdate --reset-ignored
This guide will be completed with the OpenShift Trial available at https://www.openshift.com/trial/. Our link here directs you right to the signup screen for a developer trial - if you visit the link directly, be sure to select the developer track.
Complete the following steps to get going with an OpenShift trial account:
- Create a Red Hat account. You can also login with your Google account (which is what I did). You will be directed to:
- Provide a password
- Agree to the disclosures You will end up at an account dashboard letting you know that your environment is queued for provisioning. No worries - you've got a Red Hat account, so your job is done here for now. Head back to the getting started guide.
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
import UIKit | |
class ViewController: UIViewController { | |
// Some other code... | |
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | |
// The next 3 lines of code will apply the fix IF a view controller is being presented as a popup, to align it to the center of the anchor object's view | |
if let popoverPresentationController = segue.destination.popoverPresentationController, let sourceView = sender as? UIView { | |
popoverPresentationController.sourceRect = sourceView.bounds; |
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
{ | |
"workbench.colorTheme": "One Dark Pro Monokai Darker", | |
"files.autoSave": "onFocusChange", | |
"editor.formatOnPaste": true, | |
"editor.formatOnType": true, | |
"editor.formatOnSave": true, | |
"eslint.autoFixOnSave": true, | |
"markdown.extension.preview.autoShowPreviewToSide": true, | |
"markdown.preview.scrollPreviewWithEditor": true, | |
"less.compile": { |
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
package com.uchechilaka.examples; | |
import java.util.Random; | |
import java.util.Scanner; | |
class Player { | |
public String name; | |
public String choice; | |
public int numberOfFingers; |
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
module.exports = { | |
parser: "babel-eslint", | |
parserOptions: { | |
ecmaVersion: 6, | |
sourceType: 'module', | |
ecmaFeatures: { | |
modules: true, | |
//experimentalObjectRestSpread: true | |
} | |
}, |
These instructions are specific to opportunities to automate tasks related to a custom mail server deployed using the following instructions: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin
- Add the domain name to the
virtual_domains
table - Add any user email addresses to the
virtual_users
table
The following configurations are DNS related.
touch /etc/apt/sources.list.d/froxlor.list
echo 'deb http://debian.froxlor.org stable main' > /etc/apt/sources.list.d/froxlor.list
sudo add-apt-repository ppa:ondrej/apache2
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update && sudo apt-get upgrade
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: '2' | |
services: | |
db: | |
container_name: wp-mysql | |
ports: | |
- 8086:3306 | |
image: mysql/mysql-server:5.7 | |
restart: unless-stopped |