<?php
defined(‘IN_PHPCMS‘) or exit(‘No permission resources.‘);
pc_base::load_app_func(‘global‘);
class index{
private $db;
private $content_db;
private $order_db;
public function __constr...
分类:
Web程序 时间:
2014-09-04 15:11:19
阅读次数:
204
今天早上在百忙之中抽出1个小时体验了一个前几天送来的香蕉派,总体上感觉还是挺好的。
首先刷好SD卡,我用的系统是树莓派Raspbian改成的BananaPi系统,制作SD卡详见http://www.lemaker.org/resources/9-81/raspbian_for_bananapi.html 。
硬件方面值得一提是带有sata口,可以接2T的硬盘,做NAS方便了。比较不爽的是还是只支持大SD卡,microSD卡不支持,现在最新的树莓派都支持microSD卡了。
整...
分类:
其他好文 时间:
2014-09-04 10:30:59
阅读次数:
273
1. 在Java中获取 .properties 文件的路径 (src/main/resources 下)ProjectName|---src/main/java|---src/main/resources |---test.propertiespackage xxx.yyy;public clas....
分类:
编程语言 时间:
2014-09-02 19:31:55
阅读次数:
305
Ever since the introduction of iOS, there is iOS development fever across the globe. Many iOS developers & companies are making fortunate out of it. B...
分类:
编程语言 时间:
2014-09-02 19:30:35
阅读次数:
383
今天搞winform遇到了一个异常:System.Resources.MissingManifestResourceException: 未能找到任何适合于指定的区域或非特定区域性的资源。请确保在编译时已将“****.****.Resource.resources”正确嵌入或链接到程序集因为之前这个...
分类:
其他好文 时间:
2014-09-02 19:29:05
阅读次数:
444
E/Trace(28187):erroropeningtracefile:Nosuchfileordirectory(2)错误原因:androidapi版本和模拟器版本不一致,对开发无影响。android.content.res.Resources$NotFoundException: String...
分类:
移动开发 时间:
2014-09-02 19:20:45
阅读次数:
196
Executed as user: WTC\Ebw.Admin. Transaction (Process ID 95) was deadlocked on lock resources with another process and has been chosen as the deadlock...
分类:
其他好文 时间:
2014-09-02 12:19:24
阅读次数:
200
几天重新安装了Tomcat6,安装完Tomcat6后在wepapps下面会有一些tomcat自带的项目(root、manager、host-manager等几个),这几天项目没什么用我就删掉了,后来在MyEclipse中配置好Tomcat,新建web项目,在启动Tomcat是会出现
严重: Error starting static Resources
java.lang.Il...
分类:
其他好文 时间:
2014-09-01 15:40:03
阅读次数:
137
Unity3D占用内存太大的解决方法 最近网友通过网站搜索Unity3D在手机及其他平台下占用内存太大.?这里写下关于Unity3D对于内存的管理与优化. Unity3D?里有两种动态加载机制:一个是Resources.Load,另外一个通过A...
分类:
其他好文 时间:
2014-09-01 10:56:23
阅读次数:
204
//释放暂时不使用的内存,共当前程序使用.
- (void)didReceiveMemoryWarning
{
[super
didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
//当收到内存警告时,移除当前没有在屏幕上显示的视图.
...
分类:
移动开发 时间:
2014-08-31 09:18:21
阅读次数:
296