感冒的梵高 的文章
-
mysql id位数不够前面补0
1,前面补零 LPAD(str,len,padstr) select LPAD(‘1’, 8, 0) 结果为 00000001 2.后面补0 RPAD(str,len,padstr) select RPAD(‘1’, 8, 0) 结果为10000000 '1'换为…… -
VirtualBox6.0 安装centos网络配置
背景资料 VirtualBox中有4中网络连接方式: 1. NAT 2. Bridged Adapter 3. Internal 4. Host-only Adapter VMWare中有三种,其实他跟VMWare …… -
ShockHosting新增日本/新加坡机房:1核2G/30GB SSD/1TB流量/1Gbps/4.99美元/月,支持支付宝
ShockHosting一口气又在亚洲上线日本机房和新加坡机房,和之前的美国洛杉矶、达拉斯、新泽西、丹佛、芝加哥、杰克逊维尔、荷兰、英国、澳大利亚机房配置一样,…… -
-
java json字符串转对象
调用方法fromJson() package cn.enilu.flash.utils; import cn.enilu.flash.bean.entity.system.User; import com.fasterxml.jackson.annotation.JsonInclude;…… -
CentOS安装 Zsh + Oh My Zsh
安装Oh My ZSH sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 或者 sh -c "$(wget https://raw.github.com/ohmyzsh…… -
-
-
随机分牌并排序
斗地主随机分牌并排序 import random def brand(): """ 产生 54 张牌 随机分成4份[17,17,17,3] :return: 随机分成4份的值 """ brand_1 = …… -
java基础训练Day1
1、List、Set、Map是否都继承自collection接口? 答:不是。 题解: 2、下面返回true的是? public class Square { long width; public Square(long……
友情链接

