摘要:
python3: dlt - 数据结构2 一、源程序 1 [wit@fedora null]$ cat test.py 2 #!/usr/bin/env python3 3 4 5 6 7 # file_name = test.py 8 # python_verion = 3.11.1 9 10 1 阅读全文
摘要:
python3: dlt - 数据结构 一、程序: 1 [wit@fedora null]$ cat test.py 2 #!/usr/bin/env python3 3 4 5 6 7 # test this script 8 def msg(): 9 print("\nhello, python 阅读全文
摘要:
os:ubuntu2204 -- 删除“旧内核”脚本 一、ubuntu删除旧内核: 1、查询内核信息: 1 [wit@on:null]$ sudo dpkg --get-selections | grep linux 2、删除旧内核: 1 [wit@on:null]$ sudo apt purge 阅读全文
摘要:
os_config: fedora38 ~ bash config 1. bash config (~/.bashrc) 1 [wit@fedora null]$ cat ~/.bashrc 2 # .bashrc 3 4 # Source global definitions 5 if [ -f 阅读全文
摘要:
os: ubuntu23.10 -- 更新脚本(update) 一、ubuntu23.10 更 1 [wit@ubuntu:null]$ cat ~/user/tools/update 2 #!/usr/bin/env bash 3 4 5 6 echo " update " ; 7 echo ; 阅读全文
摘要:
web: nginx + php 环境配置(ubuntu) 0、重要提示: 1、守护线程nginx和php8.1-fpm,修改配置以后需要重启(sudo systemctl restart nginx; sudo systemctl restart php8.1-fpm) 2、守护线程nginx和p 阅读全文
摘要:
os: Ubuntu23.10.1之命令提示符:PS1 一、命令提示符【PS1】(位置:~/.bashrc) 1 # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[ 阅读全文
摘要:
学习方法:学习的三个层次 一:学习的三个层次: 1、学习的第一个层次:学懂某个学科的“概念和逻辑”,用这些概念和逻辑“重新解释世界”; 2、学习的第二个层次:学懂某个学科“研究问题的方法”,用这些“方法论(研究问题的方法)”重新研究世界; 3、学习的第三个层次:在某个学科“概念、逻辑”的基础上、在某 阅读全文
摘要:
学习方法:《资本论》学习的三个层次(摘抄) 一、《资本论》学习的三个层次 《资本论》学习的第一个层次:读懂《资本论》的“概念”;目的是“用马克思的语言重新解释新世界(用《资本论》的概念重新解释新世界)”。 《资本论》学习的第二个层次:学懂“马克思研究问题的方法”;目的是“用马克思研究问题的方法来研究 阅读全文
摘要:
c/cpp: main() - envp - “本进程”的环境变量 1. main(int argc, char *argv[], char *envp[]) - envp 1.1 argc,自动获取程序的参数的数量; 1.2 argv,自动获取程序输入的参数; 1.3 envp,自动获取“本进程” 阅读全文