Software in my life

Issues that I faced while building software.

Thursday, September 11, 2025

How to get the context if there are multiple databases and find the file factory service.

›
All the code is in the Rails project.  File 1 :  using ATG.Rails.Repository.Entities.C3; namespace ATG.Rails.Repository.Helpers.Interfaces {...

Scripts for Settings Admin

›
 USE [SettingAdmin] GO CREATE TABLE [dbo].[App]( [Id] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](100) NOT NULL, [ModifiedBy] [nva...
Wednesday, May 1, 2024

Prompts for Chat-GPT

›
 Network :  you are an experienced career coach with over 20 years of experience based on the following LinkedIn profile , could you please ...
Monday, April 22, 2024

Reverse string acbd#FGHIJKLa-34!azdd-e33fass3-1 to ssaf#eddzaaLK-34!JIHG-F33dbca3-1

›
 Reverse a string with characters being intact.  using System; using System.Linq; namespace RetrieveData {     internal class Program3     {...
Saturday, April 20, 2024

Add and remove values from in memory db

›
  internal class Program  {      static Dictionary<string, List<KeyValuePair<string, string>>> db = new Dictionary<stri...

Check if the given strings are anagrams.

›
   private static bool isAnagram(string str1, string str2)   {       if (str1.Length != str2.Length) {         return false;       }       c...

Distribute the chocolates among children

›
    private static List<int> DistributeEqually(List<int> bags ,  int children )    {        List<int> equally = new List...
›
Home
View web version

About Me

Srini
View my complete profile
Powered by Blogger.