会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
葵儿啊ε≡٩(๑>₃<)۶ 一心向学
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2019年12月21日
类型转换 String——》Char OR Char ——》String
摘要: String转换为char 在Java中将String转换为char是非常简单的。1. 使用String.charAt(index)(返回值为char)可以得到String中某一指定位置的char。2. 使用String.toCharArray()(返回值为char[])可以得到将包含整个Strin
阅读全文
posted @ 2019-12-21 11:09 葵儿啊
阅读(801)
评论(0)
推荐(0)
2019年12月20日
Mac Brew 安装及配置
摘要: mac 终端下,执行以下命令,即可安装brew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 在终端环境下,brew --version 查看br
阅读全文
posted @ 2019-12-20 12:18 葵儿啊
阅读(8364)
评论(0)
推荐(0)
2019年12月18日
SwitchGame---MybatisPLus
摘要: //实体类package com.example.spring.entity;import cn.afterturn.easypoi.excel.annotation.Excel;import cn.afterturn.easypoi.excel.annotation.ExcelTarget;imp
阅读全文
posted @ 2019-12-18 17:58 葵儿啊
阅读(224)
评论(0)
推荐(0)
MP构造器
摘要: 官方文档:https://baomidou.gitee.io/mybatis-plus-doc/#/wrapper 实体包装器,用于处理 sql 拼接,排序,实体参数查询等! 补充说明: 使用的是数据库字段,不是Java属性! 实体包装器 EntityWrapper 继承 Wrapper 简单示例翻
阅读全文
posted @ 2019-12-18 10:46 葵儿啊
阅读(382)
评论(0)
推荐(0)
2019年12月17日
AJAX
摘要: AJAX 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。 3.timeout: 要求为Numb
阅读全文
posted @ 2019-12-17 09:59 葵儿啊
阅读(108)
评论(0)
推荐(0)
2019年12月14日
生成Uuid工具类
摘要: package com.freeter.util;import java.util.UUID;/** * @author liuqi * **/public class Uuid{ public static void getUuid(){ String uuid=UUID.randomUUID()
阅读全文
posted @ 2019-12-14 17:41 葵儿啊
阅读(417)
评论(0)
推荐(0)
水印图片,文字
摘要: package com.freeter.util;import com.sun.image.codec.jpeg.JPEGCodec;import com.sun.image.codec.jpeg.JPEGImageEncoder;import javax.imageio.ImageIO;impor
阅读全文
posted @ 2019-12-14 17:35 葵儿啊
阅读(205)
评论(0)
推荐(0)
图片水印
摘要: package com.freeter.util;import com.sun.image.codec.jpeg.JPEGCodec;import com.sun.image.codec.jpeg.JPEGEncodeParam;import com.sun.image.codec.jpeg.JPE
阅读全文
posted @ 2019-12-14 17:33 葵儿啊
阅读(192)
评论(0)
推荐(0)
2019年11月14日
有声小说
摘要: import requests# 定义页数page = 1# 书籍信息start_url = 'https://www.ximalaya.com/revision/category/queryCategoryPageAlbums?category=youshengshu&subcategory=ya
阅读全文
posted @ 2019-11-14 09:13 葵儿啊
阅读(238)
评论(0)
推荐(0)
2019年11月8日
最简单的爬虫——小白
摘要: import requestsfrom lxml import etreeimport os#页数page = 0#统计图片数量num = 1#网址链接start_url = "http://pic.netbian.com/index_{}.html"#1——1169页实际少一页for page i
阅读全文
posted @ 2019-11-08 16:32 葵儿啊
阅读(187)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告
/*粒子线条,鼠标移动会以鼠标为中心吸附的特效*/