Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View skyrocknroll's full-sized avatar

Yuvaraj L skyrocknroll

View GitHub Profile
@skyrocknroll
skyrocknroll / learn.md
Last active November 21, 2023 11:17
[AI Machine learning] Machine learning #ai #ml #llama
@skyrocknroll
skyrocknroll / mediacenter.md
Created September 17, 2023 05:21
[mediacenter]
  • sonarr, radarr,jellyfin ,jackett,flaresolver
  • jellyfin kod plugin make sure force http is disabled.
  • when you add items make sure you add all, movies ,tvshows and music in jellyfin plugin in kodi

jellyfin works fine so no need to install jellycon

@skyrocknroll
skyrocknroll / harvester.md
Last active September 6, 2023 14:45
[Harvester] #hci #harvester
  • Setup untagged VLAN network also works
  • https://www.belgai.de/blog/harvester/harvester_bridge_network/ add cloud init network data made it to work
  • Loadbalancer creation were failing. Goto settings in harvester and set vip pools.
  • If you add one more extra nic using the untagged network then creating an service object will lead to issue. The best is use the default managment network and create and service object to get an ip in the Subnet.
  • to ssh into vm using clusterIP we can do kubectl port-forward and ssh
  • Goto preferences and enable all the 4 settings including longhorn and rancher UI.
  • We can use Nodeport and forward traffic to host ip and nodeport in Route Virtual servers.
  • When we are port forwarding in router to ingress make sure ingress is configured with static NodePort. so that recreation ingress will always leads to fixed port.
  • nginx ingress with letsencrypt. https://cloud.yandex.com/en/docs/managed-kubernetes/tutorials/ingress-cert-manager
@skyrocknroll
skyrocknroll / dell-loop.sh
Last active November 7, 2023 16:36
dell fan #temp #fan #ipmi #rx720d #fan #control
#!/usr/bin/env bash
# ----------------------------------------------------------------------------------
# Script for checking the temperature reported by the ambient temperature sensor,
# and if deemed too high send the raw IPMI command to enable dynamic fan control.
#
# Requires:
# ipmitool – apt-get install ipmitool
# slacktee.sh – https://github.com/course-hero/slacktee
# ----------------------------------------------------------------------------------
@skyrocknroll
skyrocknroll / cpaas-bootcamp.md
Last active December 22, 2022 12:56
[kubernetes] #k8s #kubernetes
  • Create multi node cluster
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
@skyrocknroll
skyrocknroll / erpnext.md
Last active October 30, 2021 16:11
[erpnext] #school #crm #erpnext #frape
sudo apt-get update
sudo apt install python3-minimal build-essential python3-setuptools python3-pip python3-venv

python3 -m venv fenv
source fenv/bin/activate
pip install pip --upgrade
sudo apt-get install software-properties-common
sudo apt-get install mariadb-server-10.3
@skyrocknroll
skyrocknroll / help.md
Last active January 14, 2021 15:33
[Creality Ender3 V2 BlTouch Installation] enderv v2 auto bed leveling installation #3d #printer #ender #v2 #bltouch
@skyrocknroll
skyrocknroll / README.md
Last active December 16, 2020 06:44
[nodemcu] #oled @nodemcu
@skyrocknroll
skyrocknroll / ssl.md
Last active December 9, 2020 13:39
[Self Signed Certificate with Custom Root CA] #ssl #tls #ca #certificate #signed

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096

If you want a non password protected key just remove the -des3 option