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
#EXTM3U | |
#EXTINF:-1,INEWS+ https://live.rctiplus.id/rctiplus/inews_720p.m3u8 | |
https://live.rctiplus.id/rctiplus/inews_720p.m3u8 | |
#EXTINF:-1,GLOBAL TV+ https://live.rctiplus.id/rctiplus/gtv_720p.m3u8 | |
https://live.rctiplus.id/rctiplus/gtv_720p.m3u8 | |
#EXTINF:-1,SCTV HD http://id1.indostreamingtv.com/live/sctv/index.m3u8 | |
http://id1.indostreamingtv.com/live/sctv/index.m3u8 | |
#EXTINF:-1,METRO TV HD http://edge.metrotvnews.com:1935/live-edge/smil:metro.smil/chunklist_w2006790992_b1492000_sleng.m3u8 | |
http://edge.metrotvnews.com:1935/live-edge/smil:metro.smil/chunklist_w2006790992_b1492000_sleng.m3u8 | |
#EXTINF:-1,NET TV http://45.126.83.51/qwr9ew/s/s08/01.m3u8 |
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
#EXTM3U | |
#EXTINF:-1 tvg-id="ADiTV.id" tvg-logo="https://i.imgur.com/b4IDBG7.png" group-title="Undefined",ADiTV (720p) [Not 24/7] | |
https://v2.siar.us/aditv/livestream/chunks.m3u8 | |
#EXTINF:-1 tvg-id="AhsanTV.id" tvg-logo="https://i.imgur.com/dZdUbYd.png" group-title="Religious" user-agent="Mozilla/5.0 (X11; Linux x86_64)",Ahsan TV (360p) [Geo-blocked] | |
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (X11; Linux x86_64) | |
https://h1.intechmedia.net/intech/ch4.m3u8 | |
#EXTINF:-1 tvg-id="Ainos.id" tvg-logo="https://i.imgur.com/C62qtRz.png" group-title="Undefined",Ainos (576i) | |
https://alfa.kugo.id/playout/ainos.stream/chunklist.m3u8 | |
#EXTINF:-1 tvg-id="AlBinaaTV.id" tvg-logo="https://i.imgur.com/MTR4GuF.png" group-title="Undefined",Al Binaa TV (720p) | |
https://master.antosatriani.workers.dev/channel/UCdq-DJ5MS7qjd1aXPFg71Yg.m3u8 |
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
$ docker-compose up --build | |
Creating network "frn_default" with the default driver | |
Building face_recognition | |
Sending build context to Docker daemon 122.1MB | |
Step 1/14 : FROM nvidia/cuda:10.0-cudnn7-devel | |
10.0-cudnn7-devel: Pulling from nvidia/cuda | |
25fa05cd42bd: Already exists | |
2d6e353a95ec: Pull complete | |
df0051b6f25d: Pull complete | |
ad1e3e71b0c0: 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
import { ActionResult, CustomMiddleware, HttpStatusError, Invocation } from "@plumier/core"; | |
import APM from 'elastic-apm-node'; | |
export class APMMiddleware implements CustomMiddleware { | |
async execute(next: Readonly<Invocation>): Promise<ActionResult> { | |
if (next.ctx?.route?.url) { | |
APM.setTransactionName(next.ctx.route.url); | |
} else { | |
APM.setTransactionName(next.ctx.url); | |
} |
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
stages: | |
- build | |
- deploy | |
Build: | |
stage: build | |
image: docker:19.03.12 | |
services: | |
- docker:19.03.12-dind | |
tags: |
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
stages: | |
- build | |
build: | |
stage: build | |
image: docker:19.03.12 | |
services: | |
- docker:19.03.12-dind | |
variables: | |
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG |
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 { Module } from '@nestjs/common'; | |
import { ConfigService } from './config.service'; | |
@Module({ | |
providers: [ | |
{ | |
provide: ConfigService, | |
useValue: new ConfigService('.env'), | |
}, | |
], |
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 { ArgumentMetadata, HttpException, Injectable, PipeTransform } from '@nestjs/common'; | |
import { plainToClass } from 'class-transformer'; | |
import { validate, ValidationError } from 'class-validator'; | |
@Injectable() | |
export class ValidationPipe implements PipeTransform<any> { | |
async transform(value: any, { metatype }: ArgumentMetadata) { | |
if (!metatype || !this.toValidate(metatype)) { | |
return value; | |
} |
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 { ExecutionContext, Injectable, NestInterceptor, CallHandler } from '@nestjs/common'; | |
import { classToPlain } from 'class-transformer'; | |
import { Observable } from 'rxjs'; | |
import { map } from 'rxjs/operators'; | |
@Injectable() | |
export class TransformInterceptor implements NestInterceptor { | |
intercept(context: ExecutionContext, next: CallHandler): Observable<any> { | |
return next.handle().pipe(map(data => classToPlain(data))); | |
} |
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 { CallHandler, ExecutionContext, Injectable, NestInterceptor } from '@nestjs/common'; | |
import { Observable } from 'rxjs'; | |
import { map } from 'rxjs/operators'; | |
@Injectable() | |
export class UndefinedInterceptor implements NestInterceptor { | |
intercept(context: ExecutionContext, next: CallHandler): Observable<any> { | |
return next | |
.handle() | |
.pipe(map(value => this.traverse(value))); |
NewerOlder