<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[yuchen56的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/yuchen56</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; yuchen56]]></copyright><item><title><![CDATA[Spring面试整理]]></title><link>https://blog.csdn.net/yuchen56/article/details/131430661</link><guid>https://blog.csdn.net/yuchen56/article/details/131430661</guid><author>yuchen56</author><pubDate>Wed, 28 Jun 2023 09:56:30 +0800</pubDate><description><![CDATA[很多人会对比JDK和CGLIB的性能,JDK动态代理生成类速度快调用慢,CGLIB生成类速度慢但调用快,在老版本CGLIB的速度是JDK速度的10倍左右,但是实际上JDK的速度在版本升级的时候每次都提高很多性能,而CGLIB仍止步不前.AOP,一般称为面向切面编程,用于那些与业务无关,但对多个对象产生影响的公共行为和逻辑,抽取并封装为一个可重用的模块,这个模块被命名为切面,减少系统中重复代码,降低了模块的耦合度,同时提高了系统的可维护性.18、什么是bean装配?什么是bean的自动装配?]]></description><category></category></item><item><title><![CDATA[Nginx面试整理]]></title><link>https://blog.csdn.net/yuchen56/article/details/131420690</link><guid>https://blog.csdn.net/yuchen56/article/details/131420690</guid><author>yuchen56</author><pubDate>Tue, 27 Jun 2023 16:50:10 +0800</pubDate><description><![CDATA[当客户端与Nginx进行了三次握手，与Nginx建立好一个连接后，这时某个子进程会接收成功，然后创建Nginx对连接的封装，即nginx_connection_t结构体，接着，根据事件调用相应的事件处理模块，如http模块与客户端进行数据交换，最后，Nginx或客户端主动关掉连接，到此，一个连接就寿终正寝了。这个时候，客户端就可以向Nginx发起连接了。1）保护了真实的web服务器，web服务器对外不可见，外网只能看到反向代理服务器，而反向代理服务器上并没有真实数据，因此，保证了web服务器的资源安全。]]></description><category></category></item><item><title><![CDATA[Redis常用命令与数据类型]]></title><link>https://blog.csdn.net/yuchen56/article/details/127419930</link><guid>https://blog.csdn.net/yuchen56/article/details/127419930</guid><author>yuchen56</author><pubDate>Thu, 20 Oct 2022 09:27:15 +0800</pubDate><description><![CDATA[Redis常用命令与数据类型]]></description><category></category></item><item><title><![CDATA[帆软 FCJA 2022]]></title><link>https://blog.csdn.net/yuchen56/article/details/123816810</link><guid>https://blog.csdn.net/yuchen56/article/details/123816810</guid><author>yuchen56</author><pubDate>Tue, 29 Mar 2022 11:50:32 +0800</pubDate><description><![CDATA[帆软 FCJA]]></description><category></category></item><item><title><![CDATA[MySql数据库文件迁移]]></title><link>https://blog.csdn.net/yuchen56/article/details/89381139</link><guid>https://blog.csdn.net/yuchen56/article/details/89381139</guid><author>yuchen56</author><pubDate>Thu, 18 Apr 2019 16:07:33 +0800</pubDate><description><![CDATA[一、CentOS7配置
IP地址设置-参考：
https://www.cnblogs.com/yhongji/p/9336247.htm
打开关闭防火墙与端口-参考：
https://www.cnblogs.com/moxiaoan/p/5683743.html
二、安装MySQL 5.6
安装wget
yum -y install wget
安装MySql-参考：
https://blog.cs...]]></description><category></category></item><item><title><![CDATA[PHP Win7-64 环境搭建（PhpStorm + Apache24 + PHP56 + MySql + phpMyAdmin + xdebug）]]></title><link>https://blog.csdn.net/yuchen56/article/details/80454603</link><guid>https://blog.csdn.net/yuchen56/article/details/80454603</guid><author>yuchen56</author><pubDate>Fri, 25 May 2018 17:21:55 +0800</pubDate><description><![CDATA[PhpStorm + Apache24 + PHP56 + MySql  + phpMyAdmin + xdebug

前期准备： 
1、PhpStorm 
http://www.sdifenzhou.com/phpstorm20162.html 
破解版

