Skip to content

Instantly share code, notes, and snippets.

View AhmedMohamedAbdelaty's full-sized avatar
😾
Focusing

Ahmed Muhammed AhmedMohamedAbdelaty

😾
Focusing
View GitHub Profile
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active July 28, 2024 22:35
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@AhmedMohamedAbdelaty
AhmedMohamedAbdelaty / line_randomizer.py
Created May 28, 2023 01:03
Line Randomizer Python
import random
# Read lines from input.txt
with open('input.txt', 'r') as f:
lines = f.readlines()
# Shuffle the lines randomly
random.shuffle(lines)
# Print shuffled lines with a newline after each line
@AhmedMohamedAbdelaty
AhmedMohamedAbdelaty / gist-downloader-plus.js
Last active May 8, 2024 18:37
a userscript that adds a download button to GitHub gists, allowing you to directly download GitHub gists as source files.
// ==UserScript==
// @name Gist Downloader Plus
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Directly download GitHub gists as source files.
// @author Ahmed Mohamed Abdelaty
// @match https://gist.github.com/*/*
// @grant GM_addStyle
// @grant GM_xmlhttpRequest
// @grant GM_download