摘要: //乘法 function comAccMul(arg1,arg2){ var m=0,s1=arg1.toString(),s2=arg2.toString(); try{m+=s1.split(".")[1].length}catch(e){} try{m+=s2.split(".")[1].l 阅读全文
posted @ 2022-01-14 15:11 bobo-bobo 阅读(202) 评论(0) 推荐(0) 编辑
摘要: https://golang.google.cn/dl/ 下载M1版GO 安装过程省略 https://code.visualstudio.com/#alt-downloads 下载VSCode 安装省略 VSCode安装GO插件过程也省略 在引用包无法下下载时,在命令行输入 go env -w G 阅读全文
posted @ 2021-11-29 08:14 bobo-bobo 阅读(355) 评论(1) 推荐(0) 编辑
摘要: using System;using System.Runtime.InteropServices; namespace XLDownload{ /// <summary> /// API /// </summary> public static class XL { private const s 阅读全文
posted @ 2020-11-12 10:14 bobo-bobo 阅读(251) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace HarvenSin{ class Program { /// <summary> /// 根据经纬度,计算2个点之 阅读全文
posted @ 2019-07-29 18:09 bobo-bobo 阅读(3804) 评论(0) 推荐(0) 编辑
摘要: ALTER FUNCTION [dbo].[Get_IDCard_Age2]( @pspt_id VARCHAR(18))RETURNS int -- nvarcharASBEGINdeclare @age int = -1 if len(@pspt_id)<>'18' or substring(@ 阅读全文
posted @ 2019-05-17 18:20 bobo-bobo 阅读(439) 评论(0) 推荐(0) 编辑
摘要: try { string msg = "XX是大大D傻瓜"; Console.Write(msg); using (var speechSyn = new SpeechSynthesizer()) { speechSyn.Speak(msg); } } catch(Exception ex) { C 阅读全文
posted @ 2019-05-14 15:53 bobo-bobo 阅读(6907) 评论(0) 推荐(0) 编辑
摘要: CREATE DEFINER=`bo`@`%` FUNCTION `fn_get_user_code`(userstr varchar(100)) RETURNS varchar(20) CHARSET utf8 COLLATE utf8_binBEGIN DECLARE var_res VARCH 阅读全文
posted @ 2019-05-13 17:39 bobo-bobo 阅读(3328) 评论(0) 推荐(0) 编辑
摘要: string _operatingSystem=""; string _osArchitecture=""; using (ManagementObjectSearcher win32OperatingSystem = new ManagementObjectSearcher("select * f 阅读全文
posted @ 2019-05-09 15:09 bobo-bobo 阅读(2693) 评论(0) 推荐(0) 编辑
摘要: 方法有两个:第一种比较简单,就直接点击手机的返回键,让它自动根据层级返回即可;第二种,可使用JSSDK 1.3.2提供的接口返回小程序接口,所以我们需要在H5页面引入相应的js文件才能进行操作 那么第一种方法,我们就不用多说了,直接单击手机的返回键即可啦。我们着重来说一下引用文件进行操作的这一种,其 阅读全文
posted @ 2019-05-06 15:27 bobo-bobo 阅读(1348) 评论(0) 推荐(0) 编辑
摘要: USE [master]ALTER DATABASE RcBalance SET RECOVERY SIMPLE WITH NO_WAITALTER DATABASE RcBalance SET RECOVERY SIMPLE; USE RcBalanceSELECT * from sys.data 阅读全文
posted @ 2019-04-22 15:11 bobo-bobo 阅读(252) 评论(0) 推荐(0) 编辑