This file contains hidden or 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
PYDIO_URL=my.pydio.cells | |
MYSQL_ROOT_PASSWORD=rootPassword | |
MYSQL_DATABASE=pydio | |
MYSQL_USER=cells | |
MYSQL_PASSWORD=password |
This file contains hidden or 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
#loomchild | |
docker run -v MYVOLUME:/volume -v /tmp:/backup loomchild/volume-backup \ | |
backup MYVOLUME | |
#alpine | |
docker run -it -v MYVOLUME:/volume -v /tmp:/backup alpine \ | |
tar -cjf /backup/MYVOLUME.tar.bz2 -C /volume ./ |
This file contains hidden or 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 api from '@/api' | |
const getArticle = ({commit}) => { | |
return new Promise((resolve, reject) => { | |
api.getArticle().then((result) => { | |
if (result) { | |
commit('UPDATE_ARTICLE', result) | |
resolve('Successfully got article') | |
} else { | |
reject(Error('Could not get article')) |
This file contains hidden or 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
<template> | |
<div v-if="Car"> | |
<h3>{{ Car.make }} {{ Car.model }}</h3> | |
<img :src="Car.photoURL" :alt="`${Car.model} photo`"> | |
<p><nuxt-link to="/">Home page</nuxt-link></p> | |
</div> | |
</template> | |
<script> | |
import staticData from '~/plugins/axios-ecstatic' |
This file contains hidden or 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
UPDATE wp_options SET option_value = replace(option_value, 'http://old', 'http://new') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://old','http://new'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://old', 'http://new'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://old','http://new'); |
NewerOlder