Skip to content

Instantly share code, notes, and snippets.

View iamaamir's full-sized avatar
🏠
Working from home

Aamir khan iamaamir

🏠
Working from home
  • Postman
  • New Delhi
  • 05:34 (UTC +05:30)
  • LinkedIn in/itsaamir
View GitHub Profile
@iamaamir
iamaamir / Copy.jsx
Last active November 18, 2022 08:52
export default function Copy() {
const [value, copytoClipboard] = useCopyToClipboard();
const copy = txt => () => copytoClipboard(txt);
return (
<>
<h1>Click to copy:</h1>
<div>
<button onClick={copy('A')}>A</button>
<button onClick={copy('B')}>B</button>
@iamaamir
iamaamir / whatsapp_blur.js
Created September 6, 2022 14:40
Blur whatsapp chats one sidebar and header
// ==UserScript==
// @name Whatsapp Blur chat
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Blur the chats sidebar on whatsapp
// @author Aamir khan
// @match https://web.whatsapp.com/
// @icon https://www.google.com/s2/favicons?domain=whatsapp.com
// @grant none
// ==/UserScript==
@iamaamir
iamaamir / Autinder.js
Last active August 11, 2023 05:34
Auto Swipe for Tinder using tampermonkey
// ==UserScript==
// @name Autinder
// @version 0.4
// @description Auto Swipe for Tinder
// @author Aamir khan
// @namespace https://github.com/iamaamir
// @match https://tinder.com/*
// @grant none
// ==/UserScript==
function betterTypeOf (obj) {
return Object.prototype.toString.call(obj).slice(8, -1).toLowerCase();
}
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import pandas_datareader as web
import datetime as dt
from sklearn.preprocessing import MinMaxScaler
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout,LSTM
🗣 Commented on #1 in mtmeyer/figma-react-hooks
❗️ Opened issue #1889 in evanw/esbuild
❌ Closed PR #20 in serverwentdown/file-manager
🗣 Commented on #20 in serverwentdown/file-manager
💪 Opened PR #22 in serverwentdown/file-manager
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html style="width:100%;font-family:helvetica, 'helvetica neue', arial, verdana, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;padding:0;Margin:0;"><head><meta content="width=device-width, initial-scale=1" name="viewport"><meta charset="UTF-8"><meta name="x-apple-disable-message-reformatting"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="telephone=no" name="format-detection"><title>Email Signature</title> <!--[if (mso 16)]><style type="text/css"> a {text-decoration: none;} </style><![endif]--> <!--[if gte mso 9]><style>sup { font-size: 100% !important; }</style><![endif]--> <!--[if !mso]><!-- --><link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i" rel="stylesheet"> <!--<![endif]--><style type="text/css">
@media only screen and (max-width:600px) {p, ul li, ol li, a { font-size:16px!important; line-height:200%!importa
@iamaamir
iamaamir / index.html
Created May 31, 2020 12:46
basic login form
<html>
<title>Login</title>
<head>
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap"
rel="stylesheet"
/>
<script src='script.js'></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html style="width:100%;font-family:helvetica, 'helvetica neue', arial, verdana, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;padding:0;Margin:0;">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta name="x-apple-disable-message-reformatting">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="telephone=no" name="format-detection">
<title>AKSHAY TRITIYA 2</title>
<!--[if (mso 16)]>
import React, { useEffect } from 'react';
import ReactJWPlayer from 'react-jw-player';
import { playerScript } from 'config';
// import { Analytics } from "functions/utils/Analytics";
import { buildArtimediaParams } from 'functions/helpers/artimedia';
import { dispatchGalaxyEvent } from './PlayerAnalytics';
import useEvtListener from 'functions/hooks/useEvtListener';
/****************************************
Author: aamirkhan180@gmail.com
github @iamaamir