This file contains hidden or 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 bash | |
set -ex | |
export TEST_CLUSTER_NAME=quick-test | |
export CERT_MANAGER_VERSION=v1.3.1 | |
export KIND_IMAGE=kindest/node:v1.20.2 | |
# Create test cluster | |
echo "Creating test cluster..." | |
kind create cluster --name="$TEST_CLUSTER_NAME" --image="$KIND_IMAGE" | |
until kubectl --timeout=120s wait --for=condition=Ready pods --all --namespace kube-system; do sleep 1; done |
This file contains hidden or 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
find . -type d | parallel --jobs 6 /Applications/darktable.app/Contents/MacOS/darktable-cli "{1}" /PATH_TO_OUTPUT_FOLDER --core --library ":memory:" --configdir "/tmp/{/.}/" |
This file contains hidden or 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
ffmpeg -r 25 -pattern_type glob -i '*.jpg' -vf scale=3840:-1 -vcodec libx264 -crf 25 OUTPUT.MP4 |
This file contains hidden or 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 | |
if [[ -z "$1" || -z "$2" ]]; then | |
echo "Usage: timelapse input/*.jpg output.mp4"; | |
exit; | |
fi | |
mkdir "./working" | |
output="${!#}" |
This file contains hidden or 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
# USE LINUX DISTRO | |
FROM ubuntu:latest AS download | |
RUN apt-get update | |
RUN apt-get install -y curl wget unzip | |
WORKDIR /download | |
RUN curl -L -o CommandTools.zip https://download.jetbrains.com/resharper/ReSharperUltimate.2019.2.2/JetBrains.ReSharper.CommandLineTools.Unix.2019.2.2.zip | |
RUN unzip CommandTools.zip && rm CommandTools.zip | |
#FROM mono:latest AS tool | |
FROM mcr.microsoft.com/dotnet/core/sdk:3.0.100 AS tool |
This file contains hidden or 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
node_modules | |
.git |
This file contains hidden or 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
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse } |
This file contains hidden or 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
# escape=` | |
FROM microsoft/dotnet-framework:4.7.2-runtime | |
SHELL ["powershell", "-Command","$ErrorActionPreference = 'Stop';$ProgressPreference = 'SilentlyContinue';"] | |
RUN Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' ` | |
-Name ServerPriorityTimeLimit -Value 0 -Type DWord | |
RUN Add-WindowsFeature Web-server, ` | |
NET-Framework-45-ASPNET, Web-Asp-Net45; ` | |
Remove-Website -Name 'Default Web Site' |
This file contains hidden or 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
# escape=` | |
FROM microsoft/dotnet-framework:4.7.2-sdk-windowsservercore-1803 | |
ENV SOLUTION_NAME Solutionfile.sln | |
ENV PUBLISH_PROFILE Release | |
RUN mkdir C:\api | |
WORKDIR C:\\api | |
COPY . . | |
RUN nuget restore %SOLUTION_NAME% |