2、Apache24 
https://www.apachelounge.com/download/ 
需要下载对应的VC，根据提示度娘下载...]]></description><category></category></item><item><title><![CDATA[自定义Notification]]></title><link>https://blog.csdn.net/yuchen56/article/details/53018545</link><guid>https://blog.csdn.net/yuchen56/article/details/53018545</guid><author>yuchen56</author><pubDate>Thu, 03 Nov 2016 09:56:23 +0800</pubDate><description><![CDATA[可以通过Notification.Builder.setContent方法自定义Notification。setContent方法的原型如下：
public Builder setContent(RemoteViews views); RemoteViews 是一种视图容器，只是这种视图容器支持的视图有限，目前RemoteViews 只支持布局和控件：
 布局：
FrameLayout、Linear]]></description><category></category></item><item><title><![CDATA[TextView的高级用法]]></title><link>https://blog.csdn.net/yuchen56/article/details/53005242</link><guid>https://blog.csdn.net/yuchen56/article/details/53005242</guid><author>yuchen56</author><pubDate>Wed, 02 Nov 2016 10:26:14 +0800</pubDate><description><![CDATA[private void initView() {
//        字符串占位符
        TextView txt01 = (TextView) findViewById(R.id.txt01);
        txt01.setText(Html.fromHtml(String.format(getResources().getString(R.string.txt001), "张三]]></description><category></category></item><item><title><![CDATA[根据资源ID名获取ID值]]></title><link>https://blog.csdn.net/yuchen56/article/details/53004919</link><guid>https://blog.csdn.net/yuchen56/article/details/53004919</guid><author>yuchen56</author><pubDate>Wed, 02 Nov 2016 09:59:22 +0800</pubDate><description><![CDATA[/**
     * 根据资源ID名获取ID值
     * 利用Java反射机制从 R.drawable 类中获取资源ID
     * @param name
     * @return
     */
    private int getResId(String name){
        try {
            //根据资源ID名获取Filed对象]]></description><category></category></item><item><title><![CDATA[Activity XML 属性详解]]></title><link>https://blog.csdn.net/yuchen56/article/details/52984022</link><guid>https://blog.csdn.net/yuchen56/article/details/52984022</guid><author>yuchen56</author><pubDate>Mon, 31 Oct 2016 17:13:26 +0800</pubDate><description><![CDATA[android:screenOrientation

屏幕方向切换



android:configChanges

阻止Activity销毁和重建



android:enabled

允许Activity被实例化



android:excludeFromRecents

在最近应用列表中显示



android:exported

]]></description><category></category></item><item><title><![CDATA[如何定义BaseActivity与设定TitleBar]]></title><link>https://blog.csdn.net/yuchen56/article/details/52982525</link><guid>https://blog.csdn.net/yuchen56/article/details/52982525</guid><author>yuchen56</author><pubDate>Mon, 31 Oct 2016 15:03:39 +0800</pubDate><description><![CDATA[如何定义BaseActivity与设定TitleBar]]></description><category></category></item><item><title><![CDATA[封装 SharedPreferences]]></title><link>https://blog.csdn.net/yuchen56/article/details/52982390</link><guid>https://blog.csdn.net/yuchen56/article/details/52982390</guid><author>yuchen56</author><pubDate>Mon, 31 Oct 2016 14:51:52 +0800</pubDate><description><![CDATA[SharedPreferences]]></description><category></category></item><item><title><![CDATA[自定义RatingBar，五星评论]]></title><link>https://blog.csdn.net/yuchen56/article/details/52872622</link><guid>https://blog.csdn.net/yuchen56/article/details/52872622</guid><author>yuchen56</author><pubDate>Thu, 20 Oct 2016 14:53:49 +0800</pubDate><description><![CDATA[效果图： 
rating_bar.xml<?xml version="1.0" encoding="utf-8"?>
<!--suppress ALL -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:id="@+android:id/background"]]></description><category></category></item><item><title><![CDATA[修改Zookeeper日志输出路径，并按照日期输出]]></title><link>https://blog.csdn.net/yuchen56/article/details/52414240</link><guid>https://blog.csdn.net/yuchen56/article/details/52414240</guid><author>yuchen56</author><pubDate>Fri, 02 Sep 2016 15:20:11 +0800</pubDate><description><![CDATA[1、修改log4j.properties

vi /opt/zookeeper-3.4.8/conf/log4j.properties
# Define some default values that can be overridden by system properties
zookeeper.root.logger=INFO,ROLLINGFILE
zookeeper.con]]></description><category></category></item><item><title><![CDATA[Storm入门教程：构建Topology]]></title><link>https://blog.csdn.net/yuchen56/article/details/52172539</link><guid>https://blog.csdn.net/yuchen56/article/details/52172539</guid><author>yuchen56</author><pubDate>Wed, 10 Aug 2016 15:57:29 +0800</pubDate><description><![CDATA[原文


