net.coobird.thumbnailator.tasks.UnsupportedFormatException: No suitable ImageReader found for source data. at net.coobird.thumbnailator.tasks.io.In...
分类:
其他好文 时间:
2015-06-14 09:24:28
阅读次数:
2904
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication7{ publi...
本节实现JS压缩,在实现压缩前,先配置JS任务,设置源目录和输出目录。在系列(三)代码的基础上,再进行扩展。1.找到gulp->config.js,对JS进行源目录(src->img)和输出目录(build->img)的配置:2.gulp->tasks里新建JS任务,如下图:3.同时在default...
分类:
Web程序 时间:
2015-06-12 11:39:51
阅读次数:
128
在.net4.0的时候推出的Taskusing System;using System.Threading;using System.Threading.Tasks;namespace TaskDemo{ class Program { static void Main(s...
分类:
其他好文 时间:
2015-06-11 22:39:41
阅读次数:
115
使用grunt压缩图片时,提示Loading "imagemin.js" tasks...ERROR>> Error: Cannot find module 'through'各种尝试都报错,网上搜不到解决办法,最后在项目目录安装了 grunt-contrib-imagemin 搞定,也是醉了。ba...
分类:
其他好文 时间:
2015-06-09 23:12:50
阅读次数:
177
主要介绍基于XPATH的文本分析方式的实现,代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using HtmlAg...
分类:
Web程序 时间:
2015-06-09 21:33:45
阅读次数:
158
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.W...
分类:
其他好文 时间:
2015-06-09 13:53:36
阅读次数:
112
C#定义并实现单链表usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceLinked
{
//单链表结点类,采用泛型
publicclassNode<T>
{
privateTdata;//数据域,当前结点的数据
privateNode<T>ne..
分类:
编程语言 时间:
2015-06-05 23:01:35
阅读次数:
291
从两个表中内联取出的数据,其中category_name字段有相同内容,想将具有相同内容的字段进行合并,将amount字段进行加法运算,变成下表中的内容
SELECT c.category_name, count(*) AS task_num, sum( t.amount ) AS amount_num
FROM cs_witkey_tasks AS t
INNER JOIN c...
分类:
数据库 时间:
2015-06-05 14:07:31
阅读次数:
221
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 代理模式{ //追求者的方法 public i...
分类:
其他好文 时间:
2015-06-05 13:42:08
阅读次数:
100