原创 【AI】whisper筆記

地址:https://github.com/openai/whisper安裝python,控制檯運行python進入交互式 Python 解釋器,表示安裝成功。git clone https://github.com/openai/whis

原创 【Excel】【摘要】Excel函數

1、//Excel函數,當前行ROW()的前一列(COLUMN()-1)的值是時間戳,顯示時間戳對應的轉日期格式。秒。=TEXT((INDIRECT(CHAR((COLUMN()-1)+64)&ROW())+8*3600)/86400+70

原创 【微信小程序】【Demo】Picker模糊查詢組件

微信小程序Picker模糊查詢組件   pickerSelect.js Component({ options: { // 在組件定義時的選項中啓用多slot支持 multipleSlots: true },

原创 【js】【demo】多級聯動選擇標籤

//js-多級聯動選擇標籤demo,頁面:<div name="tagParentId0"></div> //設置標籤html,標籤格式[{TagId,Title,Content,ParentTagId,ChildList}] var T

原创 【sql】跨鏈接複製表

create database SampleTestingSysDBgouse SampleTestingSysDBgoEXEC sp_addlinkedserver@server='oldDB',--被訪問的服務器別名@srvproduc

原创 【C#】【Demo】.net的mvc過濾器,ip限制

using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace CommonUtil{    /// <s

原创 【微信小程序】【Demo】獲取頁面元素寬高,按相對百分比計算頁面其他元素應設置寬度的像素數值。

/** * 生命週期函數--監聽頁面初次渲染完成 */ onReady: function () { var that = this; //獲取元素 var query = wx.createS

原创 【C#】【Demo】生成編號算法

using System; using System.Collections.Generic; using System.Linq; namespace CommonUtil { /// <summary> /// 公

原创 【C#】【Demo】.net使用GDI繪圖幫助類

GDI繪圖幫助類 GDIHelper using System; using System.Collections.Generic; using System.Drawing; using System.Linq; namespace

原创 【js】【筆記】普通js常用

1、普通js常用 var util = { _sampleTypeListSessionKey: "_sampleTypeList20210930",//樣本類型列表本地存儲鍵值 //返回上一個頁面 brea

原创 【ng】【js】【筆記】angularJs常用

【ng】【js】【筆記】angularJs常用 1、select儘量用ng-options,不用ng-repeat <select class="form-control" ng-model="pstm.ExtractionSampleTy

原创 【筆記】【命令】一些命令相關

隱藏執行程序的VBS命令 方式1 DIM objShell set objShell=wscript.createObject("wscript.shell") iReturn=objShell.Run("cmd.exe /C D:\Fil

原创 【js】【Demo】js-ajaxProtogenesis

js原生請求XMLHttpRequest封裝 //js原生請求XMLHttpRequest const ajaxProtogenesis = { post: function (url, data, success, error,

原创 【微信小程序】子主鍵使用父組件實例對象操作,比如使用父級組件的setData或使用父級組件方法

微信官方給出三種組件通信方式:https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/events.html#%E8%A7%A6%E5%8F%9

原创 【Demo】【微信小程序】在app.js中添加對所有頁面的操作,比如設置是否分享,爲所有頁面的data添加屬性等。

//允許分享的頁面路由數組 var showShareUrls = ['pages/index/index', //首頁 'pages/other/aboutUs', //關於我們 ]; //無需登錄頁面 var noLogin