<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[TendaRouter的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/tendarouter</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; tendarouter]]></copyright><item><title><![CDATA[MySql-8.0.34 CentOS 安装命令记录]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/132423058</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/132423058</guid><author>tendarouter</author><pubDate>Tue, 22 Aug 2023 10:53:12 +0800</pubDate><description><![CDATA[1、执行以下命令获取 glibc 版本，根据版本下载相应的MySQL安装包。8、将MySQl加入服务并设置开机启动。6、将MySQL程序目录加到环境变量。5、新增MySQL用户并赋予权限。2、下载MySQL。4、移动MySQL文件。9、启动MySQL服务。]]></description><category></category></item><item><title><![CDATA[php 判断身份证号是否正确]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/124177805</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/124177805</guid><author>tendarouter</author><pubDate>Thu, 14 Apr 2022 17:49:09 +0800</pubDate><description><![CDATA[public function validateIDCard($idcard) {
        if(empty($idcard)){
            return '错误身份证';
        }else{
            $idcard = strtoupper($idcard); # 如果是小写x,转化为大写X
            if(strlen($idcard) != 18 &amp;&amp; strlen($idcard) != 15){
           .]]></description><category></category></item><item><title><![CDATA[代码开发复制到Git目录]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/119371612</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/119371612</guid><author>tendarouter</author><pubDate>Wed, 04 Aug 2021 07:24:25 +0800</pubDate><description><![CDATA[#!/usr/bin/env bash 

DEV_BASE=/data/src
GIT_BASE=/mnt/des

inotifywait -mrq -e create,move,delete,modify $DEV_BASE | while read path event file;do
  php -f /data/cmd/copy_dev.php "$path" "$event" "$file" "$DEV_BASE" "$GIT_BASE"
done


&lt;?php

echo date.]]></description><category></category></item><item><title><![CDATA[开发Git命令集]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/119331626</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/119331626</guid><author>tendarouter</author><pubDate>Mon, 02 Aug 2021 18:46:50 +0800</pubDate><description><![CDATA[#!/usr/bin/env bash 

OLD_BASE=$(pwd)

GIT_BASE=/mnt/mwadmin-tp/admin-model-curd
cd $GIT_BASE
git_status=$(git status)
git_bot_need_commit="nothing to commit, working directory clean"

if [[ $git_status == *$git_bot_need_commit* ]]
then
    echo "$GIT_BAS.]]></description><category></category></item><item><title><![CDATA[2020-12-22 日记]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/111503385</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/111503385</guid><author>tendarouter</author><pubDate>Tue, 22 Dec 2020 00:39:25 +0800</pubDate><description><![CDATA[最近一段时间一直处于一个混沌、矛盾的状态。尚不能深究其原因，大概因为以下几点：

1、结了婚生了娃，经济上的压力大了些。从我内心深处想多赚点银子补贴家用，或许这是初衷。

2、成立了一个小公司，需要考虑拓展业务，需要考虑结构设计，当然如果要招人还要考虑人员管理。这些都是之前没有深入接触实践的深坑。

3、自身年龄也比较大（才32[]捂脸哭），单纯写程序的激情已经没有多少了。还是想多拓展一下发展空间。

以上几个原因是混沌思维的产生深入原因。表面原因大概因为以下几点：

1、自己眼高手低。

2、自己的学习知]]></description><category></category></item><item><title><![CDATA[对字符串进行正则表达式归纳]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/110131591</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/110131591</guid><author>tendarouter</author><pubDate>Wed, 25 Nov 2020 15:17:33 +0800</pubDate><description><![CDATA[function getNames($names){

    foreach ($names as $key =&gt; $name) {
        $ysname = $name;

        $name = str_replace('）',')', $name);
        $name = str_replace('（','(', $name);    
        $name = str_replace('　',' ', $name);
        $name = tr..]]></description><category></category></item><item><title><![CDATA[php 3des 用openssl 代替 mcrypt]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/103814050</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/103814050</guid><author>tendarouter</author><pubDate>Fri, 03 Jan 2020 06:51:45 +0800</pubDate><description><![CDATA[mcrypt实现方式



function decrypt($key, $encrypted_data)
{
    $encrypted_data = hex2bin($encrypted_data);
    $td             = mcrypt_module_open('tripledes', '', 'ecb', '');
    $iv             = mcr...]]></description><category></category></item><item><title><![CDATA[nginx下用openssl生成ssl证书配置相关记录]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/88591039</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/88591039</guid><author>tendarouter</author><pubDate>Sat, 16 Mar 2019 11:53:04 +0800</pubDate><description><![CDATA[关键词: nginx https ssl openssl 证书 chrome 不安全

第一步 先生成ca证书 加密方式 -sha256

第二步 生成server证书 -sha256

参考链接:

http://www.webkaka.com/tutorial/server/2017/040516/

https://blog.youkuaiyun.com/gengxiaoming7/article/de...]]></description><category></category></item><item><title><![CDATA[PHP CURL FTP 删除文件]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/74737259</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/74737259</guid><author>tendarouter</author><pubDate>Fri, 07 Jul 2017 16:36:37 +0800</pubDate><description><![CDATA[$server = 'ftps.****.net';
	$ftp_server = 'ftps://'.$server.':21/'.$filename; 
	
	echo $ftp_server."\n";
	
	$ch = curl_init(); 
	
	curl_setopt($ch, CURLOPT_URL, $ftp_server);
	curl_setopt($ch, CURLOPT]]></description><category></category></item><item><title><![CDATA[thinkphp 自动完成在自动验证unique时失效的解决方法]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/62887568</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/62887568</guid><author>tendarouter</author><pubDate>Fri, 17 Mar 2017 14:29:29 +0800</pubDate><description><![CDATA[在Model类文件中_validationFieldItem方法里面 unique验证时修改代码如下：


$_this = clone $this;
				
if($_this->where($map)->find())   return false;]]></description><category></category></item><item><title><![CDATA[php获取昨天、本周、上周、本月、上个月、近三个月时间点]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/17483401</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/17483401</guid><author>tendarouter</author><pubDate>Sun, 22 Dec 2013 12:05:39 +0800</pubDate><description><![CDATA[starttime="" endtime=""  昨天
starttime="" endtime=""    本周
starttime="" endtime=""    上周
starttime="" endtime=""   本月
starttime="" endtime=""   近三个月]]></description><category></category></item><item><title><![CDATA[php+Imagick 对psd文件的操作]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/8787328</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/8787328</guid><author>tendarouter</author><pubDate>Thu, 11 Apr 2013 11:33:07 +0800</pubDate><description><![CDATA[参考资料:
http://www.php.net/manual/zh/book.imagick.php

前提

$im = new Imagick("test.psd");

获取图层数目

 $num_layers = $im->getNumberImages();

获取所有参数:
for ($i = 0, $num_layers = $im->getNumberIm]]></description><category></category></item><item><title><![CDATA[求余数的妙用]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/8762043</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/8762043</guid><author>tendarouter</author><pubDate>Fri, 05 Apr 2013 18:11:17 +0800</pubDate><description><![CDATA[今天写一个循环 从0到4 如果到5了则变成0用的下面的语句 next = next + 1;

if(next == 5)
{
next = 0;
}

想了想用余数吧



next =  (next + 1) % 5;]]></description><category></category></item><item><title><![CDATA[网上抢票软件]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/8530051</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/8530051</guid><author>tendarouter</author><pubDate>Tue, 22 Jan 2013 15:06:40 +0800</pubDate><description><![CDATA[现在一直在玩一款网游，在搜“作弊”工具的时候 认识了greasemonkey这个神器，后来在很多不是自己的网站，却需要重复操作的时候，都会祭出greasemonkey来动动代码。


想想如果自己要买火车票，我或许也会开发一个自动买票的插件来。


如果铁道部把火车票先放到车站窗口卖，过一段时间再放到网上。省事不少。]]></description><category></category></item><item><title><![CDATA[php+iis include]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/6976767</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/6976767</guid><author>tendarouter</author><pubDate>Wed, 16 Nov 2011 14:02:11 +0800</pubDate><description><![CDATA[见鬼了
 include("sess.php"); 
 同目录下有个sess.php文件
 在子目录里面也有个sess.php
 为啥两个文件轮换着引用 
 如果用include("../sess.php"); 这样就会引用同目录下的sess.php文件  
 但是十次刷新有三、四次提示找不到该文件]]></description><category></category></item><item><title><![CDATA[java jdk  卸载 清理 不干净]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/6900017</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/6900017</guid><author>tendarouter</author><pubDate>Mon, 24 Oct 2011 11:14:41 +0800</pubDate><description><![CDATA[关键词：JAVA JDK JRE 卸载 清理 不干净 彻底
 
因为在删除JDK的时候没有用添加删除程序这个步骤，而是直接删除文件夹，导致再次安装JDk的时候提示已经安装。
 
利用微软提供的工具删除JDK即可:
 
Windows安装文件清理工具 Windows Installer CleanU
 
windows 清理工具地址：http://down.tech.sina.com]]></description><category></category></item><item><title><![CDATA[MySql数据库优化笔记(一)]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/6836796</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/6836796</guid><author>tendarouter</author><pubDate>Fri, 30 Sep 2011 11:31:43 +0800</pubDate><description><![CDATA[关键词：MySQL  数据库 优化 访问慢 Discuz! Apache ab web压力测试
 
新配置了一个discuz论坛，数据库也是新安装，对my.ini没有进行过任何设置。
用ab测试。
ab -c 100 -n 1000 http://localhost/fo]]></description><category></category></item><item><title><![CDATA[discuzx 审核与否，我的解决方法]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/6768526</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/6768526</guid><author>tendarouter</author><pubDate>Mon, 12 Sep 2011 09:47:50 +0800</pubDate><description><![CDATA[关键字：
Discuz x1.5  Discuz x2 实名验证 实名 审核 发帖审核 认证 判断
 
首先根据审核与否设置版块默认是否审核，如果审核的多，那就默认设置审核，反之设置不审核。
而后在post模块启用时，进行认证判断，在此临时干预Discuz版块设置。]]></description><category></category></item><item><title><![CDATA[MySQL 按照字母搜索数据库]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/6741825</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/6741825</guid><author>tendarouter</author><pubDate>Fri, 02 Sep 2011 09:41:12 +0800</pubDate><description><![CDATA[搜索首字母为a的语句
 SELECT test
FROM `test` 
WHERE hex( left( 中文字段, 1 ) ) >= 'B0A1'
AND hex( left( 中文字段 , 1 ) ) 
 
下面为参考资料。

 if @v>=0xB0A1]]></description><category></category></item><item><title><![CDATA[右下角弹出框代码 网页特效 代码 html js]]></title><link>https://blog.youkuaiyun.com/tendarouter/article/details/6408065</link><guid>https://blog.youkuaiyun.com/tendarouter/article/details/6408065</guid><author>tendarouter</author><pubDate>Tue, 10 May 2011 00:20:00 +0800</pubDate><description><![CDATA[实现了自动弹出并自动消失。右下角弹出框]]></description><category></category></item></channel></rss>