<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[hellorongs的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/hellorongs</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; hellorongs]]></copyright><item><title><![CDATA[linux环境erlang安装]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/107721604</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/107721604</guid><author>hellorongs</author><pubDate>Fri, 31 Jul 2020 21:23:52 +0800</pubDate><description><![CDATA[1.安装Erlang环境
安装GCC GCC-C++ Openssl等模块,安装过就不需要安装了
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel
2.安装ncurses
yum -y install ncurses-devel
3.安装erlang环境
wget http://erlang.org/download/otp_src_18.2.1.tar.gz
在linux环境可能因为网速问题,中途会下载失]]></description><category></category></item><item><title><![CDATA[MYSQL中varchar(10)和int(10)的区别]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/96137979</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/96137979</guid><author>hellorongs</author><pubDate>Tue, 16 Jul 2019 15:11:56 +0800</pubDate><description><![CDATA[工作中使用mysql数据库难免进行数据库表设计，经常使用varchar int类型来存储字符串，整型数据，但是在设计表上一直不清楚括号中的数字代表什么含义，网上搜了下文章，并亲自试验了下，清楚了其中的含义以及区别。

varchar(10)中的10代表字符串最长宽度为10，存进库里的字符串长度超过10将报错无法进行存储

int(10)。。存储为int类型，占4个字节，非负存值为0到2的32次方...]]></description><category></category></item><item><title><![CDATA[i++和++i的区别以及使用中的问题]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/94002114</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/94002114</guid><author>hellorongs</author><pubDate>Fri, 28 Jun 2019 14:49:40 +0800</pubDate><description><![CDATA[许多程序员在开发中经常会用到for循环做加一判断，但是实际需要注意i++的问题，如下代码
以上查程序打印内容为0
代码说明，i++运算，先赋值然后再+1所以
count+count++
即先将count的值赋给count此时count的值为0
赋值后依然是0
所以运行完后打印的仍旧是0
如果将count++换做++count打印的就是10

...]]></description><category></category></item><item><title><![CDATA[类构造器的加载顺序，继承类]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/93906602</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/93906602</guid><author>hellorongs</author><pubDate>Thu, 27 Jun 2019 20:10:05 +0800</pubDate><description><![CDATA[父类

子类

当运行子类main方法时候打印为
(解析):主要考察类，继承，代码块的加载顺序
有继承关系的，在实例化子类的时候需要先加载父类
第一步：加载父类静态，按照顺序加载，第一个为父类的静态属性j，，调用方法method，第一个打印的是(5)
第二步：加载父类的静态代码块，打印的是(1)
-------需要加载子类的静态部分
按照父类的顺序打印顺序依次为
第三步：(10)
第四步：(6)
...]]></description><category></category></item><item><title><![CDATA[HashMap支持null值nul键，HashTable不支持]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/93906402</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/93906402</guid><author>hellorongs</author><pubDate>Thu, 27 Jun 2019 20:08:34 +0800</pubDate><description><![CDATA[##1.从源码分析

HashMap源码



HashMap在put的时候会调用hash()方法来计算key的hashcode值，可以从hash算法中看出当key==null时返回的值为0。因此key为null时，hash算法返回值为0，不会调用key的hashcode方法。

HashTable源码



上面可以看出当HashTable存入的value为null时，抛出NullPointe...]]></description><category></category></item><item><title><![CDATA[JS按钮点击禁用]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/89949020</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/89949020</guid><author>hellorongs</author><pubDate>Wed, 08 May 2019 11:49:46 +0800</pubDate><description><![CDATA[JS按钮点击禁用
/* 以下是CSS样式代码，具体样式按自己需求写 /
.btn_disable {
background-color:#d4d4d4;/ 设置按钮背景颜色为灰色 /
border-color:#d4d4d4;/ 边框线颜色应与背景颜色一致 /
color:#fff;/ 设置字体颜色为白色 */
}


// 直接给你贴Jquery库的代码，实现起来方便一点
$(function(...]]></description><category></category></item><item><title><![CDATA[MYSQL常用]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/88980985</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/88980985</guid><author>hellorongs</author><pubDate>Tue, 02 Apr 2019 20:52:30 +0800</pubDate><description><![CDATA[case  when
使用case  when 相当于java中if条件，在使用中主要注意，case + 条件 then  + 满足条件啊情况  else   then  最后需要用end结束。
比如想要查询产品所在为山东的设置某字段为1,
case when  sc.scenic_province = ‘山东’ then ‘1’  else  ‘0’  end  as  pro，，
**注意:*...]]></description><category></category></item><item><title><![CDATA[关于mysql中delete语句]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/84028846</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/84028846</guid><author>hellorongs</author><pubDate>Tue, 13 Nov 2018 14:52:35 +0800</pubDate><description><![CDATA[实际项目中有时会手动删除一些脏数据，难免使用delete语句，但是在查询的时候一直有给表起别名的习惯，在操作delete的时候开始出现问题，

一开始

DELETE FROM t_user_order o WHERE o.order_code = 990000000执行报错

后面才发现别名必须在前面也要加上，如下是正确的

DELETE o FROM t_user_order o WHERE ...]]></description><category></category></item><item><title><![CDATA[java中url编码解码问题]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/80801780</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/80801780</guid><author>hellorongs</author><pubDate>Mon, 25 Jun 2018 14:50:52 +0800</pubDate><description><![CDATA[在play项目中需要redirect一个url，但是传进来的时候已经编码，play框架会自动将String类型的url解码，所以涉及到url的编码与解码问题，解决如下：一开始没有做处理，自动解码后实际传过来的是http%3A%2F%2Fyantai.bus365.cn%2Fpublic%2Fthirdpart%2Ftripline%2Fticket%2Ftripline-index.htmlurl...]]></description><category></category></item><item><title><![CDATA[java常用数据类型比较大小]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/79248140</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/79248140</guid><author>hellorongs</author><pubDate>Sat, 03 Feb 2018 17:03:57 +0800</pubDate><description><![CDATA[java个数据类型比较大小]]></description><category></category></item><item><title><![CDATA[can not be represented as java.sql.Timestamp]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/78116460</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/78116460</guid><author>hellorongs</author><pubDate>Wed, 27 Sep 2017 19:49:55 +0800</pubDate><description><![CDATA[今天升级项目，启动时报错can not be represented as java.sql.Timestamp使用hibernate开发程序的时候，有的时间字段没有必要填写，但是，以后hibernate查询的时候会报出 
“java.sql.SQLException: Value ‘0000-00-00’ can not be represented as java.sql.Timestamp”]]></description><category></category></item><item><title><![CDATA[paly 框架Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/77145505</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/77145505</guid><author>hellorongs</author><pubDate>Sun, 13 Aug 2017 15:43:16 +0800</pubDate><description><![CDATA[play框架
ERROR: Cannot load this JVM TI agent twice, check your Java command line for duplicate jdwp options]]></description><category></category></item><item><title><![CDATA[简单的sql查询]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/75073095</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/75073095</guid><author>hellorongs</author><pubDate>Thu, 13 Jul 2017 16:09:57 +0800</pubDate><description><![CDATA[一般的工作中不会涉及到太难得sql查询语句，无非是多表关联查询，多表关联主要有三种查询方式 
（一）内连接查询 
内连接查询，是查询出两张表中必然有关联的数据，没有关联的数据不能查询出 
语法：select 字段 from 表1 inner join 表2 on 条件 
示例：查询出商品的信息和商品所属的类别信息 
select * from product p inner join categor]]></description><category></category></item><item><title><![CDATA[Linux常用命令]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/72461419</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/72461419</guid><author>hellorongs</author><pubDate>Thu, 18 May 2017 11:43:28 +0800</pubDate><description><![CDATA[Linux常用命令1.1 操作文件及目录命令 
1.1.1   显示文件和目录列表(list) 
常用参数： 
-l：查看列表详细信息 
-a：查询文件列表并显示隐藏的目录及文件。 
ll：等价于ls -l命令 
1.1.2   pwd 
显示当前目录（print working directory） 
1.1.3   clear 
清屏 
Ctrl+l命令也可以完成清屏操作 
1.1.4   cd]]></description><category></category></item><item><title><![CDATA[linux常用基础命令]]></title><link>https://blog.youkuaiyun.com/hellorongs/article/details/72461389</link><guid>https://blog.youkuaiyun.com/hellorongs/article/details/72461389</guid><author>hellorongs</author><pubDate>Thu, 18 May 2017 11:40:26 +0800</pubDate><description><![CDATA[linux基础命令]]></description><category></category></item></channel></rss>