自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 python实现自动剪辑视频

【代码】python实现自动剪辑视频。

2023-01-13 16:35:33 1114

原创 使用Selenium爬取考试宝题库

考试宝题库获取

2022-09-23 13:28:00 2304 4

原创 JavaScript常用方法整理

1.打乱数组顺序函数 shuffle(arr,number) { let list=[] for (let i=arr.length-1; i>=0; i--) { let rIndex = Math.floor(Math.random()*(i+1)); // 打印交换值 // console.log(i, rIndex); let temp = arr[rInde

2022-05-25 19:06:08 169

原创 微信小程序之使用腾讯地图

微信小程序开发经常遇到一些定位,或者计算距离的问题。如图:WXML<view class="bg-white" style="height: 180rpx;"> <view class="text-xl bg-white margin-left-lg" style="font-weight: 800;">水浒烤肉<text class="cuIcon-right"></text></view> <view class="

2022-05-25 18:32:09 800

原创 微信小程序实现双级联动菜单

设计点餐平台的时候,难免会遇到如图所示情况,当滑动右侧菜品的时候,左侧类别也会随着右侧的变化而变化;当点击左侧的类别,右侧也会跳转到相应类别的菜品。具体实现方法如下:WXML展示,此处使用的是Color UI<scroll-view scroll-y style="height: 100%;"> <view class="VerticalBox" style="margin-top: 35rpx;"> <scroll-view class="Ver

2022-05-25 18:19:12 2373 2

原创 微信小程序之消息订阅

JavaScript代码 wx.requestSubscribeMessage({ tmplIds: ['xxxxxxxxxxxxxxxxxxxxxxxxxx'], success (res) { console.log('同意推送',res) wx.cloud.callFunction({ name:'send_finish',

2022-05-25 17:55:43 91

原创 Selenium实现自动做题(MongoDB版)

通过selenium实现自动做题,摆烂学生专用1. 安装selenium等一系列初始环境的配置https://blog.csdn.net/hit_Gwy/article/details/89455215from selenium.webdriver import Keysfrom selenium import webdriverfrom selenium.webdriver.common.by import Byimport pymongoclient = pymongo.MongoClie

2022-05-19 13:43:17 944

原创 Selenium实现QQ空间说说自动点赞

刚自学完selenium,感觉这么技术还是挺有意思的,话不多说直接开整import timefrom selenium.webdriver import Keysfrom selenium import webdriverfrom selenium.webdriver.common.by import Byurl = 'https://qzone.qq.com/'driver = webdriver.Chrome()driver.get(url)time.sleep(1)driver.

2022-05-19 12:06:11 513

原创 使用Gin框架和sqlx实现一下 Golang MVC

浅浅尝试一下Golang MVC,实现解耦合1.Util包–>connect.go用于连接数据库package Utilimport ( "fmt" _ "github.com/jinzhu/gorm/dialects/mysql"//一定要导入这个呀! "github.com/jmoiron/sqlx" "time")var db *sqlx.DBfunc Connect() *sqlx.DB{ db, err := sqlx.Connect("mysql", "root:

2022-05-18 20:57:36 708

原创 Golang-sqlx

初始化数据库import ( "fmt" _ "github.com/go-sql-driver/mysql" "github.com/jmoiron/sqlx" _ "github.com/jmoiron/sqlx" "time")type Text struct { Question string `db:"question"` Answer string `db:"answer"` OptionA string `db:"optionA"` OptionB string `db

2022-05-17 23:04:21 650

原创 Golang-orm

导入import ( "github.com/jinzhu/gorm" _ "github.com/jinzhu/gorm/dialects/mysql")连接mysql连接形式:user:password@(localhost)/dbname?charset=utf8mb4&parseTime=True&loc=Local db, err := gorm.Open("mysql", "root@(127.0.0.1)/music?charset=utf8mb4&

2022-05-17 22:18:45 241

原创 Golang-gin

1. gin基础package mainimport ( "github.com/gin-gonic/gin")func main() { // 创建一个默认的路由引擎 r := gin.Default() // GET:请求方式;/hello:请求的路径 // 当客户端以GET方法请求/hello路径时,会执行后面的匿名函数 r.GET("/hello", func(c *gin.Context) { // c.JSON:返回JSON格式的数据 c.JSON(200, gi

2022-05-17 22:14:41 294

原创 快速搭建SpringBoot项目

##基础配置#####1.pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apa

2022-05-17 21:51:59 124

阿里大鱼资料操作详细包含代码

阿里大鱼资料操作详细包含代码

2022-10-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除