1.iOS9新特性:Bitcode当运行之前的项目报错时,我们可以在”Build Settings”->”Enable Bitcode”中设置属性为NO2.获取设备名字[Device machineName]3.获取沙盒Documents路径NSArray *paths = NSSearchPath...
分类:
其他好文 时间:
2015-09-23 18:42:15
阅读次数:
310
本文引用自http://my.oschina.net/u/2344008/blog/470096#################匿名权限控制###############anonymous_enable=YES #是否启用匿名用户no_anon_password=YES #匿名用户logi...
分类:
其他好文 时间:
2015-09-23 06:43:21
阅读次数:
213
*** does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE? 分类:?iOS Error2015-09-17 11:37?953人阅读?评论(2)?收藏?举报 Appthinning Xcode 7 运行项...
分类:
其他好文 时间:
2015-09-22 16:47:29
阅读次数:
692
Controller method CORS configurationYou can add to your@RequestMappingannotated handler method a@CrossOriginannotation in order to enable CORS on it (...
分类:
编程语言 时间:
2015-09-22 16:27:53
阅读次数:
230
1. 在 LINUX 3.5源代码目录下执行 yum install ncurses-devel make menuconfig2 打开内核跟踪事件,用于SYSTEMTAP跟踪 kernel hacking --->tracers(new)--->enable uprobes-based dynam...
分类:
其他好文 时间:
2015-09-22 01:20:04
阅读次数:
433
有一些服务,需要动态IP,所以我们用重启路由器的方法实现。人工重启不可选,用定时脚本执行即可。贴代码,每种路由器,提示不一样。需要路由器有telnet功能才行。#!/usr/bin/envpython
#-*-coding:utf-8-*-
importtelnetlib
HOST="192.168.1.1"
USER="admin"
PASS="admin"
ro..
分类:
编程语言 时间:
2015-09-21 19:43:50
阅读次数:
249
1.iOS9里的静态库后缀名改为tbd.2.Build Settings -> Enable Bitcode 默认为yes,老代码用xcode7编译,需改为NO3.iOS9里网络请求为https,http请求不被允许,在info.plist文件中,添加一个字典NSAppTransportSecuri...
分类:
移动开发 时间:
2015-09-21 17:38:01
阅读次数:
163
1.bitcode默认值YES改为NO---》build setting搜索bitcode,Enable Bitcode->NO2.info.plist需要加一个属性,以保证可继续用http,,,而不是默认的httpsNSAppTransportSecurity NSAllowsArbitrary....
分类:
其他好文 时间:
2015-09-20 22:10:51
阅读次数:
221
create event shopCartCleanerListener
on schedule every 1 day starts ‘2015-01-01 00:00:00‘
on completion preserve
enable
do
update shopCart set cart = null; show variables like ‘%sche%‘;? 1、开...
分类:
数据库 时间:
2015-09-20 09:20:09
阅读次数:
181
http://segmentfault.com/a/1190000003509917//开启xhprof并开始记录xhprof_enable();//运行一些函数foo();//停止记录并取到结果$xhprof_data = xhprof_disable();
分类:
Web程序 时间:
2015-09-19 19:43:55
阅读次数:
186