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
apiVersion: v2 | |
publisher: mosaiq | |
name: my-vscode-ext | |
version: 0.20.0 | |
type: vsc ext | |
displayName: | |
title: remote-dev | |
description: | |
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg | |
repository: |
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
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: azurefile-pv | |
spec: | |
capacity: | |
storage: 2Gi | |
accessModes: | |
- ReadWriteMany | |
azureFile: |
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
apiVersion: batch/v1beta1 | |
kind: CronJob | |
metadata: | |
name: terminator-4-runner | |
spec: | |
schedule: "*/30 * * * *" | |
jobTemplate: | |
spec: | |
template: |
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
# this will fetch complete ci from given project | |
# which let you avoid repeating same ci stages over an over | |
include: | |
- project: 'baykara/projecta' | |
ref: 'dev' | |
file: '.gitlab-ci.yml' |
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/env bash | |
echo "This script deletes data!" | |
REGISTRY=production | |
size=$(az acr repository list -n $REGISTRY -u $USER -p $PASSWORD | jq length --) | |
for i in `seq 1 $size`; | |
do | |
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 azul/zulu-openjdk-alpine:11-jre | |
ENV PATH="/jib-0.7.0/bin/:${PATH}" | |
RUN apk add wget &&\ | |
wget https://github.com/GoogleContainerTools/jib/releases/download/v0.7.0-cli/jib-jre-0.7.0.zip \ | |
&& unzip jib-jre-0.7.0.zip |
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
//NOT MY CODE | |
package io.github.sandornemeth.spring; | |
import java.util.Arrays; | |
import java.util.stream.StreamSupport; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.context.event.ContextRefreshedEvent; |
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
serviceMonitor: | |
enabled: true | |
defaults: | |
additionalMetricsRelabels: | |
release: blackbox-exporter-prometheus-blackbox-exporter:9115 | |
interval: 30s | |
scrapeTimeout: 30s | |
module: http_2xx | |
scheme: http | |
tlsConfig: {} |
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/env bash | |
#install my basic tools | |
sudo apt install tree vim | |
mkdir -p ~/repos ~/tools ~/testenv | |
#configure vim for yaml | |
echo "set ts=2 sw=2" > ~/.vimrc | |
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/env bash | |
#run this script in your git project | |
URL=$(cat .git/config | grep url | cut -d\ -f3) | |
rm -rf .git | |
git init | |
git add . | |
git commit -m "Initial commit" | |
git remote add origin $URL | |
git push -u --force origin main |
OlderNewer