- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 centos之lnmp
再安装之前大家可以先看一下lamp的安装过程http://blog.csdn.net/zph1234/article/details/512481241.安装nginxyum install yum-priorities -ywget http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos
2016-04-26 15:23:25 5709
原创 centos7之lamp环境搭建
一、配置防火墙CentOS 7.0默认使用的是firewall作为防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动
2016-04-26 09:59:39 12267 6
原创 装箱子
老板有1000个苹果,却只有10个箱子,客户给老板除了一个难题,说如果老板把题解开就把1000个苹果全买了,老板说没问题,来吧!我之前是程序员。客户说:“把你现在的1000个苹果全部装进10个箱子(分别为1号、2号.....10号),忽略箱子的容量大小,每个箱子都要装苹果,装几个你自己定,我要买几个苹果,你就告诉我,把几号,几号拿走,就是你要的个数。”,老板说:“呵呵。”
2016-04-25 13:29:55 1755 1
原创 input标签file类型,选择多个文件进行上传
html页面 xhr2 多文件上传 function xhr2(){ var xhr = new XMLHttpRequest();//第一步 //定义表单变量 var file = document.getElementById('file').files; //console.log(file.l
2016-04-19 14:33:24 17916 1
原创 调用http://apistore.baidu.com网站的接口
调用http://apistore.baidu.com网站的接口curl方式$ch = curl_init();$url = 'http://apis.baidu.com/chazhao/ipsearch/ipsearch?ip=114.114.114.114';$header = array( 'apikey: your_baidu_appkey',);// 添加api
2016-04-15 15:35:43 3025
原创 excel的导入导出
导出header("Content-type:application/vnd.ms-excel");header("Content-Disposition:attachment;filename=123.xls");$array=$this->db->get("shop_address")->result_array();$str = "Id\tName\tPid\n";foreac
2016-04-05 11:27:01 1235
原创 nodejs群聊和私聊
先安装nodejs服务器代码var app = require('http').createServer(handler)var io = require('socket.io')(app);var fs = require('fs');app.listen(83);function handler (req, res) { fs.readFile(__dirname + '
2016-04-04 22:25:13 2119 1
天天生鲜html_images.zip
2018-09-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人