摘要: # -*- coding: utf-8 -*-# # # Name:SpeechRobot # Date:2019年10月21日 09:43:46 # 用python3实现自己的语音对话机器人 # from aip import AipSpeech import requests import js 阅读全文
posted @ 2019-10-23 13:50 ngdty 阅读(395) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- # Date : 2018-12-02 19:04:55 import wave import requests import time import base64 from pyaudio import P 阅读全文
posted @ 2019-10-23 12:51 ngdty 阅读(355) 评论(0) 推荐(0) 编辑
摘要: let rootSize function computeSize (ratio) { let baseWidth const htmlElement = document.documentElement let dpr = window.devicePixelRatio const winWidt 阅读全文
posted @ 2019-04-17 09:52 ngdty 阅读(121) 评论(0) 推荐(0) 编辑
摘要: import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store' import axios from 'axios' import promise f 阅读全文
posted @ 2019-04-17 09:45 ngdty 阅读(1367) 评论(0) 推荐(0) 编辑
摘要: { // vscode默认启用了根据文件类型自动设置tabsize的选项 "editor.detectIndentation": false, // 重新设定tabsize "editor.tabSize": 2, // #每次保存的时候自动格式化 "editor.formatOnSave": tr 阅读全文
posted @ 2019-04-08 12:08 ngdty 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 1、全局安装gulp cnpm install gulp -g 2、如果需要使用gulp的时候 a、cnpm init 初始化仓库 后面加 -y b、局部安装 gulp cnpm install gulp --save-dev --save:将保存配置信息至package.json -dev:保存至 阅读全文
posted @ 2018-09-12 20:35 ngdty 阅读(716) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title></head><body> <div> <p>单价:<span>¥30</span></p> <input type="button 阅读全文
posted @ 2018-08-22 16:35 ngdty 阅读(147) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> *{margin: 0;padding: 0;} div{font-size: 6 阅读全文
posted @ 2018-08-16 15:46 ngdty 阅读(129) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> *{margin:0;padding:0;} #content{ position: relative; } .sm 阅读全文
posted @ 2018-08-15 20:02 ngdty 阅读(109) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style> *{ margin: 0; padding: 0; } .container{ width: 600px; hei 阅读全文
posted @ 2018-08-15 10:38 ngdty 阅读(147) 评论(1) 推荐(0) 编辑