Skip to content

Instantly share code, notes, and snippets.

View aadipoddar's full-sized avatar
🏠
Working from home

Aadi Poddar aadipoddar

🏠
Working from home
View GitHub Profile
@aadipoddar
aadipoddar / KrishnamurtyRecursive.java
Created April 14, 2022 13:21
Check is Number is Krishnamorty or not by using Recursion
/*
Check is Number is Krishnamorty or not by using Recursion
A krishnamurty Number is a number which
is the sum of the factorial of each digits of a number
is equal to the original number.
INPUT: 145
OUTPUT: Yes
*/
@aadipoddar
aadipoddar / HCM_LCM_Recursion.java
Created April 14, 2022 13:21
Find the LCM and HCF using Recursion
/*
Program to Find the LCM and HCF using Recursion
*/
import java.util.Scanner;
class HCM_LCM_Recursion {
int common = 0;
@aadipoddar
aadipoddar / AlphabetFrequency.java
Created April 14, 2022 14:19
Find Frequency of each alphabet present
/*
Accept a senetnce and print the frequency of each alphabet present
INPUT: Smooth Road
OUTPUT:
s: 1
m: 1
o: 3
t: 1
h: 1
@aadipoddar
aadipoddar / RearrangeVowel.java
Created April 14, 2022 14:20
Rearrange the Word according to position of Vowel
/*
Input a word check for the position of the first occurring vowel and perform the following operation.
(a) Words that begin with a vowel are concatenated with “Y”.
Eg: EUROPE becomes EUROPEY
(b) Words that contain a vowel in-between should have the first part from the position of the vowel till the end,
followed by the part of the string from beginning till the position of the vowel and is concatenated by "C".
Eg: PROJECT becomes OJECTPRC
@aadipoddar
aadipoddar / Powershell Config.json
Created April 17, 2022 17:50
This is My Powershell Configuration File with Special Colors and Designs
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
@aadipoddar
aadipoddar / CustomPropfull.snippet
Created May 21, 2022 19:14
Custom Propfull Snippet, Visual Studio
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Custom PropFull</Title>
<Shortcut>pprop</Shortcut>
<Description>Custom Code snippet for property and backing field</Description>
<Author>Aadi Poddar</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
@aadipoddar
aadipoddar / UpdateManager.cs
Created December 22, 2024 07:52
Update Manager Class For C# APP using Github
using System.Diagnostics;
using System.Reflection;
namespace PubEntry;
public static class UpdateManager
{
private static async Task<string> GetLatestVersionFromGithub()
{
string fileUrl = "https://raw.githubusercontent.com/aadipoddar/PubEntry/refs/heads/main/README.md";