#pragma mark - 获取当前连接wifi信息- (NSString *)returnWifiName{ NSString *wifiName = @"Not Found"; CFArrayRef myArray = CNCopySupportedInterfaces()...
分类:
移动开发 时间:
2014-08-13 18:13:06
阅读次数:
184
1. 在xml中配置你的properties路径: classpath:resource/jdbc2. 获取WebApplicationContext(需要入参HttpServletRequest request) ServletContext servletContext = request.ge...
分类:
编程语言 时间:
2014-08-13 17:51:46
阅读次数:
909
新建一个register.py文件,把一下代码贴进去,保存(G盘)#
#scripttoregisterPython2.0orlaterforusewithwin32all#andotherextensionsthatrequirePythonregistrysettings#
#writtenbyJoakimLoewforSecretLabsAB/PythonWare#
#source:#http://www.pythonware.com/products/work..
分类:
编程语言 时间:
2014-08-13 15:16:57
阅读次数:
216
题意:判断有没有两朵相同的雪花。每朵雪花有六瓣,比较花瓣长度的方法看是否是一样的,如果对应的arms有相同的长度说明是一样的。给出n朵,只要有两朵是一样的就输出有Twin snowflakes found.,如果任何两个都是不一样的输出No two snowflakes are alike。n=10...
分类:
其他好文 时间:
2014-08-13 14:26:26
阅读次数:
229
这个配置用于SpringMVC跳转控制。 spring org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/spring/spring-servlet.xml 1 ...
分类:
移动开发 时间:
2014-08-13 12:17:36
阅读次数:
184
在利用NDK编译Cpp运行时,出现了No implementation found for native Lcom等错误,调试好久,才发现
XXX.h和XXX.cpp,在XXX.cpp里#include XXX.h,居然出现了No implementation found for native Lcom。
然后,XXX.h删除,全部在XXX.cpp里实现,竟然通过了。
NDK是...
分类:
移动开发 时间:
2014-08-12 17:20:44
阅读次数:
217
org.springframework.dao.DataAccessException not found...
分类:
数据库 时间:
2014-08-12 17:20:34
阅读次数:
206
错误信息:sudo: /etc/sudoers is world writablesudo: no valid sudoers sources found, quitting解决办法:修复磁盘权限就可以了
分类:
其他好文 时间:
2014-08-12 16:58:44
阅读次数:
689
通过$resource获取到的资源,或者是通过$resource实例化的资源,资源本身就拥有了一些方法,比如$save,可以直接调用来保存该资源:比如有一个$resource创建的服务:var service = angular.module('myRecipe.service',['ngResou...
分类:
其他好文 时间:
2014-08-12 16:42:14
阅读次数:
202