Skip to content

Instantly share code, notes, and snippets.

View AlexRogalskiy's full-sized avatar
🛰️
Work on stuff that matters

Alexander AlexRogalskiy

🛰️
Work on stuff that matters
View GitHub Profile
@AlexRogalskiy
AlexRogalskiy / DirectedStream.java
Created November 21, 2021 11:34 — forked from whitfin/DirectedStream.java
A simple Thread extension to control a redirection of an InputStream to an OutputStream.
package com.zackehh.example;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* A Thread extension dedicated to redirecting InputStreams
* to given OutputStreams. Feeds into the given OutputStream
* during the lifetime of this Thread.

Готовый образ под M1 selenoid dumbdumbych/selenium_vnc_chrome_arm64:91.0.b

  1. Скачиваем рабочий образ под m1
docker pull dumbdumbych/selenium_vnc_chrome_arm64:91.0.b
  1. Создаем в папке config файл browsers.json со следующим содержимым
@AlexRogalskiy
AlexRogalskiy / .gitlab-ci.yml
Created December 29, 2021 11:48 — forked from superjose/.gitlab-ci.yml
This is an example of a .gitlab-ci.yml that is required for Continuous Integration on GitLab projects.
# Reference: https://www.exclamationlabs.com/blog/continuous-deployment-to-npm-using-gitlab-ci/
# GitLab uses docker in the background, so we need to specify the
# image versions. This is useful because we're freely to use
# multiple node versions to work with it. They come from the docker
# repo.
# Uses NodeJS V 9.4.0
image: node:9.4.0
# And to cache them as well.
# Source: https://gist.github.com/48f44d3974db698d3127f52b6e7cd0d3
###########################################################
# Automation of Everything #
# How To Combine Argo Events, Workflows, CD, and Rollouts #
# https://youtu.be/XNXJtxkUKeY #
###########################################################
# Requirements:
# - k8s v1.19+ cluster with nginx Ingress
# Source: https://gist.github.com/38fe5617f9c38125f0213d442d9ab4c9
#############################################################
# How To Secure Kubernetes Clusters With Kubescape And Armo #
# https://youtu.be/ZATGiDIDBQk #
#############################################################
# Additional Info:
# - Kubescape: https://hub.armo.cloud
# Source: https://gist.github.com/eabe08e8e147fb2ce51afc520efc0cef
##########################################################################
# GitOps Across Massive Number Of Kubernetes Clusters With Rancher Fleet #
# https://youtu.be/JcOTHFDgMXM #
##########################################################################
# Additional Info:
# - Rancher Fleet: https://fleet.rancher.io/
# - What Is GitOps And Why Do We Want It?: https://youtu.be/qwyRJlmG5ew
# Source: https://gist.github.com/6039be2497217a555fba5eafea076ba3
#########################################################################
# Werf: Glue Together Git, Docker, Helm, Kubernetes For CI/CD Pipelines #
# https://youtu.be/WM06S_ltcVs #
#########################################################################
# Additional Info:
# - werf: https://werf.io
# - GitHub CLI - How to manage repositories more efficiently: https://youtu.be/BII6ZY2Rnlc
# Source: https://gist.github.com/fda147804b59fd2a0cbb5fb5deb4d00b
##################################################################
# The Best Performance And Load Testing Tool? k6 By Grafana Labs #
# https://youtu.be/wfanR-Ps-lk #
##################################################################
# Additional Info:
# - k6: https://k6.io
# - Google Cloud Run (GCR) vs Azure Container Instances (ACI) vs AWS ECS with Fargate: https://youtu.be/Jq8MY1ZGjno
########################################################
# How To Auto-Scale Kubernetes Clusters With Karpenter #
# https://youtu.be/C-2v7HT-uSA #
########################################################
# Referenced videos:
# - GKE Autopilot - Fully Managed Kubernetes Service From Google: https://youtu.be/Zztufl4mFQ4
#########
# Setup #
# Source: https://gist.github.com/2e67c67a36a2e782422ebefb4a0a2612
git clone https://github.com/vfarcic/devops-toolkit-crossplane
cd devops-toolkit-crossplane
# Create a local Kubernetes cluster.
kubectl create namespace crossplane-system