Skip to content

Instantly share code, notes, and snippets.

View yuvii-b's full-sized avatar
🎯
Focusing

Yuvaraj yuvii-b

🎯
Focusing
View GitHub Profile
@yuvii-b
yuvii-b / .vimrc
Created October 21, 2025 05:51
vim configurations i use
" ================= Basic Vim Settings =================
set nocompatible " Disable vi compatibility
filetype plugin indent on " Enable filetype-specific plugins and indent
syntax on " Enable syntax highlighting
set number " Show absolute line numbers
set relativenumber " Show relative line numbers
set tabstop=4 " Number of spaces per tab
set shiftwidth=4 " Spaces to use for indentation
set expandtab " Convert tabs to spaces
set autoindent " Copy indent from previous line
@yuvii-b
yuvii-b / MatrixAdjoint.java
Created September 17, 2024 11:03
Java code to find the adjoint of a 3x3 Matrix
import java.util.Scanner;
public class MatrixAdjoint {
public static int det(int[] ar){
return (ar[0]*ar[3] - ar[1]*ar[2]);
}
public static boolean isOddOrEven(int num){
return num % 2 == 0;