Compare commits
No commits in common. "dev" and "jenkins-bangararaju.kottedi.in-blog-blog-prod-12" 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) {
|
.then(function (result) {
|
||||||
if (result != "N/A") {
|
if (result != "N/A") {
|
||||||
var response = JSON.parse(result);
|
var response = JSON.parse(result);
|
||||||
|
setPostMetrics(response);
|
||||||
if(!response.postExists){
|
if(!response.postExists){
|
||||||
postDetails.likes = postDetails.views = postDetails.comments = 0;
|
postDetails.likes = postDetails.views = postDetails.comments = 0;
|
||||||
if(Number(likes.innerText) !== NaN){
|
if(Number(likes.innerText) !== NaN){
|
||||||
@ -48,7 +49,6 @@
|
|||||||
if(postDetails.modifiedDate === ""){
|
if(postDetails.modifiedDate === ""){
|
||||||
postDetails.modifiedDate = postDetails.createdDate;
|
postDetails.modifiedDate = postDetails.createdDate;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ajax(serviceUrl + "/CreatePost", "POST", postDetails)
|
ajax(serviceUrl + "/CreatePost", "POST", postDetails)
|
||||||
.then(function (result) {
|
.then(function (result) {
|
||||||
@ -58,6 +58,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function setPostMetrics(response){
|
function setPostMetrics(response){
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
<div id="post-series">
|
<div id="post-series">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div>
|
<div>
|
||||||
<h3>{{ page.series }} ({{ posts | size }} - Part Series)</h3>
|
<h3>{{ page.series }}</h3>
|
||||||
<ol>
|
<ol>
|
||||||
{% assign posts = site.posts | where: "series", page.series | sort: "date" %}
|
{% assign posts = site.posts | where: "series", page.series | sort: "date" %}
|
||||||
{% for post in posts %}
|
{% for post in posts %}
|
||||||
|
|||||||
@ -115,7 +115,6 @@ Allowing Traffic to a Specific Port and IP
|
|||||||
For more granular control, you can specify both source IP and destination port:
|
For more granular control, you can specify both source IP and destination port:
|
||||||
```terminal
|
```terminal
|
||||||
sudo ufw allow from 192.168.0.100 to any port 22
|
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
|
### Using Application Profiles
|
||||||
UFW supports application profiles to simplify rule management for common services. List available profiles with:
|
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",
|
"title": "disable-ty",
|
||||||
"name": "disable-ty",
|
"name": "disable-ty",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "series",
|
|
||||||
"name": "series",
|
|
||||||
"type": "string"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user