大约有 46,100 项符合查询结果(耗时:0.0389秒) [XML]

https://www.tsingfun.com/it/tech/1987.html 

Phpcms v9 实现首页|列表页|内容页点击量调用的代码 - 更多技术 - 清泛网 -...

...{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script></span> 2、主页、列表页获取的方法一样,通过查db获取: {php $db = pc_base::load_model('hits_model'); $_r = $db->get_one(array('hitsid'=>'c-'.$modelid.'-'.$r[id])); $views = $_r[views]; } <td class="hit" align...
https://www.tsingfun.com/it/te... 

linux 通过bind下搭建DNS Server - 更多技术 - 清泛网 - 专注C/C++及内核技术

...用。 cache:缓存服务器。 hint:根DNS internet服务器集。 2.软件安装 #For Debian/Ubuntu apt-get install bind* #For CentOS/Fedora/RedHat yum install bind* 其他的根据自己的功能需要安装相应的安装包。 3.配置 通过以下命令 cat /etc/sysconfig/...
https://www.tsingfun.com/it/tech/2269.html 

单页web应用(SPA)的简单介绍 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...择为以下两种: 1.监听地址栏中hash变化驱动界面变化 2.用pushsate记录浏览器的历史,驱动界面发送变化 如何搭建一个基础的SPA 首先,我们画出三个div,它们实际上是作为三个界面存在界面上的,body作为界面外框容器,...
https://www.tsingfun.com/it/tech/2271.html 

Axure RP 8.0 Mac中文破解版 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... 1.打开dmg镜像,将“Axure RP 8.app”拖入应用程序中; 2.打开应用程序中的“Axure RP 8.app”,点击“Enter license”弹出注册框; 3.打开“key.txt”,将对应序列号填入注册框中; 4.Have done! PS:小子在这里提供了汉化包,大家解...
https://www.tsingfun.com/it/tech/2272.html 

VS编程之查看数组信息 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...,“添加监视”;(可以双击手动修改显示范围) 方法2:可以在上述快速监视窗口,设定好范围,添加监视。 (注:默认数组仅显示第一个值,不显示所有值) VS 调试 数组
https://www.tsingfun.com/it/tech/2285.html 

layer弹窗 绑定回车关闭事件 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...闭事件两种写法,供参考。1、来源:http://fly.layui.com/jie/5202/ layer.open({ title: '回车关闭测试' ,content: '我是内容' ,btn: ['确认','关闭'] ,success: function(layero, index){ this.enterEsc = function(event){ if(event.keyCode === 13){ ...
https://www.tsingfun.com/it/tech/2300.html 

Linux平台编译curl:checking run-time libs availability... failed - 更...

...t link-time are not available run-time. Libs used at link-time: -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -ldl -lz -lldap -lz -lrt 找了一下,这些库都分别在/usr/lib64和/usr/local/lib目录下(libssh2.so在/usr/local/lib目录下,其他的在/usr/lib64), export L...
https://www.tsingfun.com/it/te... 

解决:apache2.service: Failed to run \'start\' task: No such file or d...

解决:apache2.service: Failed to run 'start' task: No such file or directoryapache2-service-failed-to-run-start-task-no-such-file-or-directory今天重启apache2时,出现一个错误:apache2 service: Failed to run & 39;start& 39; task: No such file or directory。原因是:& 39; var tmp& 3...
https://www.tsingfun.com/it/te... 

python添加模块的搜索路径 - 更多技术 - 清泛网 - 专注IT技能提升

... 1、函数添加 import sys sys.path.append("/home/simon/Library") 2、改环境变量 非管理员用户可以修改系统环境变量 PYTHONPATH,修改~/.bashrc文件,添加内容 export PYTHONPATH=/home/simon/Library:$PYTHONPATH 3、增加 .path 文件(推荐) 找到site-pack...
https://www.tsingfun.com/it/te... 

从 svndata 恢复svn服务器仓库 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...如下:1、确认新机器已经安装svnserverapt-get install subversion2、从svndata目录启动svn服务程序svnserve 服务器端备份了svndata,然后需要在一台新机器上还原svn仓库,步骤如下: 1、确认新机器已经安装svnserver apt-get install subversion 2...