一、Activity的使用:package com.example.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import androi...
分类:
移动开发 时间:
2014-06-05 09:36:01
阅读次数:
276
iOS—修改AFNetworking源文件可接收text/plain的方法
在使用AFNetworking的时候可能会碰到下面的错误:
{ status code: 200, headers {
"Content-Length" = 14;
"Content-Type" = "text/plain;charset=utf-8";
Date = "Thu, 2...
分类:
移动开发 时间:
2014-06-05 06:05:34
阅读次数:
265
curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip
unzip htop.zip
sudo mv htop /bin
rm htop.zip...
分类:
其他好文 时间:
2014-06-04 23:28:18
阅读次数:
961
Description Resource
Path Location
Type
cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":enabled, "http://java.sun....
分类:
Web程序 时间:
2014-06-03 05:31:38
阅读次数:
514
数据库工具类,优雅的管理android中的sqlite
package csdn.shimiso.eim.db;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.database.Cursor;
import android.da...
分类:
移动开发 时间:
2014-06-03 05:11:12
阅读次数:
394
<?php
header('Content-Type: text/html; charset=UTF-8');
$client = new SoapClient('http://webservice.webxml.com.cn/webservices/DomesticAirline.asmx?wsdl');
$fromcity=!empty($_POST['fromcity']) ? ...
分类:
Web程序 时间:
2014-06-03 03:30:14
阅读次数:
335
自定义了CSS的样式,希望在页面中起作用。因为MVC中Views/Shared/_Layout.cshtml是所有试图的公共文件,如下:
@ViewBag.Title @RenderBody()通过这句话使用了一个外部层叠样式表文件,位置在"~/Content/Site....
分类:
Web程序 时间:
2014-06-01 12:13:36
阅读次数:
274
MainActivity如下:
package come.on;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.V...
分类:
移动开发 时间:
2014-06-01 10:36:36
阅读次数:
345
所谓推荐算法就是利用用户的一些行为,通过一些数学算法,推测出用户可能喜欢的东西。
在推荐系统简介中,我们给出了推荐系统的一般框架。很明显,推荐方法是整个推荐系统中最核心、最关键的部分,很大程度上决定了推荐系统性能的优劣。目前,主要的推荐方法包括:基于内容推荐、协同过滤推荐、基于关联规则推荐、基于效用推荐、基于知识推荐和组合推荐。
一、基于内容推荐
基于内容的推荐(Content-based Recommendation)是信息过滤技术的延续与发展,它是建立在项目的内容信息上作出推荐的,而不需要...
分类:
Web程序 时间:
2014-06-01 09:41:45
阅读次数:
312
错误1 ——
Caused by: android.content.res.Resources$NotFoundException:
String resource ID #0x0
错误原因——...
分类:
移动开发 时间:
2014-05-31 21:39:18
阅读次数:
642