一、Storm基本概念

在运行一个Storm任务之前，需要了解一些概念：


Topologies
Streams
Spouts
Bolts
Stream groupings
Reliability
Tasks
Workers
Configuration

Storm集群和Hadoop集群表面上看很类似。但是Hadoop上运行的是MapReduce ]]></description><category></category></item><item><title><![CDATA[Android 、Java 验证二代身份证号码是否正确]]></title><link>https://blog.csdn.net/yuchen56/article/details/51789156</link><guid>https://blog.csdn.net/yuchen56/article/details/51789156</guid><author>yuchen56</author><pubDate>Thu, 30 Jun 2016 11:46:49 +0800</pubDate><description><![CDATA[额~直接贴代码吧~当个工具类 
已经验证过，包括尾字母是X（注意大写）的身份证号码。可放心使用。送一个限制Edittext只输入身份证号包含的字符            @Override
            public int getInputType() {
                return android.text.InputType.TYPE_CLASS_PHONE;]]></description><category></category></item><item><title><![CDATA[自定义Loading Dialog，图片（仿美团）、GIF图片加载两种方式]]></title><link>https://blog.csdn.net/yuchen56/article/details/51383394</link><guid>https://blog.csdn.net/yuchen56/article/details/51383394</guid><author>yuchen56</author><pubDate>Thu, 12 May 2016 13:31:10 +0800</pubDate><description><![CDATA[整理了一下网上的 Loading Dialog， 
一个仿造美团的，还有一个是直接加载gif动态图片的。 
MainActivity.javaimport android.app.Activity;
import android.os.Bundle;
import android.view.View;import com.example.loading.R;public class MainActi]]></description><category></category></item><item><title><![CDATA[根据二代身份证号码判断年龄]]></title><link>https://blog.csdn.net/yuchen56/article/details/51375255</link><guid>https://blog.csdn.net/yuchen56/article/details/51375255</guid><author>yuchen56</author><pubDate>Wed, 11 May 2016 15:55:23 +0800</pubDate><description><![CDATA[/**
 * 根据二代身份证号码判断用户年龄
 * @param idCardNum
 * @return
 */
@SuppressLint("SimpleDateFormat")
public static boolean ageParse(String idCardNum){
    boolean state = false;
    try {
        String dates =]]></description><category></category></item><item><title><![CDATA[SHA256加密，MD5加密]]></title><link>https://blog.csdn.net/yuchen56/article/details/51375193</link><guid>https://blog.csdn.net/yuchen56/article/details/51375193</guid><author>yuchen56</author><pubDate>Wed, 11 May 2016 15:50:52 +0800</pubDate><description><![CDATA[MD5加密/**
 * 描述：MD5加密.
 * @param str 要加密的字符串
 * @return String 加密的字符串
 */
public static String MD5(String str) {
    char hexDigits[] = { // 用来将字节转换成 16 进制表示的字符
    '0', '1', '2', '3', '4', '5', '6', '7]]></description><category></category></item><item><title><![CDATA[SDK封装，资源转换器 用于代替R]]></title><link>https://blog.csdn.net/yuchen56/article/details/51373214</link><guid>https://blog.csdn.net/yuchen56/article/details/51373214</guid><author>yuchen56</author><pubDate>Wed, 11 May 2016 11:45:51 +0800</pubDate><description><![CDATA[最近在做SDK封装的相关工作，大的方向有两种用Eclispe和AS。 
1）Eclipse封装： 
可以先把.java文件提取出来打成jar包，然后再把资源文件提取出来copy到要用的工程中。类似友盟等sdk的封装那样。 
2）AS封装： 
把需要封装成SDK的项目打成AAR包，这个包不同于jar包。相当于整个工程打成包。然后在需要使用的工程直接饮用aar包即可。Eclipse封装比较麻烦一些。尤其]]></description><category></category></item></channel></rss>