Skip to content

Instantly share code, notes, and snippets.

View eyadfattah23's full-sized avatar

Eyad Fattah eyadfattah23

View GitHub Profile
@eyadfattah23
eyadfattah23 / clean_py.sh
Created June 20, 2024 10:46 — forked from hbsdev/clean_py.sh
Recursively remove all .pyc files and __pycache__ directories in the current directory.
#!/bin/sh
# recursively removes all .pyc files and __pycache__ directories in the current
# directory
find . | grep -E "(__pycache__|\.pyc$)" | xargs rm -rf
@eyadfattah23
eyadfattah23 / default nginx configuration file
Created December 9, 2023 11:58 — forked from skbr1234/default nginx configuration file
The default nginx configuration file inside /etc/nginx/sites-available/default
# Author: Zameer Ansari
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#