Skip to content

Instantly share code, notes, and snippets.

View darki73's full-sized avatar

Ivan darki73

  • Dubai, UAE
  • 10:29 (UTC +04:00)
View GitHub Profile
@darki73
darki73 / README.md
Last active December 12, 2023 15:39
Kubernetes Helm Chart Manager

This script will help you to manage your Helm chart deployments.
The main idea is to provide a single command to install / upgrade the Helm chart.

There are 2 types of variables:

  • General - these are the variables that you MUST to edit in order to make this script work
  • Advanced - these are the variables that could be left as is

The General variables include the following:

  • GITHUB_OWNER - the name of the owner of the repository (OWNER/REPOSITORY)
  • GITHUB_REPOSITORY - the name of the repository itself (OWNER/REPOSITORY)
@darki73
darki73 / nvidia-install.sh
Created April 21, 2023 12:24
Linux automatic installer for NVIDIA driver
#!/usr/bin/env bash
# Get installed kernel version
KERNEL_VERSION=$(uname -r)
# Build the package name for the kernel headers
HEADERS_PACKAGE_NAME="linux-headers-${KERNEL_VERSION}"
# Check whether the kernel headers are already installed
if [ ! -f "/usr/src/${HEADERS_PACKAGE_NAME}/.config" ]; then
echo "Installing ${HEADERS_PACKAGE_NAME}..."