Tag: best practices
-
Post Views: 4 As the blog is more and more bilingual in Chinese and English, I recently started to reorganize the entire label system. In the beginning, I always used Camel case. For example: The main reason is that: I didn’t find a problem until recently when I sorted out the English tags. WordPress automatically generated alias is not ideal…
-
Post Views: 63 1. Background and goals My ThinkPad T570 has two SSDs: Target: Clear the second large-capacity SSD, format it as Linux Ext4 file system and mount as /home partition. In this way, all personal files (desktop, download, document, configuration, etc.) will be stored on a large-capacity disk in the future, and the system disk will never be full.…
-
Post Views: 12 1. Table name: CPA_CHANNEL_APP_SOURCE design, table prefix: CPA_, as shown in Figure 1 2. View command: yii migrate/create help documentation 3. Add field. If the migrated name follows the format of add_xxx_to_yyy, the generated class file will contain the necessary addColumn and dropColumn. You can specify multiple fields like this: yii migrate/create add_xxx_column_yyy_column_to_zzz_table –fields=”xxx:integer,yyy:text”. as shown in…
