摘要:        
from grant.sql_connection import tellus_conn from sqlalchemy import text, create_engine import pandas as pd from urllib.parse import quote_plus passwo    
阅读全文
 
        
        
            posted @ 2025-10-20 14:27
CrossPython
阅读(6)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
堆友—多风格AI绘画神器免费生成;多功能AI工具箱集结助力;3D素材在线渲染,免费商用;各类创意设计大赛,等你来战! 阿里妈妈 创意中心 - 智能文案 万相营造 chartCube ChartCube - 在线图表制作工具    
阅读全文
 
        
        
            posted @ 2025-10-18 15:57
CrossPython
阅读(6)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
防抖: 核心就是当一个现象停止一段时间后, 才执行动作. 而不是每次都执行. 主意timer的配置    
阅读全文
 
        
        
            posted @ 2025-10-08 21:18
CrossPython
阅读(5)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
微信小程序获取用户手机号码教程(包含前后端)前言 在开发微信小程序时,获取用户手机号码是常见的需求之一。本教程将为你详细 - 掘金 一、前端实现获取用户手机号码 在微信小程序中,可以通过调用 wx.login() 获取用户的登录凭证 code,然后将 code 发送给后端服务器,由后端通过微信提供的    
阅读全文
 
        
        
            posted @ 2025-10-02 10:49
CrossPython
阅读(41)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
微信小程序云开发-登录功能(微信授权登录) 来自: 微信小程序云开发-登录功能(微信授权登录) - AnnLing - 博客园 一、创建页面load 创建页面load 二、需求说明 登录之前,【我的】头像和文字显示为默认显示。微信授权登录成功之后,【我的】头像和文字分别获取微信头像和微信名字。 三、    
阅读全文
 
        
        
            posted @ 2025-09-27 22:30
CrossPython
阅读(21)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
<!-- file: /pages/index/index.vue --> <template> <view class="container"> <!-- 1. 自定义导航栏组件使用,title是这里透传给子组件的变量,@counterOver是子组件暴露出来的函数事件,ref可以作为选择器,当父    
阅读全文
 
        
        
            posted @ 2025-09-26 22:10
CrossPython
阅读(12)
推荐(0)
        
        
            
        
        
            
摘要:        
作为前端开发者,CSS 是我们每天都要打交道的技术。但你真的了解 CSS 中各种值和单位的奥秘吗?本文将带你全面掌握 CSS 值与单位的使用技巧,提升你的样式编写能力! 一、颜色值:不只是十六进制那么简单 在 CSS 中定义颜色,我们通常首先想到的是十六进制表示法,但其实 CSS 提供了多种颜色定义    
阅读全文
 
        
        
            posted @ 2025-09-26 22:05
