Skip to content

Instantly share code, notes, and snippets.

View MuttakinHasib's full-sized avatar
🙃
< Alhamdulillah for Everything />

Muttakin Islam Hasib MuttakinHasib

🙃
< Alhamdulillah for Everything />
View GitHub Profile
setInterval(() => removeFbMessage(), 3000);
function sleep() {
return new Promise((resolve) => setTimeout(resolve, 1000));
}
const removeFbMessage = async () => {
document.querySelector('[aria-label="More"]').click();
await sleep();
document.querySelector('[aria-label="Remove message"]').click();
await sleep();
document.querySelector('[aria-label="Remove"]').click();
@MuttakinHasib
MuttakinHasib / .zshrc
Last active August 2, 2023 14:08
terminal config
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
@MuttakinHasib
MuttakinHasib / pro.terminal
Last active August 10, 2023 05:33
Terminal Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlueColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGmCwwXHR4lVSRudWxs1Q0ODxAR
EhMUFRZcTlNDb21wb25lbnRzVU5TUkdCXE5TQ29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29s
b3JTcGFjZVYkY2xhc3NPEBQwIDAuMDA3MzI4NzM5Njc3IDEgMU8QETAgMCAwLjk5ODE5
@MuttakinHasib
MuttakinHasib / annotation.ts
Created October 15, 2023 19:48
annotation problem
const Annotation = [
{
type: "RenderContextVerticalLineAnnotation",
options: {
id: "06d771ac-2d59-4d39-aa86-580505169d28",
annotationLayer: "AboveChart",
isEditable: true,
isHidden: false,
isSelected: false,
opacity: 1,
"use client";
import { useEffect, useState } from "react";
import { RadioGroup } from "@headlessui/react";
import { usePathname, useRouter, useSearchParams } from "next/navigation";
const plans = [
{
name: "Start from scratch",
description: "Build your own custom sequence",