Skip to content

Instantly share code, notes, and snippets.

View shaun2006's full-sized avatar

Shaun2006 shaun2006

View GitHub Profile
@shaun2006
shaun2006 / excle_to_vcf.vb
Created August 10, 2025 12:26
converts excle file to vcf
Private Sub Create_VCF()
'Open a File in Specific Path in Output or Append mode
Dim FileNum As Integer
Dim iRow As Double
iRow = -1
FileNum = FreeFile
OutFilePath = "OutputVCF.VCF"
Open OutFilePath For Output As FileNum
'Loop through Excel Sheet each row and write it to VCF File
@shaun2006
shaun2006 / windows_boot_fix.md
Last active May 14, 2025 05:23
Windows boot fix for bios and uefi

Windows Boot fix for Bios and Uefi Systems

Prerequisites

  1. Windows usb pendrive same as that os installed on the system

Eg :- there is an issue with booting of windows 10, then we need a usb of windows 10.

For Bios (MBR)

  1. boot using the usb pendrive
  2. select repair this pc in the setup menu
@shaun2006
shaun2006 / monitor_name.sh
Last active May 14, 2025 05:18
get monitor name as variable in linux
#!/bin/bash
xrandr | grep " connected " | awk '{ print$1 }'
@shaun2006
shaun2006 / passwordgen.py
Created April 11, 2025 09:43
This is a python script that generates random password using a simple radom letters function and its can save those password into a excle file. This can be use to generate password for multiple users
import random
import array
from openpyxl import load_workbook
filename = "passwords.xlsx"
wb = load_workbook(filename)
ws = wb.worksheets[0]