Python Tutorial

Python Tutorial: 3. Flow Control

In the previous tutorial, we demonstrated the while statement, which is a “flow control” statement. In computer programming, control flow or flow of control is the order function calls, instructions, and statements are executed or evaluated when a program is running. In Python (as in most other programming languages,) there are more usual flow control statements than just while. 1 if Statements The most well-known flow control statement probably is...

July 11, 2022 · Tiexin Guo | 郭铁心
Python Tutorial

Python Tutorial: How to Learn Everything

0 How to Learn Everything No matter what you’ve already known, chances are, there are still things that you don’t know. Learning Python isn’t drastically different. We’ve already learned quite a few basics in Python, but there is a lot of stuff we don’t know yet. Until now. Because today, we will learn “how to learn everything,” and we will learn by an example, which is to read Excel files...

June 27, 2022 · Tiexin Guo | 郭铁心
panda

People Powered - Solid Action Items to Build Your Open-Source Community from Scratch

0 “People Powered” – the Book Recently I read a book recommended by my boss: People Powered. A a good book, by any means. It explains what a community is and why you might need it. It categorizes communities into three different types and you can see to which type your project belongs. It teaches you how to write the value statements of your community. - It created a SCARF...

June 13, 2022 · Tiexin Guo | 郭铁心
iam

AWS IAM Security Best Practices

This blog is originally published on GitGuardian blog. Disclaimer: while this blogpost refers to AWS services in particular, the best practices are mostly the same for any other IAM framework “Security is job zero.” When it comes to security in AWS, this is the de facto culture and standard. It means, it’s even more important than any number one priority. At AWS, new services will not launch if there are...

June 10, 2022 · Tiexin Guo | 郭铁心
mountain

A Brief Introduction to Code Review: Everything You Want to Know

This is Tiexin Guo, DevStream PMC Chair (an open-source DevOps project with an enthusiastic community.) And today, we are going to talk about code review. Specifically, we are going to talk about: why do we need to do code reviews how to review; how to do code review on GitHub how to review for open-source projects But if you want to get acquainted with some best practices for reviewing code...

June 6, 2022 · Tiexin Guo | 郭铁心
Python Tutorial

Python Tutorial: 2. An Informal Introduction to Python

To repeat the examples in this tutorial, you must type everything after the prompt (»>) in the interactive mode, when the prompt appears; lines that do not begin with a prompt are output from the interpreter. Note that a secondary prompt on a line by itself in an example means you must type a blank line; this is used to end a multi-line command. 0 Comments Start the interpreter and...

June 1, 2022 · Tiexin Guo | 郭铁心
Python Tutorial

Python Tutorial: 1. Getting Started

0 Whetting Your Appetite If you do a lot of work on computers, eventually, you will find that there’s some task you’d like to automate. For example, you may wish to perform a search-and-replace over a large number of text files, or rename and rearrange a bunch of photo files in a complicated way. Python is the language for you. Python is simple to use, but it is a real...

May 31, 2022 · Tiexin Guo | 郭铁心
dmca

A Brief History of the DMCA

This article is orignally published at GitGuardian Blog. What is DMCA? The DMCA is short for the Digital Millennium Copyright Act. On Oct 12, 1998, the US Congress passed the DMCA, which amended U.S. copyright law to address important issues of the relationship between copyright and the internet. It was signed into law by President Clinton on Oct 28, 1998. What Exactly Does It Mean? I know, the term “DMCA”...

May 24, 2022 · Tiexin Guo | 郭铁心
devsecops

How To Setup Your Jenkins Pipeline in K8s with Git Secrets Leak Scan and Docker Image Scan

This blog post is first published at GitGuardian blog. Disclaimer: this tutorial goes all the way through setting up Jenkins in a Kubernetes minikube cluster, if you’re only interested in the Jenkinsfile, jump to the last part! 0 GitGuardian and ggshield ggshield is a CLI application that runs in your local environment or in a CI environment to help you detect more than 350 types of secrets, as well as...

May 12, 2022 · Tiexin Guo | 郭铁心
norway

On DevOps: 1. What It Is

Note: opinions are my own. They don’t represent my current company or any previous companies I’ve worked for. Note 2: recently, my colleague published a blog post (in Chinese, here’s the link if you are interested). I like this post, but I’d like to share more with you on the topic of DevOps. So I decided to publish a miniseries (7 episodes planned) on DevOps. Here’s the first article. Note...

May 10, 2022 · Tiexin Guo | 郭铁心