File | Purpose |
---|---|
/etc/compose/docker-compose.yml |
Compose file describing what to deploy |
/etc/systemd/system/docker-compose.service |
Service unit to start and manage docker compose |
/etc/systemd/system/docker-compose-reload.service |
Executing unit to trigger reload on docker-compose.service |
/etc/systemd/system/docker-compose-reload.timer |
Timer unit to plan the reloads |
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
~/webapp/phx/1.4.0-dev/dynt (master ✔) ᐅ rm -rf _build | |
~/webapp/phx/1.4.0-dev/dynt (master ✔) ᐅ ./build.sh | |
Sending build context to Docker daemon 434.2kB | |
Step 1/14 : FROM bitwalker/alpine-elixir-phoenix:1.6.4 | |
1.6.4: Pulling from bitwalker/alpine-elixir-phoenix | |
2fdfe1cd78c2: Pull complete | |
2c0d9bb9fb45: Pull complete | |
d93f0b84684a: Pull complete | |
335734700e0f: Pull complete | |
a3bef11652be: Pull complete |
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
~/webapp/phx/1.4.0-dev/dynt (master ✔) ᐅ docker-compose up | |
dynt-db is up-to-date | |
Starting dynt-admin ... done | |
dynt-server is up-to-date | |
Attaching to dynt-db, dynt-admin, dynt-server | |
dynt-db | The files belonging to this database system will be owned by user "postgres". | |
dynt-db | This user must also own the server process. | |
dynt-db | | |
dynt-db | The database cluster will be initialized with locale "en_US.utf8". | |
dynt-db | The default database encoding has accordingly been set to "UTF8". |
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
<download python3 package from python.org and install with package installer> | |
cd src; mkdir tensorflow; python3 -m venv tf-test; cd tf-test | |
source bin/activate | |
curl https://bootstrap.pypa.io/get-pip.py | python | |
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org grpcio==1.9.1 |
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/sh | |
ffmpeg -i input -c:v libx264 -preset slow -profile:v high -crf 18 -coder 1 -pix_fmt yuv420p -movflags +faststart -g 30 -bf 2 -c:a aac -b:a 384k -profile:a aac_low output |
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
#!/usr/bin/env python | |
# encoding=utf8 | |
from __future__ import print_function | |
import json | |
import time | |
import datetime | |
import argparse | |
import sys | |
reload(sys) |
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 | |
# | |
# Diffusion youtube avec ffmpeg | |
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
VBR="2500k" # Bitrate de la vidéo en sortie | |
FPS="30" # FPS de la vidéo en sortie | |
QUAL="medium" # Preset de qualité FFMPEG | |
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
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
defmodule Olivetree.ReleaseTasks do | |
@start_apps [ | |
:crypto, | |
:ssl, | |
:postgrex, | |
:ecto | |
] | |
def olivetree, do: Application.get_application(__MODULE__) |
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
$info: darken(#328cc1, 20%); | |
$primary: #083c5d; | |
$primary-light: #328cc1; | |
$navbar_color: #083c5d; |
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
// setup sharing button and UIActivityViewController | |
// once the download finishes | |
downloadingViewModel.fileDownloadCompleteEvent.asObservable() | |
.observeOn(MainScheduler.instance) | |
.subscribe({ download in | |
self.fullDownloadButton.rx.tap | |
.bind { | |
// copy file to temp dir to rename it | |
if let localDownload = self.downloadingViewModel.fileDownload.value { | |
let activityViewController = UIActivityViewController(activityItems: [UIImage(named: "FWBCLogo")!, "Shared via the Faithful Word App: https://faithfulwordapp.com/", localDownload.localUrl], applicationActivities: nil) |