#region 支持跨域请求 //Response.ClearHeaders(); string origin = Request.Headers["Origin"]; Response.AppendHeader("Access-Co...
分类:
Web程序 时间:
2015-01-15 17:51:24
阅读次数:
136
iOS 判断应用是否有使用相机的权限
NSString *mediaType =
AVMediaTypeVideo;
AVAuthorizationStatus authStatus = [AVCaptureDevice
authorizationStatusForMediaType:mediaType];
if(authStatus ==
...
分类:
移动开发 时间:
2015-01-15 14:18:49
阅读次数:
203
JQ字幕打字效果 Login : username password : ****** Access is granted 中文呢?效果如下图:
分类:
其他好文 时间:
2015-01-15 12:38:16
阅读次数:
202
#!/bin/sh#初始化logs_path="/usr/local/nginx/logs"pid_path="/usr/local/nginx/logs/nginx.pid"YESTERDAY=$(date-d"yesterday"+%Y-%m-%d)##移动文件mv${logs_path}/access.log${logs_path}/${YESTERDAY}.access.log##向Nginx主进程发送USR1信号,USR1信号是重新打开日志文件ki..
分类:
其他好文 时间:
2015-01-15 11:09:48
阅读次数:
159
解决方法:1,根据提示,在web.config中添加如下配置: 2,IIS中启用目录浏览:制面板 - 管理工具 - Internet 信息服务(IIS)管理器 - 目录浏览 选择启用,如图:错误提示页面:
分类:
Web程序 时间:
2015-01-14 22:46:49
阅读次数:
252
一. Mondrian数据源配置说明Access数据源的配置运行C:\Windows\SysWOW64\odbcad32.exe-à新增驱动程序Driver do Microsoft Access(*.mdb)à数据源名,选择数据库路径à点击确定à新建完成。Sqlserver数据源的配置运行C:\W...
分类:
其他好文 时间:
2015-01-14 16:43:09
阅读次数:
191
1.在终端运行命令:$sudoapt-getinstallnginxubuntu安装Nginx之后的文件结构大致为:所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下启动程序文件在/usr/sbin/nginx日志放在了/var/log/nginx中,分别是access.log和error.log并已经..
分类:
系统相关 时间:
2015-01-13 20:02:07
阅读次数:
252
1、git init出错fatail:unable to access 'c:/Users/zhang'/.config/git/config':invalid arguments环境变量设置错误设置为set HOME=/貌似git init的时候git要到HOME下面的.ssh下面找公钥初始化Pe...
分类:
其他好文 时间:
2015-01-13 19:31:09
阅读次数:
220
You may either install or download a plugin. Note that for install, the web server needs to have access privileges to the /plugins folder on the file ...
分类:
其他好文 时间:
2015-01-13 15:46:03
阅读次数:
142
Introduction
I own a HTC Dream. While one may discuss about its usability as a phone, it makes a great portable internet access machine. I have installed a debian chroot on that machine and used to...
分类:
移动开发 时间:
2015-01-13 14:26:44
阅读次数:
236