safeCheck = false; $dsql->SetLongLink(); $cuserLogin = new userLogin(); $cuserLogin->userID = 1; //获得当前脚本名称,如果你的系统被禁用了$_SERVER变量,请自行更改这个选项 $dedeNowurl... ...
分类:
其他好文 时间:
2016-12-26 18:51:11
阅读次数:
905
file命令可以查看文件的类型 tar类型 .targzip类型 .gz bzip2类型 .bz2zip类型 .zip 如果一个压缩文件由tar命令解压的前提,2个条件1、这个文件必须是由tar打包之后,再压缩的2、tar命令要支持那种格式,能够去调用相应格式解压的(gzip或者bzip2) zip ...
分类:
其他好文 时间:
2016-12-26 18:50:39
阅读次数:
204
缓存更新的套路 更新缓存的Design Pattern有四种:Cache aside,Read through,Write through,Write behind caching Cache Aside Pattern 这是最常用最常用的pattern了,其具体逻辑如下: 失效:应用程序先从cac ...
分类:
其他好文 时间:
2016-12-26 18:49:48
阅读次数:
274
介绍kafka新版本consumer及consumer group ...
分类:
其他好文 时间:
2016-12-26 18:49:10
阅读次数:
802
1,在这个界面按下空格暂停启动,按E键进入操作 2,找到UTF-8,在后面空格后输入init=/bin/sh 然后CHRL+X启动 3进入到这个界面,输入mount -o remount,rw / 4输入passwd、、然后输入新密码。回车。重复输入一次密码,回车。完成 5再输入touch / .a ...
分类:
其他好文 时间:
2016-12-26 18:44:05
阅读次数:
222
centos 查看脚本 #!/bin/bash date >>info.txt echo "本机centos版本为" >>info.txt cat /etc/issue >>info.txt cat /etc/redhat-release >>info.txt rpm -q centos-relea ...
分类:
其他好文 时间:
2016-12-26 18:40:31
阅读次数:
177
1.安装yum,→→→YUM安装 2.输入 yum grouplist 列出yum仓库里的软件组列表,找到GNOME 桌面,复制或记下来 3 输入 yum groupinstall ‘GNOMR 桌面’ 进行安装 输入Y或者可以在上一步的最后加上-y跳过这一步 yum groupinstall XX ...
分类:
其他好文 时间:
2016-12-26 18:38:46
阅读次数:
179
Surround the Trees Problem Description There are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he ...
分类:
其他好文 时间:
2016-12-26 18:40:13
阅读次数:
168
网络的配置:ip address add 192.168.100.2/24 dev eno16777728 发现了没有ifconfig命令,缺少提供这个命令的软件进入光盘的Packages目录,找以net-tools*rpm -ivh net-tools-2.0-0.17.20131004git.e ...
分类:
其他好文 时间:
2016-12-26 18:40:07
阅读次数:
719
原文地址:https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host From 1.4.3 onwards you need to... ...
分类:
其他好文 时间:
2016-12-26 18:38:26
阅读次数:
263
标题1 标题的内容。。。 标题2 标题2的内容 ...
分类:
其他好文 时间:
2016-12-26 18:38:03
阅读次数:
141
关注“ web前端学习部落22群”群号 领取前端免费学习资料及工具! <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>左边导航</title> <style> *{margin:0;padding:0;/*b ...
分类:
其他好文 时间:
2016-12-26 18:36:38
阅读次数:
508
ifconfig ifconfig eth0ifconfig eth0 172.16.191.246 netmask 255.255.255.0 up /etc/sysconfig/network-scripts/ifcfg-eth0 # Advanced Micro Devices [AMD] 7 ...
分类:
其他好文 时间:
2016-12-26 18:36:46
阅读次数:
174
文件/framework/www/post_control.php 26-38行function index_f(){$id = $this->get("id");$pid = $this->get('pid');if(!$id && !$pid){error(P_Lang('未指定项目'),'', ...
分类:
其他好文 时间:
2016-12-26 18:33:49
阅读次数:
318
不多说看例子: 右上侧全选,然后每个栏又有一个栏目全选。 解决办法: onclick="selectSubscibe('zhuanxiang')"函数内传入子类的class即可完成全选反选功能! ...
分类:
其他好文 时间:
2016-12-26 18:34:09
阅读次数:
167
1配置yum ps:详见YUM源设置篇 http://www.cnblogs.com/czkbz/p/5948956.html 2输入yum install ntp -y PS。已安装过无须在意 3进入ntpd的配置文件 vi /etc/ntp.conf 4进行更改 找到蓝色圈内的内容,在前面加上# ...
分类:
其他好文 时间:
2016-12-26 18:32:00
阅读次数:
158