Skip to content

Instantly share code, notes, and snippets.

View jalotra's full-sized avatar

ShivamJalotra jalotra

View GitHub Profile
curl -H 'sec-ch-ua-full-version-list: "Chromium";v="142.0.7444.176", "Google Chrome";v="142.0.7444.176", "Not_A Brand";v="99.0.0.0"' -H 'sec-ch-ua-platform: "macOS"' -H 'x-request-id: 6b32822b-241d-45d9-bdc3-1ad4cf2394cb' -H 'sec-ch-ua: "Chromium";v="142", "Google Chrome";v="142", "Not_A Brand";v="99"' -H 'sec-ch-ua-bitness: "64"' -H 'sec-ch-ua-model: ""' -H 'sec-ch-ua-mobile: ?0' -H 'sec-ch-ua-arch: "arm"' -H 'x-perplexity-request-reason: perplexity-query-state-provider' -H 'sec-ch-ua-full-version: "142.0.7444.176"' -H 'accept: text/event-stream' -H 'content-type: application/json' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' -H 'sec-ch-ua-platform-version: "15.3.1"' -H 'origin: https://www.perplexity.ai' -H 'sec-fetch-site: same-origin' -H 'sec-fetch-mode: cors' -H 'sec-fetch-dest: empty' -H 'referer: https://www.perplexity.ai/sidecar/search/new/457b9ac9-5aa9-460e-852d-fdbc599cd851' --compressed -H 'accept-language: en
ai.cbx1.channelintegration.exception.EmailException: [EMAIL001] Failed to send email to shivam@co-builder.com\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": [
{