Skip to content

Instantly share code, notes, and snippets.

View yashodhank's full-sized avatar
🎯
Manifesting

Yashodhan yashodhank

🎯
Manifesting
View GitHub Profile
@yashodhank
yashodhank / vedic-vastu-colors.md
Last active November 22, 2023 21:58
Vastu Color Guide with Swatches, Names, and Codes

Vastu Color Guide with Swatches, Names, and Codes

Direction/Sub-Direction (Vedic Name) Angle Range Good Colors (Shubh Rang) Avoid Colors (Varjit Rang)
East (Purva) / ENE (Ishanya) 67.5° - 90° Green Green (#008000, RGB: 0,128,0), Blue Blue (#0000FF, RGB: 0,0,255), White White (#FFFFFF, RGB: 255,255,255) Red Red (#FF0000, RGB: 255,0,0), Black Black (#000000, RGB: 0,0,0)
West (Paschim) / WNW (Vayavya) 247.5° - 292.5° Blue Blue (#0000FF, RGB: 0,0,255), White White (#FFF
@yashodhank
yashodhank / README.md
Last active October 9, 2023 06:29
Updated Nerd Fonts Downloader with CLI arguments and error handling

Nerd Fonts Downloader Script

This script allows you to download and install Nerd Fonts with ease, either by specifying the font name(s) as command-line arguments or by selecting from a provided list if no arguments are given.

Prerequisites

Ensure that curl or wget, tar, and fc-cache (from fontconfig) are installed on your system.

For Ubuntu/Debian-based Systems:

@yashodhank
yashodhank / b12-issues-solutions-01.md
Created September 26, 2023 11:12
Any insights on very high B12 levels? possible solutions from Functional Nutritionist Point of View?

High levels of vitamin B12 in the blood can be due to a variety of reasons, including diet, medication, supplements, or certain health conditions. From a Functional Nutritionist perspective, addressing elevated B12 levels involves looking at the individual's whole health picture, including lifestyle, diet, and other factors, to understand the root cause.

Possible Causes of High B12 Levels:

  1. Excessive Supplementation or Injection:

    • The most common cause is usually due to taking too much B12 through supplements or injections.
  2. Liver Disease:

    • Elevated B12 can be a sign of liver disease, as the liver stores vitamin B12 and may release too much into the blood when damaged.
@yashodhank
yashodhank / urllib.error.URLError-solutions.md
Created September 26, 2023 10:08
urllib.error.URLError; <urlopen error [SSL: CERTIFICATE _VERIFY _FAILED] certificate verify failed; unable to get local issuer certificate (_ss1.c:1051)>

The error message indicates that the program is facing an SSL certificate verification error while trying to open a URL. This error occurs because the SSL certificate of the site that the program is trying to access cannot be verified by a local Certificate Authority (CA).

Here’s a step-by-step guide to help you resolve the SSL certificate error:

Step 1: Update CA Certificates

Firstly, ensure that the CA certificates on your system are up to date. You can do this by updating the certifi package using pip:

pip install --upgrade certifi
@yashodhank
yashodhank / script.sh
Created September 4, 2023 07:44 — forked from aleksul/script.sh
Proxmox create Ubuntu 20.04 template
# download ubuntu-cloud image
# NOTE: ubuntu-server won't properly work with cloud-init for some reason
wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
# NOTE: no need for sudo because we already login as root
# install image customization tool
apt update -y && apt install libguestfs-tools -y
# install qemu-guest-agent inside of image
@yashodhank
yashodhank / proxmox-packer-user-creator.sh
Created September 4, 2023 01:20
This script automate the process to create random username and password and required role with privilages for Packer to work with Proxmox Host.
#!/bin/bash
# Function to generate a strong password
generate_password() {
cat /dev/urandom | tr -dc 'a-zA-Z0-9!@#$%^&*()-_+=~' | fold -w 16 | head -n 1
}
# Function to generate a random username
generate_username() {
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1
@yashodhank
yashodhank / Order-Create.cshtml-dev.md
Last active July 28, 2023 18:30
DRSApp development Document Related to Order & OrderBOM
@using KlausBOM.DTOs.Orders
@using KlausBOM.DTOs.ProductConfigs
@using KlausBOM.DTOs.Products
@using KlausBOM.Domain
@using KlausBOM.Domain.Enumerations
@using KlausBOM.Models
@using KlausBOM.Utility
@using System.Security.Claims
@yashodhank
yashodhank / homebrew.mxcl.aria2.plist
Last active April 17, 2024 05:12 — forked from stackia/homebrew.mxcl.aria2.plist
aria2c daemon start at boot. Put this file into /Library/LaunchDaemons, them 'chmod 600' and 'chown root'. Remember to fill REPLACE_WITH_YOUR_ placeholders below.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>homebrew.mxcl.aria2</string>
@yashodhank
yashodhank / custom.ipxe
Created April 22, 2023 05:11 — forked from bunchc/custom.ipxe
Custom ipxe menu for netboot.xyz
#!ipxe
###
### codybunch.lab custom menu example
###
:custom
clear custom_choice
menu ESXi
item --gap Boot ESXi Installer
item esxi_70_kickstart ${space} 7.0 Automated Install
@yashodhank
yashodhank / HowToDeleteAllCloudflareRecors.md
Created December 4, 2022 10:34 — forked from AidasK/HowToDeleteAllCloudflareRecors.md
Cloudflare delete all DNS records. Just go to cloudflare dns zones, open your browers developer console and paste this javascript code.

image

Real developers are not used to clicking, it's allways easier to write a script to do it for you.