Wesley13 Wesley13
4年前
Java将WKT格式的Geomotry转换成GeoJSON
一、Meven添加依赖<!引入json处理包<dependency<groupIdcom.alibaba</groupId<artifactIdfastjson</artifactId<version1.2.47</version</depend
Easter79 Easter79
4年前
SpringBoot自定义序列化的使用方式
场景及需求:项目接入了SpringBoot开发,现在需求是服务端接口返回的字段如果为空,那么自动转为空字符串。例如:\    {        "id":1,        "name":null    },    {        "id":2,        "name":"x
Stella981 Stella981
4年前
Pipenv创建和管理虚拟环境报的错
1、pipinstallpipenv安装Pipev时报错是因为我安装有python2和python3两个,选择如下的解决方式:1.python2mpipinstallxxx或者2.python3mpipinstallxxx2、pipenvinstall时出现如下错误:call
Stella981 Stella981
4年前
Git的使用方法与GitHub项目托管方法
Git的安装Windows上安装Git访问网址:https://gitforwindows.github.io/(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgitforwindows.github.io%2F)!(https://osc
Wesley13 Wesley13
4年前
ES6的介绍和常用语法
本文最初发表于博客园,并在GitHub(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fsmyhvae%2FWeb)上持续更新前端的系列文章。欢迎在GitHub上关注我,一起入门和进阶前端。以下是正文。前言ECMAScript
Stella981 Stella981
4年前
Hive 2、Hive 的安装配置(本地MySql模式)
一、前提条件  安装了Zookeeper、Hadoop HDFS HA 安装方法: http://www.cnblogs.com/raphael5200/p/5154325.html(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.cnblogs.com%2Fraph
Stella981 Stella981
4年前
Elasticsearch High Level Rest Client 发起请求的过程分析
本文讨论的是JAVAHighLevelRestClient向ElasticSearch6.3.2发送请求(index操作(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2Fhapjin%2Fp%2F9821073.html)、update、del
Stella981 Stella981
4年前
Django中Admin中的一些参数配置
设置在列表中显示的字段,id为django模型默认的主键list_display('id','name','sex','profession','email','qq','phone','status','create_time')设置在列表可编辑字段list_editable
Wesley13 Wesley13
4年前
Java虚拟机(JVM)中的内存设置详解
在一些规模稍大的应用中,Java虚拟机(JVM)的内存设置尤为重要,想在项目中取得好的效率,GC(垃圾回收)的设置是第一步。PermGenspace:全称是PermanentGenerationspace.就是说是永久保存的区域,用于存放Class和Meta信息,Class在被Load的时候被放入该区域Heapspace:存放Instance。
Wesley13 Wesley13
4年前
MySQL关于用户关注粉丝表的设计方案
一、数据结构分析用户关注粉丝是一个多对多的数据模型,分析对象的数据特征,我们给每个用户设计一个关注者属性和粉丝属性,用于存储用户的关注者id和粉丝id,如用户1:$arr1\'follow''\2,3,4\,'fans'\4,5,6\,\二、用户逻辑关系梳理