For a small number of variables ('tokens'), I use a simple shell script along with a templated version of my YAML file. Here's an actual example:
files:
docker-compose-template.yml
docker-compose.yml
compose_replace.sh
run:
For a small number of variables ('tokens'), I use a simple shell script along with a templated version of my YAML file. Here's an actual example:
files:
docker-compose-template.yml
docker-compose.yml
compose_replace.sh
run:
# 1.install gource using HomeBrew | |
$ brew install gource | |
# 2.install avconv | |
git clone git://git.libav.org/libav.git | |
cd libav | |
# it will take 3-5 minutes to complie, be patient. | |
./configure --disable-yasm | |
make && make install |
server { | |
charset utf-8; | |
#listen <YOUR_IP>:80; | |
server_name <YOUR_DOMAIN> www.<YOUR_DOMAIN>; | |
root /PATH/TO/YOUR/PRESTASHOP/INSTALLATION; | |
index index.php; | |
access_log /var/log/nginx/domains/<YOUT_DOMAIN>.log combined; |
The following command will install the latest version of REX-Ray to /usr/bin/rexray on Linux systems:
$ sudo apt install s3fs
$ curl -sSL https://dl.bintray.com/emccode/rexray/install | sh
Depending on the Linux distribution REX-Ray will be registered as either a SystemD or SystemV service.
REX-Ray requires a configuration file for storing details used to communicate with storage providers. This can include authentication credentials and driver specific configuration options. After REX-Ray has been installed, copy and paste the contents below to a new file on the host at /etc/rexray/config.yml
to configure s3fs storage driver.
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: minio | |
labels: | |
app: minio | |
spec: | |
clusterIP: None | |
ports: | |
- port: 9000 |
chmod a+w -R config/ | |
chmod a+w -R cache/ | |
chmod a+w -R log/ | |
chmod a+w -R img/ | |
chmod a+w -R mails/ | |
chmod a+w -R modules/ | |
chmod a+w -R themes/default-bootstrap/lang/ | |
chmod a+w -R themes/default-bootstrap/pdf/lang/ | |
chmod a+w -R themes/default-bootstrap/cache/ | |
chmod a+w -R translations/ |
Install dep, and start tracker
sudo apt-get install bittornado ctorrent
bttrack --port 6969 --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full
Now, create a torrent file
ctorrent -t -u "YOUR_SERVER_IP:6969/announce" -s new_file_name.torrent file_or_folder_for_torrent
FROM debian:7.4 | |
MAINTAINER Dan Callahan <dan.callahan@gmail.com> | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ | |
vim curl locales \ | |
&& apt-get clean | |
RUN locale-gen C.UTF-8 && LANG=C.UTF-8 /usr/sbin/update-locale | |
ENV LANG C.UTF-8 |
-- | |
-- This is SQL query to extract AddressBook info from respective sqlite3 file from iOS backup. | |
-- It has been tested only on my own backup, so, if anything is wrong, fork, edit, and stuff. | |
-- | |
-- # parse-manifest.py from http://stackoverflow.com/questions/3085153/how-to-parse-the-manifest-mbdb-file-in-an-ios-4-0-itunes-backup | |
-- | |
-- $ python ../parse-manifest.py | grep AddressBook.sqlitedb | |
-- -rw-r--r-- 000001f5 000001f5 1654784 1312812502 1312812502 1287387943 (31bb7ba8914766d4ba40d6dfb6113c8b614be442)HomeDomain::Library/AddressBook/AddressBook.sqlitedb | |
-- | |
-- $ sqlite3 31bb7ba8914766d4ba40d6dfb6113c8b614be442 |