Skip to content

Instantly share code, notes, and snippets.

View vimfn's full-sized avatar

arunava vimfn

View GitHub Profile
@vimfn
vimfn / countries.json
Created October 10, 2022 14:02
List of All Countries in JSON
{
"af": {
"name": "Afghanistan",
"official_name": "Islamic Republic of Afghanistan",
"topLevelDomain": [
".af"
],
"alpha2Code": "AF",
"alpha3Code": "AFG",
"cioc": "AFG",
@vimfn
vimfn / console-log.js
Created October 1, 2022 11:45
Console logs all texts of same classes of a website :)
// 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);
}
@vimfn
vimfn / birthdaywish.py
Created September 17, 2022 08:28
Wishes Hppy Birthday to you
import time
from random import randint
for i in range(1, 100):
print(' ')
space = ' '
for i in range(1, 1000):
count = randint(1, 99)