摘要:
import matplotlib.pyplot as plt import numpy as np from scipy.interpolate import make_interp_spline if __name__=="__main__": print("Start to run plot. 阅读全文
摘要:
SSIM Loss https://blog.csdn.net/qq_27825451/article/details/104016874 https://zhuanlan.zhihu.com/p/410562138 https://zhuanlan.zhihu.com/p/399215180 ht 阅读全文
摘要:
第一章 1.解决烦恼的方法 “治标不治本”的方法是因为只限于解决当下的问题,没有深入的思考根本原因。 解决问题的“根本”在于觉察自己内心的“需求”。 学会跳出问题看待问题,从内在需求看待问题,而问题只是表象,只解决问题只是换汤不换药罢了。 2.解决问题的五大核心-需要的体现方式 安全感 价值感 自由 阅读全文
摘要:
执行make clean 清除上一次生成的可执行文件,再次执行make命令,ok搞定了 如果make clean后,执行命令还不成功的话,就要考虑是否是编码空格等导致的问题 阅读全文
摘要:
cat old.log | grep "setAlpha" | awk -F: '{ print $4}' https://blog.csdn.net/qq_42580947/article/details/123044147 阅读全文
摘要:
可以现在build.sh中source 需要的config.sh配置文件,并export其中包含的变量。此时,变量在当前shell终端中生效。 Makefile中只用变量应为${VAL} https://blog.csdn.net/mouday/article/details/128966176 h 阅读全文
摘要:
【脚本链接】https://www.sourceinsight.com/pub/languages/Bash.xclf 【设置教程】https://www.cnblogs.com/archive-ch/p/13941358.html 阅读全文
摘要:
这是因为gcc基于c89标准,换成C99标准就可以在for循环内定义i变量了: gcc main.c -std=c99 -o src 阅读全文
摘要:
#!/bin/bash BIN_FOLDER=$(cd "$(dirname "$0")";pwd) echo $BIN_FOLDER PROJECT_FOLDER=$(cd "$(dirname "$BIN_FOLDER")";pwd) echo $PROJECT_FOLDER PYTHON_BI 阅读全文
摘要:
系统进程信号列表 kill kill -9 PID这里的‘-9’是系统信号的编号 killall kill只能跟PID,killall可以跟程序名字 top 阅读全文