update
This commit is contained in:
parent
33b8e61f42
commit
a8b466c8db
28
_drafts/2025-02-02-getting-started-with-python.md
Normal file
28
_drafts/2025-02-02-getting-started-with-python.md
Normal file
@ -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!
|
||||
@ -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
|
||||
---
|
||||
@ -13,7 +13,7 @@
|
||||
<div id="post-series">
|
||||
<div class="card">
|
||||
<div>
|
||||
<h3>{{ page.series }}</h3>
|
||||
<h3>{{ page.series }} ({{ posts | size }} - Part Series)</h3>
|
||||
<ol>
|
||||
{% assign posts = site.posts | where: "series", page.series | sort: "date" %}
|
||||
{% for post in posts %}
|
||||
|
||||
@ -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:
|
||||
|
||||
BIN
assets/img/posts/python-getting-started.png
Normal file
BIN
assets/img/posts/python-getting-started.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
BIN
assets/img/posts/python-logo.jpg
Normal file
BIN
assets/img/posts/python-logo.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
@ -49,6 +49,11 @@
|
||||
"title": "disable-ty",
|
||||
"name": "disable-ty",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"title": "series",
|
||||
"name": "series",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user