2025年3月7日

在win10中通过ollama离线部署deepseek方案

摘要: 当前方案: ollama + chatbox 1、外网电脑下载好 ollama安装包。 chatbox安装包。,【OllamaMaster-Win.exe, 仅用于改系统变量】 外网电脑安装到 D盘,并设置【模型路径】。否则撑爆系统盘。 且,方便复制到其他电脑免安装使用。 ollama安装到D盘方法 阅读全文

posted @ 2025-03-07 18:39 andy_1 阅读(3) 评论(0) 推荐(0) 编辑

2025年2月22日

小米11刷机

摘要: 手机 小米11(8+256)刷机两种方式,一种线刷,一种卡刷。两种刷机包不一样!版本是: 截止202502月,最新的miui开发版。这里 是 线刷 :下载地址;https://xiaomirom.com/download/mi-11-venus-weekly-V14.0.23.9.18.DEV/ht 阅读全文

posted @ 2025-02-22 14:40 andy_1 阅读(4) 评论(0) 推荐(0) 编辑

2024年11月6日

跨平台软件-坚果云与keepass与joplin配合使用方法

摘要: 各个平台的keepass 的各类客户端安装方法:https://keepass.info/download.html 设置方法:https://www.cnblogs.com/muzlei/p/16372080.html joplin的配置:https://help.jianguoyun.com/? 阅读全文

posted @ 2024-11-06 01:56 andy_1 阅读(9) 评论(0) 推荐(0) 编辑

2024年8月19日

囊性纤维化-抗争记录

摘要: 背景: 我女儿于2023年10月基因检测确诊【囊性纤维化】。了解发现,国内此病罕见到三甲医院也难给出规范的诊治方案,甚至一些药物因用户群小国内没有生产。 所以这里记录一下:1. 对该疾病的认知, 2.药物的获取方案, 3.有限资源情况下的最佳的日常护理方案。 医生建议的雾化药物: 1.高渗盐水3%, 阅读全文

posted @ 2024-08-19 09:06 andy_1 阅读(10) 评论(0) 推荐(0) 编辑

2024年7月16日

my_quhui

摘要: <群晖基本使用教程.txt> 群晖基本使用教程 https://www.bilibili.com/video/BV1A3411f7WK/?spm_id_from=333.337.search-card.all.click 创建群晖共享文件夹 https://post.smzdm.com/p/a5oe 阅读全文

posted @ 2024-07-16 00:33 andy_1 阅读(30) 评论(0) 推荐(0) 编辑

2024年6月14日

python通知 设置系统托盘图标

摘要: python QSystemTrayIcon.setIcon QSystemTrayIcon.setIcon 是一个用于设置系统托盘图标的方法,它是 PyQt5 或 PySide 中的 Qt 库的一部分。这个方法让你可以设置系统托盘图标,它可以接受一个 QIcon 对象作为参数。 以下是一些使用 Q 阅读全文

posted @ 2024-06-14 09:15 andy_1 阅读(124) 评论(0) 推荐(0) 编辑

2024年6月13日

sqite3使用踩坑经历

