This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from random import randint | |
for i in range(1, 100): | |
print(' ') | |
space = ' ' | |
for i in range(1, 1000): | |
count = randint(1, 99) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use inspect element to get classes of a particular element (Dont remove that "." before className you noob 🤡 ) | |
const className = document.querySelectorAll('.<CHANGE WITH THE CLASS NAME>'); | |
for (i = 0; i < className.length; i++) { | |
console.log(className[i].innerText); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"af": { | |
"name": "Afghanistan", | |
"official_name": "Islamic Republic of Afghanistan", | |
"topLevelDomain": [ | |
".af" | |
], | |
"alpha2Code": "AF", | |
"alpha3Code": "AFG", | |
"cioc": "AFG", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple script to download multiple whatssapp files at once | |
// Go the Chat-> Media -> Select any File -> paste the code in browser console -> Viola! Now Download all of them at once XD | |
document.querySelectorAll('[data-testid="checkbox-round-passive"]').forEach(s => s.click()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let wpRequire; | |
window.webpackChunkdiscord_app.push([[ Math.random() ], {}, (req) => { wpRequire = req; }]); | |
mod = Object.values(wpRequire.c).find(x => typeof x?.exports?.Z?.isDeveloper !== "undefined"); | |
usermod = Object.values(wpRequire.c).find(x => x?.exports?.default?.getUsers) | |
nodes = Object.values(mod.exports.Z._dispatcher._actionHandlers._dependencyGraph.nodes) | |
try { | |
nodes.find(x => x.name == "ExperimentStore").actionHandler["OVERLAY_INITIALIZE"]({user: {flags: 1}}) | |
} catch (e) {} | |
oldGetUser = usermod.exports.default.__proto__.getCurrentUser; | |
usermod.exports.default.__proto__.getCurrentUser = () => ({hasFlag: () => true}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('keydown', function(event) { | |
if (event.key === 'YOUR_KEYBINDING'') { | |
// Get the element with the class | |
var element = document.getElementsByClassName("text-sm-bold-1Dtt0R mentionButton-3C5YMI")[0]; | |
element.click(); | |
} | |
}); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------------------------------------------------- | |
# Copyright Arunava Ghosh, 2023 | |
# Star the gist, if it helped you, saved your time ⭐ | |
--------------------------------------------------------------------------------------------------------------------- | |
# DISCLAIMER: I'm not responsibe for any damage, due to this script, please go through the package names before using. | |
--------------------------------------------------------------------------------------------------------------------- | |
# Open "adb shell" aand paste this.. | |
--------------------------------------------------------------------------------------------------------------------- | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pacman -S --needed git base-devel | |
# git clone https://aur.archlinux.org/yay-bin.git | |
# cd yay-bin | |
# makepkg -si | |
sudo pacman -Sy wezterm | |
yay -Sy hyprland-bin polkit-kde-agent dunst grimblast rofi rofi-emoji \ | |
wl-clipboard wf-recorder wlogout grimblast-git hyprpicker-git hyprpaper-git \ | |
xdg-desktop-portal-hyprland-git ffmpegthumbnailer tumbler wtype colord \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o pipefail | |
# Directory | |
_SCREENSHOT_DIR_=$HOME/Pictures/Screenshots | |
_ORIGINAL_DIR_=$_SCREENSHOT_DIR_/Original | |
_LOG_FILE_="$_SCREENSHOT_DIR_/.screensht.log" | |
# Color | |
_FG_COLOR_='#cdd6f4' |
OlderNewer