摘要: 因为浏览器切换到后台后JS可能不执行刷新工作,改成用标签实现 类似 <meta http-equiv="Refresh" content="113"> // ==UserScript== // @name Userscript_reload (无暂停功能) // @namespace http:// 阅读全文
posted @ 2025-09-29 14:56 wsh3166Sir 阅读(68) 评论(0) 推荐(0)
摘要: // ==UserScript== // @name Userscript_reload // @namespace http://tampermonkey.net/ // @version 2025-09-29 // @description 每x分钟自动刷新当前页面,可手动暂停/继续,支持窗口拖 阅读全文
posted @ 2025-09-29 11:03 wsh3166Sir 阅读(29) 评论(0) 推荐(0)
摘要: /*查询执行SQL升级前后,存储过程的参数数量变化*/ --升级前 select a.id,b.name, count(1) as c_count into TT99812 from syscolumns a join (select id,name from sysobjects where OB 阅读全文
posted @ 2024-12-24 15:47 wsh3166Sir 阅读(18) 评论(0) 推荐(0)
摘要: package main const MyKey = `MIIEvQIBADANBgkqSkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDj/3+USBaoVSSklSdmnKAEmFIIarRzt/fJXixNUWsCfBCCOO+pURwAlqNvRVQqE2dtcr5uE0 阅读全文
posted @ 2024-08-06 16:34 wsh3166Sir 阅读(57) 评论(0) 推荐(0)
摘要: 字符串转日期 SELECT CONVERT(datetime,'19490224') --: 1949-02-24 00:00:00.000 SELECT CONVERT(datetime,'1949/02/24') -- : 1949-02-24 00:00:00.000 SELECT CONVE 阅读全文
posted @ 2024-05-15 15:34 wsh3166Sir 阅读(610) 评论(0) 推荐(0)
摘要: package main import ( "database/sql" "fmt" "mylog" "time" ) type Middleware struct{} /*如遇错误,执行额外任务*/ func (m *Middleware) Println(v interface{}) { if 阅读全文
posted @ 2024-05-14 10:06 wsh3166Sir 阅读(22) 评论(0) 推荐(0)
摘要: <script> const music = new Audio('med/CanonInD.mp3'); music.loop =true; document.addEventListener("DOMContentLoaded", function(event) { console.log("页 阅读全文
posted @ 2024-05-13 22:11 wsh3166Sir 阅读(75) 评论(0) 推荐(0)
摘要: 直接上代码 // 获取变量的字符串值 // 浮点型 3.0将会转换成字符串3, "3" // 非数值或字符类型的变量将会被转换成JSON格式字符串 func Strval(value interface{}) string { var key string if value == nil { ret 阅读全文
posted @ 2024-02-15 21:55 wsh3166Sir 阅读(191) 评论(0) 推荐(0)
摘要: select job_id,step_name,message, cast( ( cast( LEFT ( run_date, 4 ) AS VARCHAR ) + '-' + SUBSTRING( cast( run_date AS VARCHAR ), 5, 2 ) + '-' + cast( 阅读全文
posted @ 2024-01-16 10:57 wsh3166Sir 阅读(55) 评论(0) 推荐(0)
摘要: 网页客户端 : <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" con 阅读全文
posted @ 2024-01-06 17:11 wsh3166Sir 阅读(25) 评论(0) 推荐(0)