Skip to content

Instantly share code, notes, and snippets.

View AdelMmdi's full-sized avatar
🥔
this is all food for respect (full easy)

Adel AdelMmdi

🥔
this is all food for respect (full easy)
View GitHub Profile
@naranyala
naranyala / randomize_windows_wallpaper.py
Created December 28, 2024 14:29
randomize windows wallpaper using python code
import os
import random
import ctypes
# Define the path to the directory containing wallpapers
WALLPAPER_DIRECTORY = "D:\\your-wallpaper-collection\\nested-dir\\"
def set_wallpaper(image_path):
"""
Sets the desktop wallpaper using the Windows API.
@sandro010
sandro010 / vcf_generator.py
Created June 6, 2024 17:34
VCF generator
import sys
def create_vcf_file(input_file, output_file):
with open(input_file, 'r') as numbers_file:
with open(output_file, 'w') as vcf_file:
for line in numbers_file:
phone_number = line.strip()
vcf_file.write(f"BEGIN:VCARD\nVERSION:3.0\nFN:\nN:;;;;\nTEL;TYPE=CELL:{phone_number}\nCATEGORIES:myContacts\nEND:VCARD\n")
create_vcf_file(sys.argv[1], sys.argv[2])
@aaravrav
aaravrav / [system.globalization.cultureinfo]::GetCultures("AllCultures").txt
Last active August 16, 2025 21:24
List of ALL LANGUAGES Windows 11/10 supports (Cultures)
LCID Name DisplayName
---- ---- -----------
127 Invariant Language (Invariant Country)
4096 aa Afar
4096 aa-DJ Afar (Djibouti)
4096 aa-ER Afar (Eritrea)
4096 aa-ET Afar (Ethiopia)
54 af Afrikaans
4096 af-NA Afrikaans (Namibia)
1078 af-ZA Afrikaans (South Africa)