Skip to content

Instantly share code, notes, and snippets.

View haideralipunjabi's full-sized avatar

Haider Ali Punjabi haideralipunjabi

View GitHub Profile
@haideralipunjabi
haideralipunjabi / PrivacyPolicy_PearlsofSpeech.html
Last active March 28, 2019 14:42
Privacy Policy for Pearls of Speech Google Assistant Action
<html>
<body>
<h2>Privacy Policy</h2>
<p>Hackesta built the Pearls of Speech as a free Google Assistant Action and Facebook Messenger Bot. This SERVICE is provided by Hackesta at no cost and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding our policies with the collection, use, and
disclosure of Personal Information if anyone decided to use our Service.</p>
<p>If you choose to use our Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that we collect are used for providing and
improving the Service. We will not use or share your information with anyone except as described
50% - votes_percentage constituency state
20.71 Baramulla Jammu & Kashmir
17.83 Anantnag Jammu & Kashmir
17.53 Aurangabad Maharashtra
17.25 Kokrajhar Assam
16.68 Kishanganj Bihar
16.15 Nabarangpur Odisha
16.06 Ladakh Jammu & Kashmir
15.64 Koraput Odisha
@haideralipunjabi
haideralipunjabi / uses.md
Last active June 24, 2019 11:39
My uses

Uses

System

Manjaro 18.0.4 (i3wm edition)

Programming Tools

  • Editor: Visual Studio Code
  • Terminal: urxvt
  • IDEs:
@haideralipunjabi
haideralipunjabi / 1.java
Created February 10, 2020 09:36
Code snippets for Blog
class Walker {
int x;
int y;
Walker() {
// Constructor function to initailize data
// width & height have the width & height of the output.
x = width/2;
y = height/2;
}
}
@haideralipunjabi
haideralipunjabi / table.md
Last active February 14, 2020 12:54
snip for my blog #7
@haideralipunjabi
haideralipunjabi / covidkashmir-live.json
Last active June 11, 2023 15:13
CovidKashmir Live API
{
"Total": 482002,
"Active": 15,
"Recovered": 477195,
"Deceased": 4792,
"TotalYesterday": 482002,
"ActiveYesterday": 15,
"RecoveredYesterday": 477195,
"DeceasedYesterday": 4792,
"Updated": "11/06/2023 08:42 PM"
@haideralipunjabi
haideralipunjabi / main.py
Created June 15, 2020 02:30
Python Script to scrape an OpenDirectory
import requests
from bs4 import BeautifulSoup as soup
import os
from progress.bar import Bar
import wget
from urllib.parse import unquote
base = "http://www.meeshdesigns.com/Western%20Fonts/"
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'}
@haideralipunjabi
haideralipunjabi / errors.md
Last active September 6, 2020 13:32
Diff b/w covid19india.org & covidkashmir.org (Data is in Total, Active, Recovered, Deceased format)
Date District covid19india.org covidkashmir.org Source
2020-05-13 Budgam 53,39,14,0 52,38,14,0 https://twitter.com/diprjk/status/1260573425577406466/photo/2
2020-05-13 Srinagar 136,48,84,4 137,49,84,4 https://twitter.com/diprjk/status/1260573425577406466/photo/2
2020-05-14 Budgam 53,35,18,0 52,34,18,0 https://twitter.com/diprjk/status/1260927181892382727
2020-05-14 Srinagar 141,53,84,4 142,54,84,4 https://twitter.com/diprjk/status/1260927181892382727
2020-05-15 Budgam 53,32,21,0 52,31,21,0 https://twitter.com/diprjk/status/1261283826539606020?s=19
2020-05-15 Srinagar 152,64,84,4 153,65,84,4 [https://twitter.com/diprjk/status/1261283826539606020?s=19](https://twitter.com/dipr
{
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36",
"benchmarkIndex": 1282
},
"lighthouseVersion": "6.2.0",
"fetchTime": "2020-08-10T11:12:08.649Z",
"requestedUrl": "https://haideralipunjabi.com/",
@haideralipunjabi
haideralipunjabi / data.json
Last active January 20, 2022 07:13
Testing Github API
[
{
"providerData":true,
"creationTime":"Fri, 24 Dec 2021 15:55:28 GMT",
"lastSignInTime":"Fri, 24 Dec 2021 15:55:28 GMT"
},
{
"providerData":false,
"creationTime":"Mon, 06 Dec 2021 18:03:33 GMT",
"lastSignInTime":"Mon, 06 Dec 2021 18:03:33 GMT"