摘要:
之前遇到问题 在服务器拉取一直不成功, php 的shell函数 调用 git pull 一直不成功 ,但是单独 用root 权限 在机器上面 执行 git pull 是可以的 说明语法没问题。 而 php 调用的shell的权限 其实是用户 www 说明 www的权限不成功表示用户www 没权限 阅读全文
随笔档案-2014年10月
ajax jsonp跨域处理问题
2014-10-15 16:08 by freefei, 182 阅读, 收藏, 编辑
摘要:
客户端 html$.ajax({ type : "get", async:false, dataType : "jsonp", jsonp: "jsoncallback",//服务端用于接收callback调用的fun... 阅读全文
吧php脚本打包成 exe程序
2014-10-14 15:03 by freefei, 1428 阅读, 收藏, 编辑
摘要:
操作方法 :FQ哦https://www.youtube.com/watch?v=UQ3zxqh1YXY 有很多方法可以实现找了个外国的哥们制作的工具 可以吧文件生成很简单的一个独立EXE文件下载地址http://sourceforge.net/projects/htwoo/files/htwoo... 阅读全文
js 解析 bytearray 成 字符串
2014-10-13 10:51 by freefei, 15037 阅读, 收藏, 编辑
摘要:
function bin2String(array) { return String.fromCharCode.apply(String, array);}var bit=[104,101,108,108,111,32,119,111,114,108,100];var tostring=bin2S... 阅读全文
shell 获取网关 以及修改ip 启用网卡
2014-10-09 14:23 by freefei, 2012 阅读, 收藏, 编辑
摘要:
shell 获取网关 以及修改ip 启用网卡#!/bin/bash#autho freefei#script is a init computer eth#data 2014 10 09 192.168.1.1netstats=$(netstat -r|grep default|cut -f 10... 阅读全文