Dynamic evaluation of expressions

When we write software, we may face a requirement, such as executing an expression of a conditional statement. It goes without saying that it is Easy to execute directly in the code. There is an application scenario, such as opening the condition and expression of if to the interface for editing by the user, mainly editing the expression of if, ...

Posted by drag0n on Thu, 12 Jan 2023 03:01:23 +0300

FastAPI from entry to actual combat - Hello World (installation and operation)

This article records in detail the local installation and operation of FastAPI, which is very simple, and mainly records and verifies some features. Install FastAPIThe installation is very simple, you only need to install two packages:FastAPIpip install fastapicopyuvicorn - Server for loading and serving applications.pip install uvicorncopycr ...

Posted by bestrong on Tue, 27 Dec 2022 14:58:11 +0300

.net Revisiting the Past and Knowing the New: [10] CodeFirs, DBFirst for Getting Started with the .NET ORM Framework EFCore

Foreword: This series is about learning .net related knowledge by myself in order to keep up with the pace of .net cross-platform. The current working reason is basically below .net Framework4.7, so I have this series of learning summary, but it is not from The basic C# syntax and basic knowledge started, but around the important design and dif ...

Posted by Bah! Name on Thu, 22 Dec 2022 17:23:01 +0300

Java uses tool classes to improve the efficiency of writing reports

The tool class and demo code repository in this article Why use java code to write reports For report data, in most cases, the method of writing sql is used to provide data sources for large screens/reports, but in some complex cases, it cannot be achieved by using only sql, or when it is difficult to achieve, it will be adopted to implement ...

Posted by patrickcurl on Sun, 23 Oct 2022 01:29:01 +0300

Containerized Deployment - Kubernetes(K8S) Quick Start

Containerized deployment With the popularity of Docker technology, containerized deployment of projects is becoming more and more popular. The advantages of containerized deployment are as follows: ① It can ensure that each container has its own file system, CPU, memory, process space, etc. ②The resources required to run the application are ...

Posted by Hatch on Sat, 22 Oct 2022 02:38:03 +0300

A plug-in that connects the two lines between BurpSuite and Python—Burpy

Burpy is a plug-in that can open up the relationship between BurpSuite and Python. From now on, you can use your python to process Http packets arbitrarily! effect Execute the specified python script and return the processing result to BurpSuite. Function, UI introduction Here's a note: use python2. Specify your own python script in Burpy PY f ...

Posted by nielskg on Mon, 23 May 2022 05:57:28 +0300

http framework -- the use of Forest

import jar package <dependency> <groupId>com.dtflys.forestgroupId> <artifactId>spring-boot-starter-forestartifactId> <version>1.3.0version> dependency> Define your own interface class public interface MyClient { @Request(url = "http://baidu.com") String simpleRequest(); @Request( ...

Posted by andysez on Sun, 22 May 2022 06:06:16 +0300

cron of linux scheduled tasks

cron scheduled task Introduction cron is a service provided by the linux system to perform scheduled tasks. It runs in the background and schedules the execution of specified tasks according to the time through the configuration file "crontab". These timing tasks can be divided into two types, one is system tasks and the other is user ...

Posted by GBS on Tue, 17 May 2022 15:57:03 +0300

Simple use of Winform

References Mainly the following two "Tomorrow Technology" C#From Getting Started to Mastering the Fourth Edition (the fourth edition cannot be found online, the third edition is given here, the difference is not big, it is only for learning) Download link: Link: https://pan.baidu.com/s/1ncHbtiR1-JCFwWPdfCkB_w Extraction cod ...

Posted by exally on Tue, 17 May 2022 01:59:23 +0300

Mac OS image installation Homebrew tutorial

Homebrew , is a package management tool that currently supports , Mac OS , and , linux , systems. It is mainly composed of four parts: brew, homebrew core, homebrew cask and homebrew bottles. name explain brew Homebrew source code warehouse homebrew-core Homebrew core source homebrew-cask Provide installation of macOS applicatio ...

Posted by shortj75 on Mon, 16 May 2022 04:14:21 +0300