摘要: sqlite3 中 拼接字段可以使用 || 操作符。相当于其他数据库系统中的 CONCAT() 函数。SELECT first_name || ' ' || last_name AS full_name FROM users; 没有collect_set(), 替代函数: group_concat( 阅读全文

posted @ 2024-06-13 11:31 andy_1 阅读(7) 评论(0) 推荐(0) 编辑

2024年2月27日

python加密脚本py转pyd文件踩的坑

摘要: 方案1(最佳):使用MinGW-w64 ,编译py文件成pyd 下载地址:http://files.1f0.de/mingw/。。 安装后,要设置环境变量。。安装包 pip install Cython .\\python3\\python.exe setup.py build_ext --inpl 阅读全文

posted @ 2024-02-27 11:38 andy_1 阅读(321) 评论(0) 推荐(0) 编辑

2022年9月26日

python中实现days360函数

摘要: # -*- coding: utf-8 -*- """ Created on Fri Sep 23 20:42:58 2022 @author: Administrator """ import time import datetime def days360(start_date, end_dat 阅读全文

posted @ 2022-09-26 15:19 andy_1 阅读(102) 评论(0) 推荐(0) 编辑

2022年9月12日

pyc文件破解效果

摘要: 1. pyc编译 python -OO -m py_compile c_chrome.py uncompyle6 -o xiaoyuzhushou3.5.2.py xiaoyuzhushou3.5.2.pyc uncompyle6 xiaoyuzhushou3.5.2.pyc > xiaoyuzhu 阅读全文

posted @ 2022-09-12 23:56 andy_1 阅读(189) 评论(0) 推荐(0) 编辑

pysimplegui多窗口设置

摘要: # -*- coding: utf-8 -*- """ Created on Mon Sep 12 11:39:42 2022 @author: Administrator """ import PySimpleGUI as sg # Design pattern 2 - First window 阅读全文

posted @ 2022-09-12 14:13 andy_1 阅读(1031) 评论(0) 推荐(0) 编辑

2022年9月7日

制作绿化版Python解锁Python桌面程序的高级打包方式

摘要: 制作绿化版Python解锁Python桌面程序的高级打包方式 https://blog.csdn.net/as604049322/article/details/118765192 大家好,我是小小明,今天我将教大家一种除了用python内置库打包,让没有安装python的机器能够直接运行pytho 阅读全文

posted @ 2022-09-07 21:41 andy_1 阅读(376) 评论(0) 推荐(0) 编辑

2022年8月28日

pysimplegui学习-图片base64转换

摘要: 阅读全文

posted @ 2022-08-28 22:33 andy_1 阅读(26) 评论(0) 推荐(0) 编辑

2022年6月27日

jupyter-使用及设置密码

摘要: https://blog.csdn.net/qq_34419607/article/details/109177125 阅读全文

posted @ 2022-06-27 17:23 andy_1 阅读(29) 评论(0) 推荐(0) 编辑

2022年3月25日

windows,win10备份与恢复

摘要: 戴尔OptiPlex 3080MT台式机重装系统BIOS设置教程 -U盘启动设置 https://www.chongzhuangxitong.com/20201104/3672.html 最好,最全的功能讲解: (ghost通常在U盘启动系统中有对应的软件 ) ghost11使用说明(详细图文) g 阅读全文

posted @ 2022-03-25 10:18 andy_1 阅读(247) 评论(0) 推荐(0) 编辑

2022年2月15日

python代码工具化

摘要: 1.发布为Python包,如 .whl文件。(缺点:需要独立安装Python、代码不是明文、适合开发者使用。。优点:文件小。) 2.打包为exe文件。(缺点:文件大、制作复杂 优点:代码加密、独立运行) 3.python脚本。(缺点:代码明文。优点:小,便捷) (.pyd反编译;PySimpleGU 阅读全文

posted @ 2022-02-15 13:50 andy_1 阅读(80) 评论(0) 推荐(0) 编辑

2022年1月27日

Win10,Win7windows远程桌面设置,并允许多账户同时登录

摘要: win7 设置简单,百度可解决 1. Win7开启远程桌面,疑难杂症 ::、https://blog.csdn.net/xhtmy/article/details/80432509 2. 允许多账户同时登录的话,仅需要安装一个软件破解一下就可以。 win10设置复杂。 1. 远程桌面设置参考百度 2 阅读全文

posted @ 2022-01-27 18:56 andy_1 阅读(127) 评论(0) 推荐(0) 编辑

2022年1月22日

pca和lr

摘要: from warnings import simplefilter simplefilter(action='ignore', category=FutureWarning) from sklearn.tree import export_graphviz from sklearn.tree imp 阅读全文

posted @ 2022-01-22 14:49 andy_1 阅读(54) 评论(0) 推荐(0) 编辑

scorecard用法

摘要: # -*- coding: utf-8 -*- """ Created on Fri Oct 9 13:34:59 2020 @author: Administrator """ import scorecardpy as sc dat = sc.germancredit() #首先,导入germa 阅读全文

posted @ 2022-01-22 13:23 andy_1 阅读(628) 评论(0) 推荐(0) 编辑

爬虫-姓名测试打分2

摘要: 一、获取汉字 import pandas as pd import requests from bs4 import BeautifulSoup session=requests.session() #http://xh.5156edu.com/pinyi.html 所有拼音的导航地址 #https 阅读全文

posted @ 2022-01-22 11:19 andy_1 阅读(168) 评论(0) 推荐(0) 编辑

2021年12月31日

windows定时休眠设置

摘要: 一次定时17:15让电脑休眠。(win7 win10) schtasks /create /tn "随意起名" /tr "shutdown -h" /sc once /st 17:15 命令行休眠办法: https://www.cnblogs.com/milkcu/archive/2013/04/2 阅读全文

posted @ 2021-12-31 14:44 andy_1 阅读(752) 评论(0) 推荐(0) 编辑

2021年12月8日

anaconda历史版本

摘要: anaconda 虚拟环境迁移:https://zhuanlan.zhihu.com/p/265792822 要点:复制envs文件夹下的虚拟环境,复制pkg文件夹 系统重装后,Anaconda重新导入。进入anaconda目录,cmd运行:python .\Lib\_nsis.py mkmenus 阅读全文

posted @ 2021-12-08 08:53 andy_1 阅读(2690) 评论(0) 推荐(1) 编辑

2021年11月15日

python画树

摘要: # -*- coding: utf-8 -*- """ Created on Mon Dec 2 21:29:07 2019 @author: Administrator """ from turtle import * from random import * from math import * 阅读全文

posted @ 2021-11-15 16:10 andy_1 阅读(131) 评论(0) 推荐(0) 编辑

2021年10月31日

windows命令行设置共享wifi

摘要: wifi共享:https://blog.csdn.net/RenDuData/article/details/865828271.cmd 命令行输入netsh wlan set hostednetwork mode=allow ssid=rendudata6 key=rendudata其中ssid为 阅读全文

posted @ 2021-10-31 21:28 andy_1 阅读(373) 评论(0) 推荐(0) 编辑

2021年9月24日

python添加默认模块搜索路径

摘要: python添加默认模块搜索路径https://www.cnblogs.com/cocowang68/p/8117163.html 阅读全文

posted @ 2021-09-24 15:42 andy_1 阅读(36) 评论(0) 推荐(0) 编辑

2021年7月27日

jupyter以子线程运行耗时函数

摘要: # 如果在jupyter中,希望一个耗时过程以子线程方式运行。然后不影响代码编写过程。 方式如下: def f_cut_20(): # IV TOPI20变量 非常耗时 5min train_data = X_train.reset_index(drop=True).fillna(-9999).co 阅读全文

posted @ 2021-07-27 10:05 andy_1 阅读(78) 评论(0) 推荐(0) 编辑

2021年4月17日

关闭WiN10自动更新和后台程序。

摘要: 背景: 因为工作单位使用的win7环境,个人电脑用的win10笔记本。 每次开自己电脑(win10)时,电脑风扇总是狂转,一看内存或者cpu使用率几乎都是100%。一度让人想换回win7。 后来通过万能的知乎,终于找到了一些针对win10的解决方法。 个人对win10的评价: 功能很丰富和强大,对硬 阅读全文

posted @ 2021-04-17 19:59 andy_1 阅读(431) 评论(0) 推荐(0) 编辑

2021年4月12日

python脚本显示运行进程

摘要: import time def exit_time(time_s = 10): for time_i in range(time_s, -1, -1): process = "倒计时退出: %s %s " % (time_i,time_s) print(process, end='', flush= 阅读全文

posted @ 2021-04-12 10:38 andy_1 阅读(330) 评论(0) 推荐(0) 编辑

2021年4月9日

选择pyqt5理由

摘要: tkinter 稳定 发布程序小 控件少 (小项目适合使用,能实现基本功能) wxpython 开源 文档少 人少 pyqt5 使用人多 控件丰富 (大项目使用) pyqt5学校网站 http://www.python3.vip []https://www.bilibili.com/video/BV 阅读全文

posted @ 2021-04-09 15:17 andy_1 阅读(479) 评论(0) 推荐(0) 编辑

2021年4月6日

anaconda3下64位python和32位python共存

摘要: 参考:https://blog.csdn.net/weixin_41710606/article/details/86747877 1. CONDA切换成32位set CONDA_FORCE_32BIT=1 2. 安装32位的python3.6conda create -n python32 pyt 阅读全文

posted @ 2021-04-06 12:21 andy_1 阅读(850) 评论(0) 推荐(0) 编辑

2021年3月17日

爬取百度搜索信息

摘要: **********目的: 搜索‘同盾’‘中标’‘信贷’关键词信息 **********爬虫效果: **********参看学习爬虫教程: 透彻讲解使用Selenium的网站: http://www.python3.vip/tut/auto/selenium/01/ Selenium学习网址: ht 阅读全文

posted @ 2021-03-17 09:04 andy_1 阅读(362) 评论(0) 推荐(0) 编辑

python尝试windows在用端口

摘要: 安装 func_timeout 作用:超时强制终止函数。 import pandas as pd from func_timeout import func_set_timeout, FunctionTimedOut import socket def try_port(ip='10.129.23. 阅读全文

posted @ 2021-03-17 08:54 andy_1 阅读(158) 评论(0) 推荐(0) 编辑

2021年2月8日

linux命令

摘要: 学习参考:https://www.runoob.com/linux/linux-filesystem.html 1 #显示当前根目录空间使用情况df -h /#察看磁盘占用 df -h /etc #显示当前目录空间使用情况du -hs Linux目录结构和作用https://blog.csdn.ne 阅读全文

posted @ 2021-02-08 09:34 andy_1 阅读(42) 评论(0) 推荐(0) 编辑

xshell绿色版安装

摘要: 1. 下载绿色版 2. 打开事报错 msvcp110.dll 缺失 3. 从对应地方下载安装软件,即可:https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30679 4.配置字体显示: 打开Xshell,点击菜单栏的“文件”- 阅读全文

posted @ 2021-02-08 09:16 andy_1 阅读(435) 评论(0) 推荐(0) 编辑

ec2 ubuntu 使用密码登录

摘要: 1、重新设置root 密码命令: sudo passwd root 2、sudo chmod 777 /etc/ssh/sshd_config 用完再把权限改回来 3、vi /etc/ssh/sshd_config 找到 PasswordAuthentication no,将no改为yes; 去掉 阅读全文

posted @ 2021-02-08 00:04 andy_1 阅读(273) 评论(0) 推荐(0) 编辑

2021年2月7日

python控制窗口,倒计时关闭

摘要: 效果 import time 阅读全文

posted @ 2021-02-07 10:17 andy_1 阅读(531) 评论(0) 推荐(0) 编辑

2021年2月3日

win7无线网卡同时上网和共享设置

摘要: 作者:三熊议会链接:https://www.zhihu.com/question/20011000/answer/13955826来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 额,我小挖一下坟。微软在Win7上新增了名为hostednetwork的机制,通过开启ho 阅读全文

posted @ 2021-02-03 14:23 andy_1 阅读(325) 评论(0) 推荐(0) 编辑

2021年1月25日

python 节假日爬取

摘要: 获取节假日 Date,Holiday,Tag 2020-01-01,初七,假期休息 2020-01-02,初八,工作日 2020-01-03,初九,工作日 2020-01-04,初十,周末休息 2020-01-05,十一,周末休息 2020-01-06,小寒,工作日 2020-01-07,十三,工作 阅读全文

posted @ 2021-01-25 21:46 andy_1 阅读(797) 评论(0) 推荐(0) 编辑

2021年1月23日

selenuim学习

摘要: 见过最好的学习教程: http://www.python3.vip/tut/auto/selenium/01/ 这里感谢“白月黑羽”老师! 对应教学视频:《Python + Selenium Web自动化 全套教程》 基础语句学习记录: from selenium import webdriver 阅读全文

posted @ 2021-01-23 10:25 andy_1 阅读(73) 评论(0) 推荐(0) 编辑

2021年1月11日

Sklearn机器学习模型上线

摘要: 方案1: 根据(Python) 输出模型的pmml文件;开发者根据pmml文件,开发java上线。方案2: 单独的部署一个生产的python环境,模型输出到这个环境并起flask的api,给java开发者调用。 结论: 方案1不可行。方案2是业内通行方案。 无法将模型预测全部(含特征加工和输出值转换 阅读全文

posted @ 2021-01-11 11:04 andy_1 阅读(694) 评论(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
点击右上角即可分享
微信分享提示