Skip to content

Instantly share code, notes, and snippets.

View afrasiyabhaider's full-sized avatar
:electron:
Focusing on Goal

Afrasiyab Haider afrasiyabhaider

:electron:
Focusing on Goal
View GitHub Profile
@afrasiyabhaider
afrasiyabhaider / PasteLint-Privacy-Policy.md
Last active January 19, 2026 19:30
PasteLint - Privacy-first paste protection for everyone

PasteLint Privacy Policy

Last updated: January 19, 2025

PasteLint ("we", "our", "us") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, share, and protect your information when you use our Chrome extension (the "Extension"), and your rights with respect to that data.

Introduction

PasteLint is a Chrome Extension that provides context-aware paste protection to prevent accidental data leaks and security risks. This privacy policy explains how we handle your data in compliance with Chrome Web Store requirements.

@afrasiyabhaider
afrasiyabhaider / PRIVACY_POLICY.md
Created January 3, 2026 21:07
Privacy Policy for PR Size Guard Chrome Extension

PR Size Guard — Privacy Policy

Last updated: January 3, 2026
Extension: PR Size Guard - GitHub Pull Request Reviewer
Developer: Afrasiyab Haider


Overview

@afrasiyabhaider
afrasiyabhaider / .deps...remix-tests...remix_accounts.sol
Created November 18, 2024 21:12
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
@afrasiyabhaider
afrasiyabhaider / NQueen.cpp
Created December 22, 2019 13:41 — forked from shahrajat/NQueen.cpp
Solving N Queen using Genetic Algorithm.
/*
Author : @Rajat Shah
Task: Solving N Queen using Genetic Algorithm.
Comments: Hard coded for 8x8 chess, can be modified for arbitrary size.
*/
#include<iostream>
#include<cmath>
#include<cstdlib>
#include<algorithm>