Skip to content

Instantly share code, notes, and snippets.

View jalotra's full-sized avatar

ShivamJalotra jalotra

View GitHub Profile
ai.cbx1.channelintegration.exception.EmailException: [EMAIL001] Failed to send email to [email protected]\n\tat ai.cbx1.channelintegration.email.service.impl.EmailSendingService.lambda$sendEmailViaConfigurationSet$3(EmailSendingService.java:170)\n\tat io.vavr.control.Try.onFailure(Try.java:659)\n\tat ai.cbx1.channelintegration.email.service.impl.EmailSendingService.sendEmailViaConfigurationSet(EmailSendingService.java:169)\n\tat ai.cbx1.channelintegration.email.service.impl.EmailSendingService.sendEmailVia3p(EmailSendingService.java:217)\n\tat ai.cbx1.channelintegration.email.service.impl.EmailSendingService.sendEmail(EmailSendingService.java:209)\n\tat ai.cbx1.channelintegration.email.controller.EmailController.sendTestEmailForCGC(EmailController.java:97)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:580)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(Inv
from selenium import webdriver
from selenium.webdriver.common.by import By
from bs4 import BeautifulSoup as bs
import pandas as pd
import time
import json
import random
import os
COOKIE_FILE = 'linkedin_cookies.json'
{
"content": {
"id": "17b65060-dede-4db9-b8fe-b2e19330454a",
"createdAt": "2025-08-06T18:46:14.871Z",
"updatedAt": "2025-08-06T18:46:14.871Z",
"createdBy": "e8798315-8877-4d99-a85c-1801dff908d3",
"updatedBy": "e8798315-8877-4d99-a85c-1801dff908d3",
"version": 0,
"data": {
"data": {
# Amazon Q pre block. Keep at the top of this file.
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh"
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
export PATH=~/miniconda3/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
ai.cbx1.commons.exception.InternalServerException: [CONTENTGEN005] No semantic templates found for ids [5e21efb2-4e82-4ac4-aa92-d02d2fe7cc93]
at ai.cbx1.campaignmanager.service.InstantiatedTemplateService.instantiateTemplate(InstantiatedTemplateService.java:220) ~[campaignmanager-0.0.1-SNAPSHOT.jar!/:na]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:354) ~[spring-aop-6.1.8.jar!/:6.1.8]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196) ~[spring-aop-6.1.8.jar!/:6.1.8]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-6.1.8.jar!/:6.1.8]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768) ~[spr
curl --location 'https://scr.sci.gov.in/scrsearch/?p=pdf_search%2Fopenpdfcaptcha' \
--header 'Accept: application/json, text/javascript, */*; q=0.01' \
--header 'Accept-Language: en-IN,en-GB;q=0.9,en-US;q=0.8,en;q=0.7' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
--header 'DNT: 1' \
--header 'Origin: https://scr.sci.gov.in' \
--header 'Referer: https://scr.sci.gov.in/' \
--header 'Sec-Fetch-Dest: empty' \
--header 'Sec-Fetch-Mode: cors' \
[
{
"name": "StepTemplate",
"fields": [
{
"dataType": "java.lang.String",
"fieldName": "name",
"nullable": false
},
{

Low Level Design - Legal Case Management System

System Architecture Overview

The system uses a multi-database architecture with three specialized databases working together to provide comprehensive legal case search and discovery capabilities.

Database Schemas

1. Relational Database (PostgreSQL)

@jalotra
jalotra / sample_gemma_27B_api
Last active May 27, 2025 08:41
ocr_example_api_using_gemma_3_27B_model
curl --location 'https://kygflev33eqwy6b9.us-east-1.aws.endpoints.huggingface.cloud/v1/chat/completions' \
--header 'Authorization: Bearer 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' \
--header 'Content-Type: application/json' \
--data '{
"model": "tgi",
"messages": [
{
"role": "user",
"content": [
{
'<!DOCTYPE html><html lang="en"><head>\n <meta name="pageKey" content="d_ad-library-detail">\n<!----><!----> <meta name="locale" content="en_US">\n <meta id="config" data-app-version="0.0.1626" data-call-tree-id="AAYz+yc9uPdiifyfgkJQcg==" data-multiproduct-name="ads-guest-frontend" data-service-name="ads-guest-frontend" data-browser-id="e1d92387-be48-4608-8df8-c1c4810331f3" data-enable-page-view-heartbeat-tracking="" data-page-instance="urn:li:page:d_ad-library-detail;tkwl0ifvSWaZr7A1jklo6A==" data-disable-jsbeacon-pagekey-suffix="true" data-member-id="0" data-dna-member-lix-treatment="enabled" data-human-member-lix-treatment="enabled" data-dfp-member-lix-treatment="control" data-sync-apfc-headers-lix-treatment="control" data-sync-apfc-cb-lix-treatment="enabled">\n\n <link rel="canonical" href="/ad-library/detail/409470296">\n<!----><!---->\n<!---->\n<!---->\n<!---->\n<!---->\n <link rel="icon" href="https://static.licdn.com/aero-v1/sc/h/al2o9zrvru7aqj8e1x2rzsrca">\n\n