Skip to content

Instantly share code, notes, and snippets.

View sureshkumargondi's full-sized avatar

Suresh Kumar Gondi sureshkumargondi

View GitHub Profile
@sureshkumargondi
sureshkumargondi / gist:f6bd7dff14f7be68e4493027f11d9ca7
Last active October 19, 2022 14:33
Exact tracking URL's leftover footprint Using screamingfrog
# Find any lilnks that is left with the tracking URL's. Generally it's a mistake, but have a clean internal links are super helpful to avoid canonicl issues.
UA code - [I(UA-*2)[°]
Adwords code - [ICAW-*?))
GTM Code - ['I(GTM.*>I)
GA4 Code - (I(G.*7)I)
Adroll advertiser ID - adrolL_adv.id=('I(*7)[*]
Adroll pixle id - adroll_pixid="1(.*?)%
Bingads UET - \ti:™](.*2)[*TV
FB Pixel - fbq)("')init!"], I"](*2)["]
@sureshkumargondi
sureshkumargondi / extension.py
Created April 11, 2022 14:16 — forked from osanseviero/extension.py
Question generation chrome extension
""" Chrome Manifest file: https://developer.chrome.com/docs/extensions/mv3/getstarted/
{
"manifest_version": 3,
"name": "Hugging Face Question Generator",
"version": "1.0",
"description": "Generate questions based on selected text",
"permissions": [
"contextMenus",
"storage",
"tabs",
@sureshkumargondi
sureshkumargondi / crawl_multiple_sites.py
Created March 28, 2022 12:24 — forked from eliasdabbas/crawl_multiple_sites.py
Crawl multiple websites with one for loop, while saving the output, logs, and job status separately for each website. Resume crawling any time simply be re-running the same code
from urllib.parse import urlsplit
import advertools as adv
sites = [
'https://www.who.int',
'https://www.nytimes.com',
'https://www.washingtonpost.com',
]
@sureshkumargondi
sureshkumargondi / preview.png.ts
Created March 20, 2022 07:48 — forked from colecrouter/preview.png.ts
ES6 janky png editing NO CANVAS Cloudflare Workers/Pages Functions
import { Inventory, Item, SharedKit } from '../types/kit';
import { decode, encode, toRGBA8 } from 'upng-js';
let MCTEXTURES: Textures;
const INV_WIDTH = 181;
const INV_HEIGHT = 115;
const ITEM_WIDTH = 32;
const ITEM_HEIGHT = 32;
@sureshkumargondi
sureshkumargondi / Install.txt
Created August 5, 2021 06:29 — forked from soderlind/Install.txt
macOS DoH! (DNS over HTTPS) using cloudflared
1) Install cloudflared using homebrew:
brew install cloudflare/cloudflare/cloudflared
2) Create /usr/local/etc/cloudflared/config.yaml, with the following content
proxy-dns: true
proxy-dns-upstream:
- https://1.1.1.1/dns-query
- https://1.0.0.1/dns-query
@sureshkumargondi
sureshkumargondi / osx_install.sh
Last active January 25, 2020 13:28 — forked from cassiocardoso/osx_install.sh
Install most of my Apps with homebrew & cask
#!/bin/sh
echo Install all AppStore Apps at first!
# no solution to automate AppStore installs
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Install and Set San Francisco as System Font
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
@sureshkumargondi
sureshkumargondi / Multi_Keyword_SERP.ipynb
Created October 18, 2019 12:36
SEO script. Get the top 10-100 results for many keywords at once using DataForSEO API.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.