Skip to content

Instantly share code, notes, and snippets.

View kadnan's full-sized avatar
📢
Working from home

Adnan Siddiqi kadnan

📢
Working from home
View GitHub Profile
@kadnan
kadnan / gist:013d6a9d1ea3ebaa59c673df656b8126
Created June 17, 2026 16:09
Google Tag Manager Pixel for Shopify - Browser Events
/*
Browser based GTM events for Shopify. It uses Shopify's "analytics.subscribe()" function to map Shopify events with GA4 events
NOTE: Don't forget to change GTM!!
*/
// Step 1. Initialize the JavaScript pixel SDK (make sure to exclude HTML)
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
@kadnan
kadnan / gemini_function_calling.ipynb
Created April 4, 2026 18:56
Build a Gemini based AI Assistant using Function Calling
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kadnan
kadnan / ai_prod_image.ipynb
Last active March 8, 2026 06:25
AI Product Image generator
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kadnan
kadnan / Claide Email Responder.ipynb
Created February 28, 2026 07:44
Claide Email Responder
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"ticket_data": {
"fduid": 47052829709,
"fdcompanyid": 47001498172,
"subject": "#33644| Website Work-> Webpages: Podcast Takeover (Healthcare Amplified-Sabrina Runbeck)",
"status": 10,
"source": 2,
"body": "please build out this sales page \n the first half of the sentence make it like a moving word similar to what you did for this heading https://www.pulsepointvisibilityengine.com/podamplify \n   \n see design page 1 & 2 are continouation of each other and FAQs make them when click down then will show the words \n https://drive.google.com/drive/folders/1psqA7OxK35CgT2ijyH0kEGycLp19CFzb?usp=drive_link Which page needs updating?     build out sales page What platform is this site built on?     go.hilevel Please provide the meta-keywords     \nShort-tail Keywords:\n\nPodcast series\nHealthcare authority\nPodcast takeover\nHealthcare business podcast\nPharma leaders podcast\nClinical practice podcast\n\nLong-tail Keywords:\n\nElevate healthcare expertise th
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kadnan
kadnan / docker-compose.yaml
Last active May 15, 2019 09:01
Docker compose file for running Cassandra Cluster
version: '2'
services:
cas1:
container_name: cas1
image: cassandra:latest
volumes:
- /Development/PetProjects/CassandraTut/data/node1:/var/lib/cassandra/data
ports:
- 9042:9042

Keybase proof

I hereby claim:

  • I am kadnan on github.
  • I am kadnan (https://keybase.io/kadnan) on keybase.
  • I have a public key ASAHNs8LV2Ck6XIFQPi-XKiD1amTKsrvPY8RTrvsBr13lwo

To claim this, I am signing this object:

@kadnan
kadnan / cl2.py
Created October 13, 2018 10:01
Anti Captcha test
import requests
from bs4 import BeautifulSoup
from python_anticaptcha import NoCaptchaTaskProxylessTask, AnticaptchaClient
def get_token(s_key):
client = AnticaptchaClient(api_key)
task = NoCaptchaTaskProxylessTask(website_url=url,
website_key=s_key.strip())
job = client.createTask(task)