[Notes] Git Common Commands by Scenario

For common Git operations in everyday development. It’s organized into categories to help you get started or get started. 📦 Basic Commands order corresponds English -ity, -ism, -ization git init Initialize a Git repository (create a .git folder). git clone <url> Clone the remote repository to local. git status View the current working directory status (file modifications, staging, etc.). git add <file> Adds a file to the staging area. git commit -m "message" ...

June 2, 2025 · 4 min · MoeJue

I won the Easter match and I came back to life

Recent situation It’s been more than two months since I last chatted, and it’s time to sort out my thoughts. Last time, I posted a bunch of emotions and then went silent, so it was a little rushed, and I couldn’t keep up with the follow-up work. It’s National Day again, and sure enough, my National Day is comparable to Double Eleven. Although the three domain names (52ecy.cn, moeins.cn, moeins.com) I owned before, although I won the resurrection competition, the equipment is gone. ...

October 3, 2024 · 4 min · MoeJue

What is Web3.0, and what does it have to do with blockchain?

Another new inexplicable word -. - I can roughly summarize it into the following points: What is web3.0 Web 3.0 (Web3) is the development direction of the next generation of the Internet, aiming to create a more decentralized, user-controlled and data-protected network environment. Different from the previous Web 1.0 (static web pages) and Web 2.0 (dynamic, interactive web pages and social media), the core concepts and technologies of Web 3.0 include the following aspects: ...

June 17, 2024 · 5 min · MoeJue

Blockchain image upload based on Web3.0

Before we start, let’s briefly understand the basic concepts. I can roughly summarize them into the following points What is Web3.0 and what does it have to do with blockchain? (The article last time will come in handy) Requirements: Develop a Python-based Web 3.0 image uploading system. This system will allow users to upload images and store them on a decentralized network, while recording transaction information on the blockchain. I originally wrote it for fun, but I thought about writing it into a user authentication file operation that integrates a full set of management, so that it “will eventually become the ultimate solution for image upload services.” But in practice, I found that it was not very practical, so I gave up. However, I have always been so obsessed with pictures. ...

June 17, 2024 · 5 min · MoeJue

Android view apk installer's AndroidManifest.xml file

Cause Last week I was working on the factory push feature for Android, and certain models could not be factory pushed offline, so I was ready to unpack the apk to see if something was wrong with the packing parameters. Preface. In Android development, we may need to jump from our own application to another application’s interface, but in the case of not knowing another application’s package name as well as the class name, it is very difficult to do this, there is a simplest way is to download the application’s apk file, and then change the extension name to zip or rar, and then unpack the file afterward, in the unpacked file, there will be a AndroidManifest.xml file, but after opening, it may be garbled, which is embarrassing, how to do? ...

April 19, 2020 · 4 min · MoeJue

Alipay face-to-face payment docking

As the name suggests, face-to-face payment helps merchants achieve quick collection in offline consumption scenarios; face-to-face payment products support two payment methods: barcode payment and scan code payment. What we connect here is scan code payment. Scan code payment refers to a mode in which users open the “scan” function in Alipay wallet, scan the QR code displayed by the merchant in a certain cashier scene, and make payment. This model is suitable for offline physical store payment, face-to-face payment and other scenarios. The business process is shown in the figure below: Since signing a contract with face-to-face payment is very simple, individual industrial and commercial households/individual merchants are allowed to sign a contract. Therefore, this method is also widely used for online QR code payment. Since this method violates the relevant terms of Alipay, it has certain risks. As a technical exchange, we will put this issue aside for the time being. ...

April 4, 2020 · 9 min · MoeJue

Discuz forum personal space custom css style

A few days ago, nothing to do, and then went to look for a discuz forum vulnerability, and then really found, in passing, wrote a software, and then the water on the way a Here is the cause of the incident This loophole on the website is not too much harm, only can only customize the css style of personal space, on the website data does not constitute a threat, but also rest assured. ...

March 24, 2020 · 4 min · MoeJue

How to submit a form gracefully

This is a very basic HTML form submission question, but it is a very practical technique My business scenario is like this: A form that can dynamically create input, as shown below This means that the name of the input cannot be fixed, otherwise it will definitely be overwritten. The first one is the traditional ordinary submission method, giving each input to be submitted a unique name. ... The format that the browser submits and captures is like this What the server gets and prints is like this, which is very unfriendly to back-end data processing. ...

May 6, 2019 · 2 min · MoeJue

WeChat JSAPI payment

I have been doing business related to WeChat some time ago. Although it is not a new technology, I have never had the opportunity to come into contact with it before. Then I stepped on some pitfalls and took the time to organize and record it. There are 7 types of WeChat payment, including: payment code payment, JSAPI payment, Native payment, APP payment, H5 payment, mini program payment, and face payment. WeChat JSAPI payment is used in this business: the user enters the merchant’s H5 page by scanning the QR code on WeChat, following the official account, etc., and calls JSSDK within WeChat to complete the payment. ...

March 30, 2019 · 7 min · MoeJue

[Notes] Comprehensive list of commonly used Git commands

Following the last time, I took the time to sort out a relatively complete list of commonly used Git commands, and found a great map, very high-definition (1759*3162). View, add, submit, delete, retrieve, reset modified files git help # Display help for command git show # Display the contents of a certain commit git show $id git co – # Discard workspace modifications git co . # Discard workspace modifications ...

June 16, 2018 · 5 min · MoeJue