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
FORMAT="ogg" | |
[ -z $2 ] || FORMAT=$2 | |
youtube-dl -citx $1 | |
mkdir out | |
for F in *; do | |
case "$F" in | |
(*.bash | *.sh) continue;; |
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 | |
REPO_URL=$1 | |
BRANCH=$2 | |
TMP_DIR="./.tmp" | |
CLOC_EXCLUDED_DIRS="node_modules,vendor" | |
CLOC_EXCLUDED_LANGS="JSON,Markdown,YAML,SVG,SQL,Dockerfile,make" | |
OUT_FILE="./results.csv" |
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
FROM golang:1.13-alpine | |
WORKDIR /test | |
RUN apk add curl git | |
RUN go get -u github.com/wcharczuk/go-chart | |
RUN curl -Lo test.go https://raw.githubusercontent.com/wcharczuk/go-chart/master/examples/bar_chart/main.go | |
RUN touch output.png | |
ENTRYPOINT ["go", "run", "test.go"] |
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
/** @format */ | |
import { Component, forwardRef } from '@angular/core'; | |
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms'; | |
export const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any = { | |
provide: NG_VALUE_ACCESSOR, | |
// tslint:disable-next-line: no-use-before-declare | |
useExisting: forwardRef(() => EntryInputComponent), | |
multi: true, |
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
export function randomString(n: number, charset?: string): string { | |
let res = ''; | |
let chars = | |
charset || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; | |
let charLen = chars.length; | |
for (var i = 0; i < n; i++) { | |
res += chars.charAt(Math.floor(Math.random() * charLen)); | |
} |
I hereby claim:
- I am zekrotja on github.
- I am zekrodev (https://keybase.io/zekrodev) on keybase.
- I have a public key ASBW8pQDJzn4mLcExivvHMaaqm4rUpEn-lVXhNS6mmhJ-Ao
To claim this, I am signing this object:
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' | |
services: | |
# We will use an enginx layer to simply encrypt the | |
# HTTP traffic with SSL using a self singed certificate. | |
nginx: | |
image: 'nginx:latest' | |
ports: | |
- '80:80' |
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
{"lastUpload":"2020-03-31T11:31:46.511Z","extensionVersion":"v3.4.3"} |