自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

转载 使用 Node.js 中的流写工具时的两点小 tips

Node.js中的流十分强大,它对处理潜在的大文件提供了支持,也抽象了一些场景下的数据处理和传递。正因为它如此好用,所以在实战中我们常常基于它来编写一些工具 函数/库 ,但往往又由于自己对流的某些特性的疏忽,导致写出的 函数/库 在一些情况会达不到想要的效果,或者埋下一些隐藏的地雷。本文将会提供两个在编写基于流的工具时,私以为有些用的两个...

2016-02-29 03:36:49 52

转载 python TypeError: 'str' object does not support item assignment”

想替换string里的空格,遍历替换提示如题错误,查询得知string类型不可更改1 import string2 s = "2013/2/12"3 b = s.replace('/','_')4 5 print b 

2016-02-26 21:02:00 802 1

转载 求矩阵的逆

不甘心寒假就要收尾了。回到学校,整理完行李,再收拾一下U盘里的东西。看到刚学线代那会儿瞎整的求矩阵的逆的代码。#include <iostream>#include <cstring>using namespace std;int a[11][11],b[11][11],M[11][11],A[11][11];int n,nx,ans,ans2,...

2016-02-26 17:57:00 64

转载 HTML5拓扑图形组件设计之道(一)

HT for Web(http://www.hightopo.com/guide/readme.html)提供了涵盖通用组件、2D拓扑图形组件以及3D引擎的一站式解决方案,正如Hightopo官网所表达的我们希望提供:Everything you need to create cutting-edge 2D and 3D visualization. 这个愿景从功能上是个相当长的战线,从设计架构上...

2016-02-26 02:00:00 57

转载 WebView.destroy() called while still attached 的解决的方法

能够如今webView的父组件中删除该webview,然后再Destroyparent.removeView(webView);然后webView.removeAllViews(); webView.destroy();

2016-02-25 18:26:00 123

转载 List、ArrayList、Vector及map、HashTable、HashMap分别的区别

一、List与ArrayList的区别List->AbstractList->ArrayList(1) List是一个接口,ArrayList是一个实现了List接口的具体类。他们是父子关系,我们常用的是ArrayList,但常用List的引用去操作ArrayList这是一个简单的面向接口编程的一种,如:List myList...

2016-02-25 15:43:00 74

转载 redis主从

2019独角兽企业重金招聘Python工程师标准>>> ...

2016-02-24 16:30:00 50

转载 [Exceptions Spring 2] - Cannot create a session after the response has been committed

2016-02-23 14:06:27,416 [http-bio-8080-exec-1] DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Returning cached instance of singleton bean 'sqlSessionFactory'二月 23, 2016...

2016-02-23 14:15:00 181

转载 Linux 软件安装管理

软件包分类:源码包  优点: 开源,如果有足够的能力,可以修改源代码      可以自由选择所需的功能      软件是编译安装,所以更加适合自己的系统,更加稳定也效率更高      卸载方便  缺点: 安装步骤较多,尤其安装较大的软件集合时(如LAMP)    容易出现拼写错误 编译过程时间较长,安装比二进制安装时间长   编译安装,新手不容易解...

2016-02-21 15:42:00 43

转载 JavaScript实现AJAX的拖动效果

最新JavaScript实现AJAX的拖动效果以下是三零网为大家整理的最新JavaScript实现AJAX的拖动效果的文章,希望大家能够喜欢!JavaScript实现AJAX的拖动效果例子一[html]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/h...

2016-02-21 15:07:53 103

转载 iOS 8 AutoLayout与Size Class自悟

2019独角兽企业重金招聘Python工程师标准>>> ...

2016-02-19 16:09:00 55

转载 YII2+jquery.Fileupload 文件上传

1、单个文件上传首先建立一个模型models/UploadForm.php,内容如下namespaceapp\models;useyii\base\Model;useyii\web\UploadedFile;/***UploadFormisthemodelbehindtheuploadform.*/classUploadFormex...

2016-02-19 14:17:43 210

转载 wdcp安装php zip扩展

#wgethttp://pecl.php.net/get/zip-1.10.2.tgz#tarzxvfzip-1.10.2.tgz#cdzip-1.10.2#/www/wdlinux/php/bin/phpize执行上面的命令之后就会在zip目录下生成几个文件,其中就有configure,然后执行#./configure--with-php-config...

2016-02-18 16:51:35 77

转载 454 4.7.0 Temporary authentication failure(临时认证失败)

SymptomsIf you open theQueue Viewertool from theToolboxnode on the Exchange Management Console, theLast Errorfield displays an error message that resembles the following:4514.4.0Pr...

2016-02-18 09:28:25 1882

转载 Centos6.7 64位 kvm虚拟化安装配置

参考资料:http://www.apelearn.com/bbs/thread-8299-1-1.htmlhttp://taokey.blog.51cto.com/4633273/1540873http://www.server-world.info/en/note?os=CentOS_6&p=kvm&f=1http://koumm.blog.51cto.c...

2016-02-17 17:49:39 168

转载 [LeetCode] Shortest Word Distance III 最短单词距离之三

 This is a follow up of Shortest Word Distance. The only difference is now word1 could be the same as word2.Given a list of words and two words word1 and word2, return the shortest distance betwee...

2016-02-16 13:15:00 112

转载 IO习题

 1.Java实现将九九乘法表输入到文本文件public class Test1 {         public static void main(String[] args) throws FileNotFoundException {                   System.setOut(new PrintStream("table99.txt"));//重定项屏幕输出...

2016-02-15 18:09:00 166

转载 关于“电脑硬件配置”

2019独角兽企业重金招聘Python工程师标准>>> ...

2016-02-04 14:38:00 327

转载 查看最近一次采集状态

2019独角兽企业重金招聘Python工程师标准>>> ...

2016-02-03 17:54:00 85

转载 CISCO 无线AP配合windows AD 802.11X 配置

CISCO 无线AP配合windows AD 802.11X 配置AP 配置固定ip选择 SECURITY→SSID Manager 新建SSID“Open Authentication” →“with EAP”设置Key Management 为Mandatory选择 SSID as Guest Mode定义radius 服务器 IP 地址 ,输入radius 服...

2016-02-03 11:26:30 219

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除