09 2024 档案

rpy2 使用中注意的问题
摘要:import rpy2时 windows抛出 Module 没有找到错误 添加 R_HOME 全局变量 值形如: “C:\Program Files\R\R-3.4.0” 随后重启VisualStudio后再次运行即可 阅读全文

posted @ 2024-09-25 09:31 norsd 阅读(23) 评论(0) 推荐(0) 编辑

rpy2 的安装
摘要:1.第一种方法 ref: https://stackoverflow.com/questions/34512910/error-install-rpy2 Download the version you need here http://www.lfd.uci.edu/~gohlke/pythonl 阅读全文

posted @ 2024-09-25 09:31 norsd 阅读(39) 评论(0) 推荐(0) 编辑

VSCode 安装 Python pip 包
摘要:VSCode 点击 Ctrl+Shift+`Windows环境输入: python -m pip install matplotlib但是速度会很慢,可以通过清华的镜像 python -m pip install matplotlib -i https://pypi.tuna.tsinghua.ed 阅读全文

posted @ 2024-09-21 16:58 norsd 阅读(169) 评论(0) 推荐(1) 编辑

Windows Spotlight 不更新图片
摘要:Windows Spotlight 不更新图片 忘了什么时候的事情了… reference: 参考连接 我这里的问题是 点击 Win+I , Personalization, LockScreen 中总是选择 Pictures, 及时你选择了Spotlight, 关闭窗口后,再次打开,仍然是Pict 阅读全文

posted @ 2024-09-20 14:41 norsd 阅读(8) 评论(0) 推荐(0) 编辑

C++11 std::unique_lock与std::lock_guard区别及多线程应用实例
摘要:参考: https://blog.csdn.net/tgxallen/article/details/73522233 阅读全文

posted @ 2024-09-20 14:30 norsd 阅读(2) 评论(0) 推荐(0) 编辑

DataGridView Column Header 无法准确居中的问题
摘要:ref: https://stackoverflow.com/questions/9563982/datagridview-header-alignment-slightly-to-left-even-after-setting-it-to-middlece DataGridView 中设置: co 阅读全文

posted @ 2024-09-19 11:50 norsd 阅读(27) 评论(0) 推荐(0) 编辑

VSCODE 改变Python版本到3.10
摘要:安装Python3.10, 确定Path中有指向新版本文件夹的路劲,同时去除老版本文件夹路径 VSCode Setting/User/Extensions/Python/Default Interpreter Path 注意是User不是WorkSpace 点击VSCode窗体左下角的Python 阅读全文

posted @ 2024-09-14 09:19 norsd 阅读(144) 评论(0) 推荐(0) 编辑

Linux 设置永久ip地址的方法
摘要:Centos 6.5 查看 /etc/sysconfig/network-scripts/ 找到对应的网卡配置文件 如果没有,可以创建一个 形如: ifcfg-Auto_devicename 的配置文件,随后从其他类似文件把信息copy过来 例如: TYPE=Ethernet BOOTPROTO=n 阅读全文

posted @ 2024-09-10 09:21 norsd 阅读(81) 评论(0) 推荐(0) 编辑

.net Linq注意事项
摘要:Reference: https://www.cnblogs.com/lyj/archive/2008/01/27/1054995.html 关于Except: 不能说是取两个集合的不同项。很多中文Blog却想当然的这么写了。 Except的返回值在文档中是这么描述的: https://docs.m 阅读全文

posted @ 2024-09-06 08:26 norsd 阅读(2) 评论(0) 推荐(0) 编辑

Linux tcpdump 监听指定网卡udp指定port
摘要:tcpdump -i eth0 udp port 12345 Not signed i 阅读全文

posted @ 2024-09-05 10:15 norsd 阅读(10) 评论(0) 推荐(0) 编辑

numpy ndarray 与 array
摘要:Reference: Here 简单说 numpy.array(…) 作为一个函数, 他返回numpy.ndarray这个class 与numpy.array这个函数同类型的有: numpy.array numpy.zeros numpy.empty 同样的, 不建议使用numpy.ndarray( 阅读全文

posted @ 2024-09-03 17:04 norsd 阅读(2) 评论(0) 推荐(0) 编辑

Visual Studio 2022 启动后闪退解决办法
摘要:进入以下目录: C:\Users\YOUR_USER_NAME\AppData\Local\Microsoft\VSCommon\OnlineLicensing 里面有一个文件夹叫 VisualStudio 把他名字改掉,例如改成 VisualStudio2 然后重新启动VisualStudio20 阅读全文

posted @ 2024-09-02 18:30 norsd 阅读(208) 评论(0) 推荐(0) 编辑

VSCODE 打开多窗口
摘要:Ctrl Shift P ref: https://stackoverflow.com/questions/49707703/open-the-same-directory-twice 阅读全文

posted @ 2024-09-02 15:48 norsd 阅读(2) 评论(0) 推荐(0) 编辑

CentOS 添加静态路由
摘要:找到目标网卡的名字 , 这里是 em1进入 /etc/sysconfig/network-scripts/vim route-em1 (可能是新建文件)172.30.3.0/24 via 170.20.88.253 dev em1保存退出 阅读全文

posted @ 2024-09-01 02:55 norsd 阅读(14) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示