importjava.util.ArrayList;importorg.json.JSONArray;importorg.json.JSONException;importorg.json.JSONObject;importorg.lfg.Utils.MyVolley;importorg.lfg.Utils.StringRequestUTF;importorg.lfg.cityselect_activity.CityHomeActivity;importorg.lfg.widgets.ListViewForS..
分类:
移动开发 时间:
2014-08-04 11:15:59
阅读次数:
377
1.安装 nfs 服务yum install nfs-utils rpcbindchkconfig nfs on2.exprotfs 文件/usr/sbin/exportfs -rvcat /etc/exports/home/ 10.0.2.0/24(rw,sync,all_squash,anonu...
分类:
其他好文 时间:
2014-08-03 22:57:26
阅读次数:
172
在部署中遇到的问题
Django version 1.6.5
参考资料:ImportError;No module named markup
django.utils.markup在1.5中声明被deprecated 在1.6中removed,解决方法是:
安装docutils
pip install docutils
参考StackOverFlow...
分类:
其他好文 时间:
2014-08-03 07:52:24
阅读次数:
185
using System;using System.IO;using Global.Utils.ORM.CustomAttributes;namespace Entity.FormManager{ [Serializable] [Table(Name = "OA_T_OrderForm"...
分类:
其他好文 时间:
2014-08-01 19:34:23
阅读次数:
279
/**
*
* @param 传入一个字符串
* @return 返回一个字符串中的大写字母
*/
private static String stringChange(String s) {
if (Utils.isStrEmpty(s))
return "";
String...
分类:
编程语言 时间:
2014-08-01 16:18:51
阅读次数:
226
/**
* @param 传入一个中文字符串
* @return 返回一个字符串中的中文拼音
*/
private String getNameNum(String name) {
if (!Utils.isStrEmpty(name)) {
int len = name.length();
...
分类:
其他好文 时间:
2014-08-01 16:18:41
阅读次数:
237
在c#中要扩展一个现有类很容易,比如这样:
?
1
2
3
4
5
6
7
public static class Utils
{
public static void PrintToConsole(this string strSrc)
{
Con...
分类:
其他好文 时间:
2014-08-01 13:47:51
阅读次数:
296
EmployeeInfo.csusing System;using Global.Utils.ORM.CustomAttributes;namespace Global.PM.Common.Entity.HR{ [Serializable] [Table(Name = "OA_HR_Em...
分类:
其他好文 时间:
2014-07-31 19:44:17
阅读次数:
233
上图为Hashmap的数据结构图,具体实线是采用数组结合链表实现,链表是为了解决在hash过程中因hash值一样导致的碰撞问题。所以在使用自定义对象做key的时候,一定要去实现hashcode方法,不然hashmap就成了纯粹的链表,查找性能非常的慢,添加节点元素也非常的慢。如importjava....
分类:
编程语言 时间:
2014-07-30 20:20:14
阅读次数:
458
安装只要 yum -y installnfs-utils即可一、NFS服务器的设定NFS服务器的设定可以通过/etc/exports这个文件进行,设定格式如下:分享目录主机名称或者IP(参数1,参数2)/arm2410s10.22.22.*(rw,sync,no_root_squash)可以设定的参...
分类:
其他好文 时间:
2014-07-30 20:16:04
阅读次数:
346