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: '3.7' | |
services: | |
proxy: | |
image: traefik:v1.7 | |
ports: | |
- 80:80 | |
- 443:443 | |
networks: | |
- proxy-network |
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: '3.7' | |
services: | |
# proxy: | |
# image: traefik:v1.7 | |
# ports: | |
# - 80:80 | |
# - 443:443 | |
# networks: | |
# - proxy-network |
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: '3.7' | |
services: | |
proxy: | |
image: traefik:v1.7 | |
ports: | |
- 80:80 | |
- 443:443 | |
networks: | |
- proxy-network |
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 axios from 'axios' | |
import { Message, MessageBox } from 'element-ui' | |
import { UserModule } from '@/store/modules/user' | |
const service = axios.create({ | |
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url | |
timeout: 5000 | |
// withCredentials: true // send cookies when cross-domain requests | |
}) |
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
<template> | |
<div class="app-container"> | |
<el-dropdown trigger="click" @command="handleSetChannel"> | |
<div> | |
<el-col :span="4" class="text-center"> | |
<router-link class="pan-btn green-btn" to="/table/complex-table"> | |
Select Channel | |
</router-link> | |
</el-col> | |
</div> |
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
def add_playlist( | |
ordinal, | |
basename, | |
small_thumbnail_path, | |
med_thumbnail_path, | |
large_thumbnail_path, | |
banner_path, | |
media_category, | |
localized_titles, | |
channel_id |
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 Db.Schema.Channel do | |
use Ecto.Schema | |
import Ecto.Changeset | |
alias Db.Type.ChannelHashId | |
@derive {Jason.Encoder, only: [ | |
:basename, | |
:ordinal, | |
:small_thumbnail_path, | |
:med_thumbnail_path, |
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
query = | |
from(task in Task, | |
join: org in Org, | |
join: rubric in Rubric, | |
join: coursecode in CourseCode, | |
join: task_category in TaskCategory, | |
where: org.uuid == ^org_uuid, | |
where: org.id == task.org_id, | |
where: rubric.id == task.rubric_id, | |
where: coursecode.id == task.coursecode_id, |
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
query = | |
from(task in Task, | |
join: org in Org, | |
join: rubric in Rubric, | |
join: coursecode in CourseCode, | |
join: task_category in TaskCategory, | |
where: org.uuid == ^org_uuid, | |
where: org.id == task.org_id, | |
where: rubric.id == task.rubric_id, | |
where: coursecode.id == task.coursecode_id, |
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
query = | |
from(task in Task, | |
join: org in Org, | |
join: rubric in Rubric, | |
where: org.uuid == ^org_uuid, | |
where: org.id == task.org_id, | |
where: rubric.id == task.rubric_id, | |
select: %{ | |
title: task.task_title, | |
uuid: task.uuid, |