diff --git a/_drafts/2025-02-02-getting-started-with-python.md b/_drafts/2025-02-02-getting-started-with-python.md new file mode 100644 index 0000000..658681e --- /dev/null +++ b/_drafts/2025-02-02-getting-started-with-python.md @@ -0,0 +1,28 @@ +--- +title: "Part 1: Getting Started with Python" +description: Kick off your Python journey! Learn what Python is, set up your environment, and write your first program. Perfect for beginners—let’s start coding! +date: 2025-02-02T16:59:46.763Z +tags: [] +categories: [] +image: + path: /assets/img/posts/python-getting-started.png +disable-ty: false +series: "Python Practical Guide: A Beginner's Journey" +slug: part-1-started-python +--- + +## What is Python? +Python is a versatile, high-level programming language known for its simplicity and readability. It’s used for: +- Web development +- Data analysis and visualization +- Artificial intelligence and machine learning +- Automation and scripting +- Game development +- And much more! + +## Why Learn Python? +1. **Beginner-Friendly**: Easy-to-read syntax makes it perfect for first-time coders. +2. **Versatile**: Use it for almost any type of project or industry. +3. **In-Demand Skill**: Python developers are highly sought after in the job market. +4. **Huge Community**: Tons of resources, libraries, and frameworks to help you learn and grow. +5. **Fun and Powerful**: Automate tasks, analyze data, or build apps—Python makes it easy! \ No newline at end of file diff --git a/_drafts/2025-02-02-python-basics---syntax-and-fundamentals.md b/_drafts/2025-02-02-python-basics---syntax-and-fundamentals.md new file mode 100644 index 0000000..97dc540 --- /dev/null +++ b/_drafts/2025-02-02-python-basics---syntax-and-fundamentals.md @@ -0,0 +1,12 @@ +--- +title: "Part 2: Python Basics - Syntax and Fundamentals" +description: "Learn Python’s building blocks: variables, data types, input/output, and basic operations. Start writing clean, readable code today!" +date: 2025-02-02T18:04:14.853Z +tags: [] +categories: [] +image: + path: /assets/img/posts/python-logo.jpg +disable-ty: true +series: "Python Practical Guide: A Beginner's Journey" +slug: part-2-python-basics-syntax-fundamentals +--- diff --git a/_includes/post-series.html b/_includes/post-series.html index fca5add..22068df 100644 --- a/_includes/post-series.html +++ b/_includes/post-series.html @@ -13,7 +13,7 @@
-

{{ page.series }}

+

{{ page.series }} ({{ posts | size }} - Part Series)

    {% assign posts = site.posts | where: "series", page.series | sort: "date" %} {% for post in posts %} diff --git a/_posts/2025-01-01-a-beginners-guide-to-ufw.md b/_posts/2025-01-01-a-beginners-guide-to-ufw.md index acbe0df..d830d5b 100644 --- a/_posts/2025-01-01-a-beginners-guide-to-ufw.md +++ b/_posts/2025-01-01-a-beginners-guide-to-ufw.md @@ -115,6 +115,7 @@ Allowing Traffic to a Specific Port and IP For more granular control, you can specify both source IP and destination port: ```terminal sudo ufw allow from 192.168.0.100 to any port 22 +sudo ufw allow from 192.168.0.0/24 to any port 22 proto tcp ``` ### Using Application Profiles UFW supports application profiles to simplify rule management for common services. List available profiles with: diff --git a/assets/img/posts/python-getting-started.png b/assets/img/posts/python-getting-started.png new file mode 100644 index 0000000..b411cf1 Binary files /dev/null and b/assets/img/posts/python-getting-started.png differ diff --git a/assets/img/posts/python-logo.jpg b/assets/img/posts/python-logo.jpg new file mode 100644 index 0000000..4afd2b7 Binary files /dev/null and b/assets/img/posts/python-logo.jpg differ diff --git a/frontmatter.json b/frontmatter.json index 006228f..f6aa29b 100644 --- a/frontmatter.json +++ b/frontmatter.json @@ -49,6 +49,11 @@ "title": "disable-ty", "name": "disable-ty", "type": "boolean" + }, + { + "title": "series", + "name": "series", + "type": "string" } ] }