appid:="************" apikey:="***********88" curtime:=strconv.FormatInt(time.Now().Unix(),10) param:=make(map[string]string) param["engine_type"]="sms16k" param["aue"]="raw" tt,_:=json.Marshal(param) base64_param:=base64.StdEncoding.EncodeToString(tt) w:=md5.New() io.WriteString(w,apikey+curtime+base64_param) checksum:=fmt.Sprintf("%x",w.Sum(nil)) body,_:=ioutil.ReadFile("./ceshi.pcm") base64_audio:=base64.StdEncoding.EncodeToString(body) data:=url.Values{} data.Add("audio",string(base64_audio)) res_body:=data.Encode() client:=&http.Client{} req,_:=http.NewRequest("POST","http://api.xfyun.cn/v1/service/v1/iat",strings.NewReader(res_body)) req.Header.Set("X-Appid",appid) req.Header.Set("Content-Type","application/x-www-form-urlencoded") req.Header.Set("X-Param",base64_param) req.Header.Set("X-CheckSum",checksum) req.Header.Set("X-Curtime",curtime) response,_:=client.Do(req) deferresponse.Body.Close() resp_body,_:=ioutil.ReadAll(response.Body) fmt.Print(string(resp_body))
2023/8/8 21:12:27 1KB 科大讯飞 go语言 语音转写
1
可以快捷生成new出对象的所有set方法,解决对象属性过多一个个set的尴尬局面,真的开发中很方便,能节省很多的时间
2023/7/27 19:02:58 7KB genSets idea
1
该项目是和集合,是对的扩展。
安装此软件包需要Python3.5+要在实验中使用,此软件包必须安装在已经存在的Python环境中。
$pipinstall-Uchaostoolkit-aws用法要使用此程序包中的探针和操作,请将以下内容添加到实验文件中:{"name":"stop-an-ec2-instance","provider":{"type":"python","module":"chaosaws.ec2.actions","func":"stop_instance","arguments":{"instance_id":"i-123456"}}},{"name":"create-a-new-policy","provider":{"type":"pyt
1
zip包内含源码和可执行程序,实现了sm4ecb、cbc模式加解密操作。
2023/7/21 4:33:48 118KB sm4算法
1
Today,machinelearningunderliesarangeofapplicationsweuseeveryday,fromproductrecommendationstovoicerecognition--aswellassomewedon'tyetuseeveryday,includingdriverlesscars.Itisthebasisofthenewapproachincomputingwherewedonotwriteprogramsbutcollectdata;theideaistolearnthealgorithmsforthetasksautomaticallyfromdata.Ascomputingdevicesgrowmoreubiquitous,alargerpartofourlivesandworkisrecordeddigitally,andas"BigData"hasgottenbigger,thetheoryofmachinelearning--thefoundationofeffortstoprocessthatdataintoknowledge--hasalsoadvanced.Inthisbook,machinelearningexpertEthemAlpaydinoffersaconciseoverviewofthesubjectforthegeneralreader,describingitsevolution,explainingimportantlearningalgorithms,andpresentingexampleapplications.Alpaydinoffersanaccountofhowdigitaltechnologyadvancedfromnumber-crunchingmainframestomobiledevices,puttingtoday'smachinelearningboomincontext.Hedescribesthebasicsofmachinelearningandsomeapplications;theuseofmachinelearningalgorithmsforpatternrecognition;artificialneuralnetworksinspiredbythehumanbrain;algorithmsthatlearnassociationsbetweeninstances,withsuchapplicationsascustomersegmentationandlearningrecommendations;andreinforcementlearning,whenanautonomousagentlearnsactsoastomaximizerewardandminimizepenalty.Alpaydinthenconsiderssomefuturedirectionsformachinelearningandthenewfieldof"datascience,"anddiscussestheethicalandlegalimplicationsfordataprivacyandsecurity.TableofContentsChapter1WhyWeAreInterestedInMachineLearningChapter2MachineLearning,Statistics,AndDataAnalyticsChapter3PatternRecognitionChapter4NeuralNetworksAndDeepLearningChapter5LearningClustersAndRecommendationsChapter6LearningToTakeActionsChapter7WhereDoWeGoFromHere?
2023/7/11 7:13:56 1.82MB Machine Learning New AI
1
#ifndef__SGI_STL_INTERNAL_ALGOBASE_H#define__SGI_STL_INTERNAL_ALGOBASE_H#ifndef__STL_CONFIG_H#include#endif#ifndef__SGI_STL_INTERNAL_RELOPS#include#endif#ifndef__SGI_STL_INTERNAL_PAIR_H#include#endif#ifndef__TYPE_TRAITS_H#include#endif#include#include#include#include#include#ifdef__STL_USE_NEW_IOSTREAMS#include#else/*__STL_USE_NEW_IOSTREAMS*/#include#endif/*__STL_USE_NEW_IOSTREAMS*/#ifndef__SGI_STL_INTERNAL_ITERATOR_H#include#include#endif
2023/7/9 18:54:53 24KB algobase STL
1
vs2005的WebBrowser控件时有NewWindow事件,可用于开发分页浏览器分页浏览器所谓"分页",从实现上讲就是"控件的动态添加",当前浏览器产生新窗体时,先new出一个TabPage,再new一个WebBrowser,把这个WebBrowser加载了一些事件以后添加到先前的这个TabPage上,然后把这个TabPage添加到"主窗体"tabControl1中。
2023/7/7 0:17:25 401KB 简单 分页 浏览器 代码
1
openglglew所需要的各种资源glew32.dllglew32mx.dll..........\...\khronos.txt..........\...\log.html..........\...\mesa.txt..........\...\new.png..........\...\ogl_sm.jpg..........\...\wglew.html..........\include..........\.......\GL..........\.......\..\glew.h..........\.......\..\glxew.h..........\.......\..\wglew.h..........\lib..........\...\glew32.lib..........\...\glew32mx.lib..........\...\glew32mxs.lib..........\...\glew32s.lib..........\LICENSE.txt..........\README.txt..........\TODO.txt
2023/7/6 3:42:16 1.33MB glew.h glew.dll glew32.lib
1
将上面下载的eclipse插件解压到dropins文件目录下(解压的时候会生成plugins文件夹,我是把里面生成的jar直接拷出来放在dropins文件夹里面),以我的为例:F:\eclipse\dropins。
然后重启eclipse,点击File-New-Other有如下图显示,则表示安装插件成功!
2023/7/5 15:50:11 11.13MB Axis2 eclipse codegen service
1
可以在kindle、掌阅上看,格式没有问题,是理财入门的好选择呀
2023/7/1 11:40:10 980KB 书籍 理财
1
共 153 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