To backup some_volume to /tmp/some_archive.tar.bz2 simply run:
docker run -it -v some_volume:/volume -v /tmp:/backup alpine \
tar -cjf /backup/some_archive.tar.bz2 -C /volume ./And to restore run:
| { | |
| "name": "Digital Labs Technologies", | |
| "children": [ | |
| { | |
| "name": "Data Analytics", | |
| "children": [ | |
| { | |
| "name": "Data Engineer", | |
| "children": [ | |
| {"name": "AgglomerativeCluster", "value": 3938}, |
| ######## execute as root ###### | |
| sudo su | |
| service iptables stop | |
| chkconfig iptables off | |
| # centos 7: | |
| # systemctl disable firewalld | |
| # systemctl stop firewalld | |
| sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config | |
| reboot | |
| sudo su |
| https://travel.state.gov/content/travel/en/us-visas/Visa-Reciprocity-and-Civil-Documents-by-Country/China.html |
| www.youtube.com | |
| m.youtube.com | |
| youtubei.googleapis.com | |
| youtube.googleapis.com | |
| www.youtube-nocookie.com | |
| From https://support.google.com/a/answer/6214622?hl=en |
To backup some_volume to /tmp/some_archive.tar.bz2 simply run:
docker run -it -v some_volume:/volume -v /tmp:/backup alpine \
tar -cjf /backup/some_archive.tar.bz2 -C /volume ./And to restore run:
| export PRESTO_PASSWORD=***** | |
| ./presto194 \ | |
| --server https://presto.server:31443 \ | |
| --catalog <mycatalog> \ | |
| --keystore-password password \ | |
| --keystore-path /mnt/c/private/presto-client.jks \ | |
| --schema <myschema> \ | |
| --output-format TSV \ | |
| --user <username> \ |
| /*****************************************************/ | |
| /*** Copyright (c) 2014 Vladimir Nikitenko ***/ | |
| /*** Code Project Open License (CPOL) ***/ | |
| /*** (http://www.codeproject.com/info/cpol10.aspx) ***/ | |
| /*****************************************************/ | |
| /***** NvvCSVClasses.cs ***** | |
| ===== History: |
let
Source = Web.Contents("https://myteststorage.blob.core.windows.net/pmdogy/20180129/csv/shrmyd/shrmyd.csv.gz?st=2018-02-05T08%3A57%3A00Z&se=2018-02-05T16%3A57%3A00Z&sp=r&sv=2017-04-17&sr=b&sig=PbFVzUv%2FBwrOCR0RcuzgVw%2F9nVFFmbo%2BXOJusO1yo9E%3D")
in
Source
| # Basic benchmarks | |
| # SET key val # 87489.06 | |
| # SETRANGE key2 6 "Redis" # 75757.58 req/s | |
| # INCR key 245 # 70224.72 req/s | |
| # INCRBY key 245 22 # 67114.09 req/s | |
| # EVAL SET key val # 46296.29 req/s | |
| # SETIFHIGHER (set or update key if new value is higher than current) # 41666.67 req/s | |
| # if not exists return OK , if updated return the increment , if not updated return 0 | |
| SCRIPT LOAD "local c = tonumber(redis.call('get', KEYS[1])); if c then if tonumber(ARGV[1]) > c then redis.call('set', KEYS[1], ARGV[1]) return tonumber(ARGV[1]) - c else return 0 end else return redis.call('set', KEYS[1], ARGV[1]) end" |