Compare commits
No commits in common. "dev" and "jenkins-bangararaju.kottedi.in-blog-blog-prod-11" have entirely different histories.
dev
...
jenkins-ba
@ -1,28 +0,0 @@
|
||||
---
|
||||
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!
|
||||
@ -1,12 +0,0 @@
|
||||
---
|
||||
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
|
||||
---
|
||||
@ -37,6 +37,7 @@
|
||||
.then(function (result) {
|
||||
if (result != "N/A") {
|
||||
var response = JSON.parse(result);
|
||||
setPostMetrics(response);
|
||||
if(!response.postExists){
|
||||
postDetails.likes = postDetails.views = postDetails.comments = 0;
|
||||
if(Number(likes.innerText) !== NaN){
|
||||
@ -48,15 +49,15 @@
|
||||
if(postDetails.modifiedDate === ""){
|
||||
postDetails.modifiedDate = postDetails.createdDate;
|
||||
}
|
||||
}
|
||||
|
||||
ajax(serviceUrl + "/CreatePost", "POST", postDetails)
|
||||
ajax(serviceUrl + "/CreatePost", "POST", postDetails)
|
||||
.then(function (result) {
|
||||
if(result != "N/A"){
|
||||
var response = JSON.parse(result);
|
||||
setPostMetrics(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<div id="post-series">
|
||||
<div class="card">
|
||||
<div>
|
||||
<h3>{{ page.series }} ({{ posts | size }} - Part Series)</h3>
|
||||
<h3>{{ page.series }}</h3>
|
||||
<ol>
|
||||
{% assign posts = site.posts | where: "series", page.series | sort: "date" %}
|
||||
{% for post in posts %}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "Keep Your Linux System Secure: A Beginner’s Guide to UFW"
|
||||
title: "A Beginner's Guide to UFW: Uncomplicated Firewall"
|
||||
description: UFW is a tool that helps you decide which connections can or can't access your Linux system. It's simple enough for beginners but also has features for experts.
|
||||
date: 2025-01-01T17:48:18.319Z
|
||||
tags:
|
||||
@ -15,7 +15,7 @@ image:
|
||||
alt: A Beginner's Guide to UFW (Uncomplicated Firewall)
|
||||
slug: ufw-guide
|
||||
---
|
||||
UFW (Uncomplicated Firewall) is a powerful yet user-friendly tool that allows you to control which connections can access your Linux system. Designed with simplicity in mind, it’s perfect for beginners while still offering advanced features for experienced users. In this post, we’ll explore how UFW works, how to use it effectively, and why it’s an essential tool for securing your system.
|
||||
UFW (Uncomplicated Firewall) is a tool that helps you decide which connections can or can't access your Linux system. It's simple enough for beginners but also has features for experts. This post explains how to use it and why it's useful.
|
||||
|
||||
When it comes to securing your Linux server or desktop, managing network access is one of the most critical tasks. Firewalls serve as the first line of defense, and while tools like iptables offer granular control, they can be intimidating for beginners. That’s where UFW (Uncomplicated Firewall) steps in.
|
||||
|
||||
@ -74,26 +74,6 @@ To delete a rule, prepend the rule with `delete`. For example:
|
||||
```terminal
|
||||
sudo ufw delete allow 22
|
||||
```
|
||||
Or Remove a rule by its number
|
||||
|
||||
List UFW Rules with Numbers
|
||||
```terminal
|
||||
sudo ufw status numbered
|
||||
```
|
||||
Example output
|
||||
```terminal
|
||||
Status: active
|
||||
|
||||
To Action From
|
||||
[ 1] 22/tcp ALLOW Anywhere
|
||||
[ 2] 80/tcp ALLOW Anywhere
|
||||
[ 3] 22/tcp (v6) ALLOW Anywhere (v6)
|
||||
[ 4] 80/tcp (v6) ALLOW Anywhere (v6)
|
||||
```
|
||||
Delete the Rule by Number
|
||||
```terminal
|
||||
sudo ufw delete 2
|
||||
```
|
||||
### Resetting UFW
|
||||
To reset UFW to its default state, removing all rules:
|
||||
```terminal
|
||||
@ -115,7 +95,6 @@ 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:
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 53 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
@ -49,11 +49,6 @@
|
||||
"title": "disable-ty",
|
||||
"name": "disable-ty",
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"title": "series",
|
||||
"name": "series",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user