1 2 3 4 5 ··· 13 下一页

2022年3月18日

摘要: // react hook 防抖函数function useDebounce(value, delay) { const [debouncedValue, setDebouncedValue] = useState(value); useEffect( () => { const handler = 阅读全文
posted @ 2022-03-18 09:21 杨寒 阅读(155) 评论(0) 推荐(0) 编辑
 
摘要: let a = document.createElement('a'); a.setAttribute('href', 'https://img1.baidu.com/it/u=1342639626,1157163052&fm=26&fmt=auto&gp=0.jpg'); a.setAttribu 阅读全文
posted @ 2022-03-18 09:17 杨寒 阅读(147) 评论(0) 推荐(0) 编辑
 

2019年1月30日

摘要: 今天用mysql连接数据库时,出现The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone.问题.在伟大的度娘查后,是时区问题. mysql默认的是美国时区,而中国比 阅读全文
posted @ 2019-01-30 11:06 杨寒 阅读(173) 评论(0) 推荐(0) 编辑
 

2018年11月1日

摘要: 1、 ORA-00947:Not enough values 原因:values没有写足够的值与select()中的字段对应 2、查看一张表中共有多少个字段 select count(*) from user_tab_columns t where t.TABLE_NAME='表名/视图名' 3、 阅读全文
posted @ 2018-11-01 20:22 杨寒 阅读(144) 评论(0) 推荐(0) 编辑
 

2018年10月23日

摘要: 1、安装anaconda 3.5.5 默认安装,注意,把添加到path勾选上,其他默认安装(能搜到这篇文章,相信大家都有过变成经验,这些环境变量的重要性就不要窝在多说了) 2、以管理员身份,打开anaconda prompt(否则会出现permission denied。) (1)安装python3 阅读全文
posted @ 2018-10-23 21:23 杨寒 阅读(118) 评论(0) 推荐(0) 编辑
 

2018年10月17日

摘要: # -*- coding: utf-8 -*-"""Created on Wed Oct 17 08:49:28 2018 @author: Administrator"""import tensorflow as tf"引入input_data.py,注:Python文件必须与input_data 阅读全文
posted @ 2018-10-17 10:15 杨寒 阅读(199) 评论(0) 推荐(0) 编辑
 
摘要: "python: 3.5" # -*- coding: utf-8 -*-"""Created on Tue Oct 16 15:29:38 2018 @author: Administrator""" import tensorflow as tf"引入input_data.py,注:Python 阅读全文
posted @ 2018-10-17 08:35 杨寒 阅读(238) 评论(0) 推荐(0) 编辑
 

2018年10月16日

摘要: # Copyright 2015 Google Inc. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except 阅读全文
posted @ 2018-10-16 17:09 杨寒 阅读(946) 评论(0) 推荐(0) 编辑
 

2018年9月11日

摘要: t = [0:0.01:0.98]; sin图像 y1 = sin(2*pi*4*t); plot(t,y1); cos图像 y2 = cos(2*pi*4*t); plot(t,y2); sin和cos图像合并 plot(t,y1); hold on; plot(t,y2,'r'); 设置x、y轴 阅读全文
posted @ 2018-09-11 10:34 杨寒 阅读(112) 评论(0) 推荐(0) 编辑
 

2018年9月7日

摘要: a = [1 2;3 4;5 6] lengh(a) %返回矩阵的最大维度,a行的维度是3,列的维度是2,所以返回3 Octave如何在文件系统中加载和移动数据? pwd %显示当前路径 cd %跳转到数据路径 load xx.dat %加载数据文件 load('xx.dat') save hell 阅读全文
posted @ 2018-09-07 14:16 杨寒 阅读(109) 评论(0) 推荐(0) 编辑
 
1 2 3 4 5 ··· 13 下一页