使用AFNetworking出现报错:error=Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/html" Use...
分类:
移动开发 时间:
2015-06-02 00:21:39
阅读次数:
540
关于MMIO和PIO,我看到的解释最清楚的文章,原文在这里:Memory-mapped I/O vs port-mapped I/O - 2015Microprocessors normally use two methods to connect external devices: memory ...
分类:
移动开发 时间:
2015-06-02 00:08:11
阅读次数:
639
JavaScript is the programming language of the Web. The overwhelming majority of modern websites use JavaScript, and all modern web browsers-on desktop...
分类:
编程语言 时间:
2015-06-01 22:22:08
阅读次数:
119
1. The issue is because windows and linux has different file system.2. Use vim to open the file3. Type :set ff?, you will see the text "fileformat=dos...
分类:
其他好文 时间:
2015-06-01 20:25:14
阅读次数:
109
当我参考如下链接,尝试在SSIS包中动态创建全局临时表##Temp,用Lookup组件作为数据源,给全局临时表变量赋值时,会发生如下图的验证错误。http://sqlage.blogspot.com/2014/04/ssis-how-to-create-use-temp-table-in.html因...
分类:
数据库 时间:
2015-06-01 18:25:56
阅读次数:
265
#!perl
use warnings;
#use strict;
use threads;
use Thread::Semaphore;
use File::Basename qw(basename);
die "perl $0 \n" if @ARGV != 2;
my $semaphore = Thread::Semaphore->new($ARGV[1]);
my $id = bas...
分类:
编程语言 时间:
2015-06-01 16:45:13
阅读次数:
856
SQL Server分区键列必须是主键一部分。 必须把分区列包含在主键/唯一约束/唯一索引的键列中。USE tempdbGO-- 测试表CREATE TABLE dbo.tb( id int, CONSTRAINT PK_id PRIMARY KEY CLUSTERED( ...
分类:
数据库 时间:
2015-06-01 16:18:07
阅读次数:
155
--系统数据库master中保存了所有本地数据库的名字use mastergoif exists(select * from sysdatabases where name='student')drop database student --如果数据库存在就删除gocreate...
分类:
数据库 时间:
2015-06-01 14:28:21
阅读次数:
151
停止mongo,多种方法 bin/mongod?--shutdown?--dbpath?/home/data/mongodb/db?#?对于mongos不适应
#?下面需要登录进mongo,并且要在本地登录,其他机器登陆执行会报错,下面可停止mongod和mongos
use?adm...
分类:
数据库 时间:
2015-06-01 06:14:08
阅读次数:
277
mysqlmysql数据库介绍存储数据事务存储引擎MyISAM: 无法处理事务InnoDB: 更新密集的表 事务 自动灾难恢复show engines;测试准备create databases test;use test;create table student (id int auto_incre...
分类:
数据库 时间:
2015-05-31 23:08:26
阅读次数:
214