07 2017 档案

Git 命令及git服务器
摘要:Linux 服务器上安装git yum -y install git git config --global user.name "name" git config --global user.email "email" globa 参数表示这台机器上所有仓库都会使用这个配置,当然也可以对指定仓库使 阅读全文

posted @ 2017-07-31 10:03 思此狂 阅读(234) 评论(0) 推荐(0) 编辑

一个分页功能的实现
摘要:依赖layui 链接: http://www.layui.com/demo/laypage.html 阅读全文

posted @ 2017-07-27 14:44 思此狂 阅读(161) 评论(0) 推荐(0) 编辑

SSE(Server-Sent Events)
摘要:来源 http://www.ruanyifeng.com/blog/2017/05/server-sent_events.html HTTP 无法做到服务端主动推送消息,但是有一种变通方法,就是服务器向客户端生命,接下来要发送的是流信息(streaming) 也就是说,发送的不是一次性的数据包,而是 阅读全文

posted @ 2017-07-22 14:30 思此狂 阅读(382) 评论(0) 推荐(0) 编辑

qq上网正常浏览器上不了网
摘要:IE 浏览器 ==> internet 选项 == > 连接 ==> 局域网设置 将 【自动检测设置 】和 【为 LAN 使用代理服务器设置 】 这两个勾选取消掉 阅读全文

posted @ 2017-07-14 09:50 思此狂 阅读(438) 评论(0) 推荐(0) 编辑

express-cookie
摘要:var express = require('express') var cookieParser = require('cookie-parser') var app = express() app.use(cookieParser()) //不使用签名 //app.use(cookieParser("helowe2")) 若需要使用签名功能,需要指定一个secret字符串,否则会报错。 a... 阅读全文

posted @ 2017-07-10 14:12 思此狂 阅读(206) 评论(0) 推荐(0) 编辑

node.js回调callback & prototype
摘要:一个回调的例子 一般情况下的用法 config.js 使用 关于 prototype 关于 prototype 的更多详细信息请参看 http://javascript.ruanyifeng.com/oop/prototype.html 错误处理机制 阅读全文

posted @ 2017-07-07 17:56 思此狂 阅读(171) 评论(0) 推荐(0) 编辑

node.js的一种配置文件的方式
摘要:config.js 获取并使用配置文件中的配置 也是可直接配置文件写成JSON格式写在json文件里面 test.json 内容 获取 阅读全文

posted @ 2017-07-07 17:06 思此狂 阅读(200) 评论(0) 推荐(0) 编辑

XHProf分析PHP性能
摘要:XHProf 扩展安装 git clone https://github.com/longxinH/xhprof cd /xhprof/extension phpize && ./configure --with-php-config=/usr/local/php/bin/php-config ma 阅读全文

posted @ 2017-07-03 01:29 思此狂 阅读(116) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示