CrossPython
阅读(16)
推荐(0)
        
        
            
        
        
            
摘要:        
文本属性 文本属性控制文本的外观,包括字体、大小、颜色、对齐方式等。 字体属性 .text {/* 字体系列 */font-family: Arial, Helvetica, sans-serif;/* 字体大小 */font-size: 16px;/* 字体粗细 */font-weight: bo    
阅读全文
 
        
        
            posted @ 2025-09-26 22:04
CrossPython
阅读(15)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
防止图片拉伸变形<van-image src="xxx" mode="aspectFit" /> .container {	min-height: 300rpx;border-radius: 90rpx 90rpx 0 0;transform: translateY(-80px) =>>可以强制网上    
阅读全文
 
        
        
            posted @ 2025-09-24 22:51
CrossPython
阅读(9)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
使用上下文管理器 from sqlalchemy import create_engine, text from sqlalchemy.orm import sessionmaker from contextlib import contextmanager import logging # 创建数    
阅读全文
 
        
        
            posted @ 2025-09-15 12:03
CrossPython
阅读(10)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
mirrors里头加: <mirror> <id>maven-default-http-blocker</id> <mirrorOf>external:http:*</mirrorOf> <name>Pseudo repository to mirror external repositories     
阅读全文
 
        
        
            posted @ 2025-09-06 16:59
CrossPython
阅读(8)
推荐(0)
        
        
            
        
        
            
摘要:        
按地址: https://www.youtube.com/watch?v=AGVF20K26FE&list=PL-yzcOCOKCBN6k6z2aHetk91yYAxQZmZ-&index=7 如果数据库文件没被下载, 可以手工下载: C:\projects_java\idempiere12\org    
阅读全文
 
        
        
            posted @ 2025-09-06 11:46
CrossPython
阅读(12)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
--default-character-set=utf8 否则提示文本长度过长    
阅读全文
 
        
        
            posted @ 2025-09-04 09:59
CrossPython
阅读(16)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
用Rust写个 QR.exe软件, 生成二维码格式: QR.exe /S3 /L11 /O"C:\QRCODE11\1.jpg" /T"123" 123 是原始字符. EXCEL VBA插入二维码图片. Function MK_QR(Enc_Dat, ECL, SIZ, sheetname As S    
阅读全文
 
        
        
            posted @ 2025-09-01 13:34
CrossPython
阅读(19)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
同一个日志文件, 但是区分线程: import logging import threading # 配置日志 logging.basicConfig( filename='thread_log.log', filemode='a', format='%(asctime)s - %(threadNa    
阅读全文
 
        
        
            posted @ 2025-08-19 10:50
CrossPython
阅读(14)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
多线程 import threading import time lock = threading.Lock() i = 0 def run(): global i while True: with lock: print(threading.current_thread().name, '=>',    
阅读全文
 
        
        
            posted @ 2025-08-13 10:15
CrossPython
阅读(7)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
import threading import tkinter as tk import pystray from PIL import Image class GUI: def __init__(self): self.root = tk.Tk() self.root.title('演示窗口')     
阅读全文
 
        
        
            posted @ 2025-08-12 14:07
CrossPython
阅读(16)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
https://blog.csdn.net/lglglgl/article/details/102842793 https://www.cnblogs.com/zzyan/p/4108772.html 导入数据库,执行命令PS D:\idempiere-server> .\utils\RUN_Imp    
阅读全文
 
        
        
            posted @ 2025-08-11 16:31
CrossPython
阅读(6)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
$start = Date $env:JAVA_HOME = "C:\java\dragonwell8" $mvnSettingsFile = "C:\Users\sdt\.m2\settings.xml" cd C:\work-metas\metasfresh\misc\parent-pom C:    
阅读全文
 
        
        
            posted @ 2025-08-10 21:37
CrossPython
阅读(11)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
<div class="o_diagram" style="display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; overflow: hidden;"> <iframe class="o_diagram    
阅读全文
 
        
        
            posted @ 2025-08-07 12:54
CrossPython
阅读(14)
推荐(0)
        
        
            
        
        
            
摘要:        
import pandas as pd df = pd.DataFrame([ {'a': 1, 'b': 2}, {'a': 11, 'b': 2}, {'a': 111, 'b': 222}, ]) # df = df[(z20m_collection_df['a'] != 1) & (df['    
阅读全文
 
        
        
            posted @ 2025-08-07 09:13
CrossPython
阅读(6)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
// 在顶层定义(类似于您现有的全局变量) static YOUR_VARIABLE_NAME: LazyLock<Arc<Mutex<DataType>>> = LazyLock::new(|| Arc::new(Mutex::new(initial_value))); // 示例:一个全局计数器    
阅读全文
 
        
        
            posted @ 2025-08-05 09:14
CrossPython
阅读(12)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
def control_sim(enable=True): if enable: command = "netsh interface set interface name=grantSim admin=enable" subprocess.run(command, shell=True) time    
阅读全文
 
        
        
            posted @ 2025-07-27 20:26
CrossPython
阅读(11)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
YM格式必须是 202501类似的整数, 首先根据上面的表新增一个日期表: 日期表 = VALUES('Sheet1'[ym]) 在主表里新增一个度量值, selected = VAR ym_selected = SELECTEDVALUE('日期表'[ym]) // 假设 '日期表' 是独立的日期    
阅读全文
 
        
        
            posted @ 2025-07-23 15:30
CrossPython
阅读(10)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
排1名 = VAR CurrentCategory = 'Sheet1'[大类] VAR CurrentSupplier = 'Sheet1'[供应商] VAR CurrentYearMonth = 'Sheet1'[年月] VAR CurrentAmount = 'Sheet1'[金额] RETU    
阅读全文
 
        
        
            posted @ 2025-07-22 16:03
CrossPython
阅读(16)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
Table = VAR TempTable = ADDCOLUMNS( 'Sheet1', "Rank", RANKX( FILTER('Sheet1', 'Sheet1'[id] = EARLIER('Sheet1'[id])), 'Sheet1'[date], , DESC, Dense ) )    
阅读全文
 
        
        
            posted @ 2025-07-21 16:09
CrossPython
阅读(23)
推荐(0)
        
        
            
        
        
            
摘要:        
import pandas as pd from grant.sql_connection import tellus_conn sql = r'''select a.uid,REGEXP_REPLACE(a.beizhu, '[\\x00-\\x1F\\x7F]', '') AS beizhu_c    
阅读全文
 
        
        
            posted @ 2025-07-21 15:21
CrossPython
阅读(10)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
平均数 = VAR CurrentYearMonth = '按月汇总表'[年月] VAR CurrentYear = INT(CurrentYearMonth / 100) VAR CurrentMonth = MOD(CurrentYearMonth, 100) VAR StartYearMont    
阅读全文
 
        
        
            posted @ 2025-07-15 11:07
CrossPython
阅读(14)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
1. 拉 docker pull mysql:8 docker pull postgres:17 docker pull redis:latest 2. 装 密码 root docker run -d ` --name mysql ` -p 3306:3306 ` -e MYSQL_ROOT_PAS    
阅读全文
 
        
        
            posted @ 2025-07-12 10:10
CrossPython
阅读(29)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
group	name	type	date	qty A	grant	male	2025/1/1	1 A	edmond	male	2025/1/2	2 A	jush	female	2025/1/3	3 B	jella	female	2025/1/4	4 B	Hugs	male	2025/1/5	5 C	    
阅读全文
 
        
        
            posted @ 2025-07-09 09:21
CrossPython
阅读(14)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
直接windows下安装部署: https://blog.csdn.net/m0_52919859/article/details/148643913 用podman部署 (docker收费) 1. 安装podman (略) 2. 拉取 Ollama 镜像 podman pull ollama/ol    
阅读全文
 
        
        
            posted @ 2025-07-05 20:36
CrossPython
阅读(132)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
在格式代码框中输入:0;-0;"-" 或 #,##0;-#,##0;"-" 显示成M: 0,,.0M    
阅读全文
 
        
        
            posted @ 2025-07-04 16:43
CrossPython
阅读(18)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
VAR CurrentDate = TODAY() VAR LastYear = YEAR(CurrentDate) - 1 VAR CurrentMonth = MONTH(CurrentDate) VAR CurrentDay = DAY(CurrentDate) VAR IsLeapYear     
阅读全文
 
        
        
            posted @ 2025-07-01 14:42
CrossPython
阅读(18)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
from sqlalchemy import create_engine, text, inspect from sqlalchemy.exc import SQLAlchemyError from grant.sql_connection import jldb_conn as engine de    
阅读全文
 
        
        
            posted @ 2025-06-30 18:26
CrossPython
阅读(11)
推荐(0)
        
        
 
    
    
        
        
        
        
            posted @ 2025-06-27 17:33
CrossPython
阅读(20)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
查指定数据库表的字段和描述 SELECT COLUMN_NAME AS '字段名', COLUMN_COMMENT AS '字段注释', COLUMN_TYPE AS '数据类型', IS_NULLABLE AS '是否可为空' FROM INFORMATION_SCHEMA.COLUMNS WHE    
阅读全文
 
        
        
            posted @ 2025-06-18 09:08
CrossPython
阅读(13)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
https://blog.csdn.net/qq_45351273/article/details/147517391 https://blog.csdn.net/vvvae1234/article/details/141565822    
阅读全文
 
        
        
            posted @ 2025-06-15 20:03
CrossPython
阅读(384)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
_old\wuwuscan-server\src\test\java\cn\wuwu\scan\ProjectReactor.java    
阅读全文
 
        
        
            posted @ 2025-06-14 22:35
CrossPython
阅读(106)
推荐(0)
        
        
            
        
        
            
摘要:        
allprojects { repositories {// google()// mavenCentral() maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.    
阅读全文
 
        
        
            posted @ 2025-06-14 11:16
CrossPython
阅读(27)
推荐(0)
        
        
 
    
    
        
        
            
摘要:        
进入虚拟机podman machine ssh 这里可以该registray的国内镜像。 POWERSHELL 整体复制粘贴 podman run --name my-postgres ` -e POSTGRES_USER=postgres ` -e POSTGRES_PASSWORD=postgr    
阅读全文
 
        
        
            posted @ 2025-06-08 21:59
CrossPython
阅读(18)
推荐(0)