一点飞鸿影下

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

导航

随笔分类 -  开发笔记

开发过程中使用到的一些插件以及配置的记录
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 一点飞鸿影下 阅读(1343) 评论(0) 推荐(0)

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 一点飞鸿影下 阅读(2230) 评论(0) 推荐(1)

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 一点飞鸿影下 阅读(125) 评论(0) 推荐(0)

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

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

梯度下降解决线性回归问题(带超详细注释)
摘要:学习笔记 阅读全文

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

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 一点飞鸿影下 阅读(173) 评论(0) 推荐(0)

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 一点飞鸿影下 阅读(3652) 评论(0) 推荐(0)

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

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

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

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

vue 开发笔记
摘要:vue 开发记录 marked 插件的使用 axios 的使用及封装 封装 在main.js中注册方法 调用 markdown 标签过滤(使用正则) js gettext(code) { text = codes .replace(/(\ \ |__)(. ?)(\ \ |__)/g, "") // 阅读全文

posted @ 2019-05-20 19:22 一点飞鸿影下 阅读(313) 评论(0) 推荐(0)