When I tried to migrate the old project Webpack to Vite, I found that it was not so fragrant.

If you are interested in front-end eight-part essays, you can pay attention to the Gongzhong account: Code Farmer Supply Station, there is always the useful information you want. Background Recently, I made a collection of pain points and optimizable items in the front-end development process. Among them, the words “time-consuming to build and slow project […]

A fragrant fruit shopping website based on SpringBoot

Table of Contents Preface 1. Technology stack 2. Introduction to system functions Fruit information management Points reduction management Member purchase order management front page fruit Fruit purchase order management 3. Core code 1. Login module 2. File upload module 3. Code encapsulation Foreword With the rapid development of information Internet shopping, most companies are creating […]

Postgresql source code (114) view permission grant logic

0 Quick Check Authorized objects record authorization information in system tables, such as the npacl column in pg_namespace: {mingjie=UC/mingjie,=UC/mingjie,pusr1=UC/mingjie} The meaning of pusr1=UC/mingjie: mingjie is the giver pusr1 is the grantee UC is permission, indicating USAGE and CREATE 1 View permission case Sometimes you encounter the following scenario, where you do not have permission to […]

Using vagrant for graphical installation of Oracle19c

List item Use vagrant for graphical installation of Oracle19c 1. Create a virtual machine: cmd in the directory #View vagrant: vagrant box list #Initialize vagrant vagrant init centos7-64 #Modify Vagrantfile parameter file After the modification is completed, start the virtual machine 2. Connect to the virtual machine #Switch to vagrant vagrant ssh #Switch role to […]

Use show effective grants to view permissions

* Original content from the GreatSQL community may not be used without authorization. Please contact the editor and indicate the source for reprinting. 1. Problem description User show grants displays only connection permissions, but this user can perform all operations under sbtest.* GreatSQL> \s … Server version: 8.0.32-24 GreatSQL, Release 24, Revision 3714067bc8c … GreatSQL> […]

Comparison of pinia and vuex in global state storage in vue pinia is more fragrant than vuex Pinia data persistence and data encryption

Foreword After all, Mr. You recommends using pinia, which supports vue2 and vue3! If you are familiar with vuex, spend an hour looking at pinia, and you don’t want to use vuex Support optional api and combined api writing Pinia has no mutations, only: state, getters, actions The pinia sub-module does not require modules pinia […]

Still using os.path? Pathlib in Python is too fragrant

Station B|Official account: a graduate student who knows everything Write in front I believe that many people are still accustomed to using os to handle files/folders/paths, etc., but in fact, the Pathlib library that comes with Python handles these more elegantly and safely. You will find that many large open source projects are using it, […]

show effective grants

This article “Using show effective grants to view permissions” from the technical community introduces the scene of the show grants problem in the MySQL database. The knowledge points are very detailed, but you can understand some database design paths, which can be used for reference in application design. 1. Problem description User show grants shows […]

Android 12.0 grants app runtime permission by default when booting for the first time (remove the runtime authorization pop-up window)

Before Android 6.0, the system gave runtime permissions by default. Before Android 11.0, the method of modifying the default permissions could still work, but in Android 12.0, Google officially tightened the permissions, so that modifying permissions according to the old routine has been unsuccessful. After continuous trials and explorations, there are The following modification methods […]

Use show effective grants to view permissions

1. Problem description User show grants shows only connection permission, but this user can perform all operations under sbtest.* GreatSQL>\s … Server version: 8.0.32-24 GreatSQL, Release 24, Revision 3714067bc8c … GreatSQL> show grants; + ——————————————+ | Grants for user1@172.% | + ——————————————+ | GRANT USAGE ON *.* TO `user1`@`172.%` | + ——————————————+ 1 row in […]