10 Python Scripts to Automate Your Daily Tasks

10 Python Scripts to Automate Your Daily Tasks

Follow and star to learn new Python skills every day Due to changes in the public account’s push rules, please click “View” and add “Star” to get exciting technical shares at the first time Source from the internet, please delete if infringing In this automation era, we have many repetitive and tedious tasks to perform. … Read more

Running Python Scripts in the Background on Linux

Running Python Scripts in the Background on Linux

Running in the Foreground To run a Python script (for example, download.py) in Linux, execute it directly in the command line python download.py This runs in the foreground, and if the foreground is closed, the program will be interrupted, which is quite inconvenient. Methods for Running in the Background nohup python -u download.py > output.log … Read more

Essential Tips for Embedded Developers: Keil + Scripting Tricks to Save 2 Hours of Downtime

Essential Tips for Embedded Developers: Keil + Scripting Tricks to Save 2 Hours of Downtime

Keil is a widely used tool in embedded development, and many tips are discovered gradually during use. Among them, I find several techniques to be extremely valuable. Today, I want to share a method for using automation scripts to compile and generate the desired files! The main issues addressed are as follows: 1. After completing … Read more

Linux (9): Creating Files & Folders

Linux (9): Creating Files & Folders

1. Core Purpose & Concepts Core Purpose: Use specific command-line tools to create new, empty files and directories (folders), thereby starting to modify the file system. Core Terminology: <span>touch</span>: A command used to create empty files or update the timestamp of existing files. <span>mkdir</span> (Make Directory): A command used to create empty directories. Redirection <span>></span>: … Read more

Comprehensive Guide to Windows and Linux System Commands

Comprehensive Guide to Windows and Linux System Commands

Author: Xiao Yang Sean Source: https://www.cnblogs.com/-mo-/p/12109717.html 1. Introduction During our penetration testing process, we often need to transfer files to the target host to achieve purposes such as privilege escalation and maintaining control. Therefore, when direct transfer is inconvenient and the target host has network connectivity, we can use local download methods to achieve file … Read more

One-Click Installation of MySQL on Linux

One-Click Installation of MySQL on Linux

Preparing Installation Package mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz Download and install the package to /usr/local/soft, this path should match the one in the script file Write the script fileinstall_mysql.sh (CentOS version) The content of the file is as follows: #! /usr/bin/bash## Fully automated source code compilation and installation for any versionif [ ! -d "/usr/local/soft" ]then echo "Directory does … Read more

Learning Python: Outperforming Colleagues or Being Outperformed?

Learning Python: Outperforming Colleagues or Being Outperformed?

I remember when I first started my job, I noticed that my colleague Wang would shut down his computer promptly at 5 PM, while I was stuck working overtime until 9 PM. It wasn’t until one late night of overtime that I caught a glimpse of a mysterious black window on Wang’s screen, where code … Read more

ChakraCore: A Powerful C++ JavaScript Engine Library

ChakraCore: A Powerful C++ JavaScript Engine Library

In modern software development, JavaScript has long transcended the boundaries of the browser, becoming an important language for embedded scripting, server-side programming, and cross-platform application development. Embedding a JavaScript engine into native applications can bring great flexibility and dynamic capabilities.ChakraCore is a high-performance, open-source JavaScript engine developed by Microsoft for this purpose, enabling C++ developers … Read more

Unlocking Linux: Shell Programming Variables

Unlocking Linux: Shell Programming Variables

1. What is Shell (1) Definition Shell is the command line interpreter in the Linux system, acting as a translator between the user and the system kernel. Users input various commands in the terminal, which are received and parsed by the Shell, then translated into instructions that the system kernel can understand, executing the corresponding … Read more

One-Click Installation of Redis on Linux

One-Click Installation of Redis on Linux

Preparing the Installation Package Download link: https://download.redis.io/releases/redis-6.2.6.tar.gz Download and install the package to /usr/local/soft Write the script file install_redis.sh (CentOS version) The content of the file is as follows: #! /usr/bin/bash## Fully automated source code compilation and installation for any versionif [ ! -d "/usr/local/soft" ]then echo "The folder does not exist, please create a … Read more