随笔分类 -  backup

备份
摘要:在一次执行结束后等待指定间隔再执行下次 --see-also https://developer.mozilla.org/zh-CN/docs/Web/API/Window/setInterval 确保执行时间短于定时器时间间隔 如果你的代码逻辑执行时间可能比定时器时间间隔要长,建议你使用递归调用了 阅读全文
posted @ 2025-02-09 13:41 太初谷神 阅读(29) 评论(0) 推荐(0)
摘要:不使用 VisualStudio 默认项目目录结构 新建方案 和 两个项目 1 # PowerShell 2 3 dotnet new sln --name example 4 5 dotnet new console --name Hello1 --output src/Hello1 --use- 阅读全文
posted @ 2024-12-29 21:54 太初谷神 阅读(26) 评论(0) 推荐(0)
摘要:用在只有一两个表操作也极为简单的小玩具里。 1 using System; 2 using System.Collections.Generic; 3 using System.Data; 4 using System.Data.SqlClient; 5 using System.Text; 6 7 阅读全文
posted @ 2021-10-22 11:34 太初谷神
摘要:主要内容都是 fop example 中的内容,备份用途是记下如何让 pdf 可以正常显示 宋体,因为完成示例程序的过程中,生成的 pdf 不能正常显示汉字。 fop.xconf <?xml version="1.0"?> <!-- $Id: fop.xconf 1616312 2014-08-06 阅读全文
posted @ 2021-08-20 08:16 太初谷神 阅读(157) 评论(0) 推荐(0)
摘要:显示行号set number 在编辑模式时按退格键退回缩进的长度, 使用 expandtab 时特别有用set softtabstop=4 每一级缩进的长度, 一般设置成跟 softtabstop 一样set shiftwidth=4 set autoindent 用空格表示缩进set expand 阅读全文
posted @ 2021-03-09 13:40 太初谷神 阅读(106) 评论(0) 推荐(0)
摘要:logback.xml logback-spring.xml <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60 seconds" debug="false"> <property name 阅读全文
posted @ 2020-07-27 13:40 太初谷神 阅读(115) 评论(0) 推荐(0)
摘要:analysis_barcode.py 1 # -*- coding:utf-8 -*- 2 3 # python3 4 5 import sys 6 import re 7 8 # 分析下发和收回的条码 9 # 1 下发过多少 10 # 2 回收了多少 11 # 3 下发过没有回收的有多少 12 阅读全文
posted @ 2020-07-27 09:38 太初谷神 阅读(124) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the 阅读全文
posted @ 2020-07-19 13:25 太初谷神 阅读(185) 评论(0) 推荐(0)
摘要:1 <?xml version="1.0" encoding="utf-8" ?> 2 <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-i 阅读全文
posted @ 2020-06-27 08:19 太初谷神 阅读(99) 评论(0) 推荐(0)
摘要:1 # alias 2 param([string]$Command, $AliasKeys) 3 4 5 # 使用 DarkRed 背景色 White 前景色 不换行显示 6 function DisplayErrorMsg($Msg) { 7 $Msg | Write-Host -NoNewLi 阅读全文
posted @ 2020-06-05 15:55 太初谷神 阅读(167) 评论(0) 推荐(0)