Skip to content

Instantly share code, notes, and snippets.

View PhoenixBastien's full-sized avatar
⚜️

Phoenix Bastien PhoenixBastien

⚜️
View GitHub Profile
@PhoenixBastien
PhoenixBastien / leap.py
Last active September 25, 2025 15:56
Get list of leap years from year 0 to current year
from datetime import datetime
current_year = datetime.now().year
for year in range(current_year + 1):
if year % 4 == 0 and (year % 100 != 0 or year % 400 == 0):
print(year, 'is a leap year')
@PhoenixBastien
PhoenixBastien / .zshrc
Last active September 25, 2025 15:55
Minimal .zshrc with useful extensions
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh