一点飞鸿影下

孤村落日残霞,轻烟老树寒鸦,一点飞鸿影下。 青山绿水,白草红叶黄花。

导航

2021年2月9日 #

esp32 arduino 蓝牙 使用uln2003 驱动四相五线步进电机备忘

摘要: 代码很简单,直接能看明白 // Load libraries #include "BluetoothSerial.h" // Check if Bluetooth configs are enabled #if !defined(CONFIG_BT_ENABLED) || !defined(CONF 阅读全文

posted @ 2021-02-09 15:10 一点飞鸿影下 阅读(1096) 评论(0) 推荐(0) 编辑

2020年6月9日 #

python django 数据库树形菜单的设计

摘要: # view文件 from django.shortcuts import render from app.models import Menu # Create your views here. from django.http import JsonResponse def index(requ 阅读全文

posted @ 2020-06-09 12:38 一点飞鸿影下 阅读(1807) 评论(0) 推荐(1) 编辑

2019年11月28日 #

python 多进程

摘要: ```python #方法一 直接调用 import time import random from multiprocessing import Process def run(name): index = 0 for i in range(3): print('%s runing' %name) time.sleep(random.randrange(1,5)) print('%s runni 阅读全文

posted @ 2019-11-28 17:54 一点飞鸿影下 阅读(111) 评论(0) 推荐(0) 编辑

2019年10月29日 #

MAC_下安装mysqlclient

摘要: 01_OSX 安装mysqlclient 安装依赖库 安装mysqlclient 修改mysql_config 找到 替换为 这时候出现问题可能是ssl库没有加入环境变量的问题,在终端中加入环境变量问题即可解决 这样一般就安装成功了 阅读全文

posted @ 2019-10-29 10:29 一点飞鸿影下 阅读(818) 评论(0) 推荐(0) 编辑

2019年9月26日 #

梯度下降解决线性回归问题(带超详细注释)

摘要: 学习笔记 阅读全文

posted @ 2019-09-26 01:14 一点飞鸿影下 阅读(376) 评论(0) 推荐(0) 编辑

2019年9月5日 #

axios 配置

摘要: ```js import axios from 'axios'; axios.defaults.timeout = 5000; axios.defaults.baseURL = 'http://192.168.18.142:8000'; axios.defaults.withCredentials = true; //http request 拦截器 axios.interceptors.requ 阅读全文

posted @ 2019-09-05 17:00 一点飞鸿影下 阅读(142) 评论(0) 推荐(0) 编辑

2019年8月22日 #

js rgb颜色阶梯渐变效果实现

摘要: 核心代码 js function gradientColor(startColor, endColor, step) { var startRGB = this.colorRgb(startColor);//转换为rgb数组模式 var startR = startRGB[0]; var start 阅读全文

posted @ 2019-08-22 17:59 一点飞鸿影下 阅读(3529) 评论(0) 推荐(0) 编辑

2019年6月10日 #

爬虫基础(1):urllib库

摘要: urllib库 urllib库是python中的一个基本网络请求库。用于模拟浏览器的行为,向指定服务器发送请求,并接收返回的数据。 在python3中所有的网络请求相关函数都集中在urllib.request模块下面 urlopen函数 向服务器发起请求 urlopen函数的参数 1. url 目标 阅读全文

posted @ 2019-06-10 10:25 一点飞鸿影下 阅读(344) 评论(0) 推荐(0) 编辑

2019年5月27日 #

axios 跨域配置

摘要: axios跨域设置 1. 找到项目config文件夹下的index.js文件,将dev中的proxyTable项中添加配置 2. 在组件中调用时直接用api+要访问的接口就可以了 这样返回的结果如下: 阅读全文

posted @ 2019-05-27 23:41 一点飞鸿影下 阅读(575) 评论(0) 推荐(0) 编辑

2019年5月23日 #

ubuntu18.04中mysql的安装及远程连接配置

摘要: 1.ubuntu 18.04 下mysql的安装 2.mysql 安装配置 参考配置 3.配置root用户远程访问 4.这个时候可能远程访问还是有问题,拒绝链接(111) 这时需要找到配置文件中的这一行,把它注释掉(这个让我搞了一晚上) 此时就可以成功远程链接了。 阅读全文

posted @ 2019-05-23 03:12 一点飞鸿影下 阅读(258) 评论(0) 推荐(0) 编辑