首页 > 其他
EXCEL 读取
xlsx2007 和 xls2003 两种格式需要使用两种方法XSSF HSSF大数据excel读取参考 http://www.iteye.com/topic/624969poi-3.9.jar poi-ooxml-3.9.jar poi-ooxml-schemas-3.9.jar xml...
分类:其他   时间:2015-11-01 11:19:55    收藏:0  评论:0  赞:0  阅读:227
UVa11235 RMQ
input1 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 11 using namespace std;12 13 int a[100010][2]...
分类:其他   时间:2015-11-01 11:18:25    收藏:0  评论:0  赞:0  阅读:124
Rational Rose 安装及破解方法
Rational Rose 的安装与破解: 所需材料: 1.“Rational rose 2003.rar”安装包压缩文件 2.“license.rar”压缩文件(一)安装 打开“Rational rose 2003.rar”安装包压缩文件,点击“setup.exe”按步骤完成安装。(二)破解(下面...
分类:其他   时间:2015-11-01 11:17:15    收藏:0  评论:0  赞:0  阅读:430
在sklearn上读取人脸数据集保存图片到本地
程序如下:# -*- coding: utf-8 -*-"""Created on Sat Oct 31 17:36:56 2015"""import loggingfrom time import timefrom numpy.random import RandomStateimport mat...
分类:其他   时间:2015-11-01 11:16:55    收藏:0  评论:0  赞:0  阅读:1443
BZOJ 4260: Codechef REBXOR( trie )
求出前缀和, 那么以第x个元素结尾的最大异或值是max(sumx^sump)(1≤p#include#include#includeusing namespace std;const int maxn = 400009;const int n = 31;int read() { char c = g...
分类:其他   时间:2015-11-01 11:16:45    收藏:0  评论:0  赞:0  阅读:245
.tar.gz文件和.rpm文件的区别
Linux软件的二进制分发是指事先已经编译好二进制形式的软件包的发布形式,其优点是安装使用容易,缺点则是缺乏灵活性,如果该软件包是为特定的硬件/操作系统平台编译的,那它就不能在另外的平台或环境下正确执行。 1、*.rpm形式的二进制软件包 安装:rpm -ivh *.rpm 卸载:rpm...
分类:其他   时间:2015-11-01 11:15:55    收藏:0  评论:0  赞:0  阅读:262
[LeetCode]50. Valid Anagram有效变位词
Given two strings s and t, write a function to determine if t is an anagram of s.For example,s = "anagram", t = "nagaram", return true.s = "rat", t = ...
分类:其他   时间:2015-11-01 11:15:45    收藏:0  评论:0  赞:0  阅读:271
4.2.1 Codec基类
在codecs模块里定义了与codec对象进行交互的接口,也可以使用它作为其它编解码的基类。 在Python里要求codec对象需要有四个接口:无状态的encoder,无状态的decoder,StreamReader和StreamWriter。而StreamReader和StreamWriter通常是由无状态的encoder/decoder通过文件协议来实现。同时codec对象还需要处理在编码和解...
分类:其他   时间:2015-11-01 10:13:25    收藏:0  评论:0  赞:0  阅读:468
【LeetCode从零单刷】Set Matrix Zeroes
题目: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow up: Did you use extra space? A straight forward solution using O(mn) space is probabl...
分类:其他   时间:2015-11-01 10:13:15    收藏:0  评论:0  赞:0  阅读:253
读Socket流时产生阻塞的解决方案
在用socket写一个服务器时遇到了问题于是将主要的问题抽了出来,代码如下,由于代码很简单于是也没有注释。public class Main { private static ServerSocket serverSocket; private final static ExecutorService exec = Executors.newFixedThreadPool(30);...
分类:其他   时间:2015-11-01 10:12:45    收藏:0  评论:0  赞:0  阅读:273
haproxy 常用acl规则与会话保持
一、常用的acl规则 haproxy的ACL用于实现基于请求报文的首部、响应报文的内容或其它的环境状态信息来做出转发决策,这大大增强了其配置弹性。其配置法则通常分为两 步,首先去定义ACL,即定义一个测试条件,而后在条件得到满足时执行某特定的动作,如阻止请求或转发至某特定的后端。定义ACL的语法格式...
分类:其他   时间:2015-11-01 10:11:55    收藏:0  评论:0  赞:1  阅读:3170
解决Qt5 Creator无法切换输入法(fcitx),不能录入汉字问题
笔者系统环境,Ubuntu 14.04,输入法fcitx下搜狗输入法。其它非Ubuntu linux发行版,不通过软件源安装Qt5,从Qt官网http://qt-project.org/下载安装包,也存在这个问题。在Ubuntu下解决方法如下,其它linux发行版解决方法雷同1.安装fcitx fo...
分类:其他   时间:2015-11-01 10:11:45    收藏:0  评论:0  赞:0  阅读:382
haproxy 安装与配置文件详解
本文主要阐述haproxy的安装配置详解,对于它的概念,作用,功能,和其它LB软件的区别,优点,缺点等不再进行说明。一、 haproxy 的安装配置# cat /etc/redhat-releaseCentOS release 6.6 (Final)# uname -r2.6.32-504.el6....
分类:其他   时间:2015-11-01 10:11:35    收藏:0  评论:0  赞:0  阅读:1583
读《UML大战需求分析》有感三
这是我的第三篇读书笔记,我已经把整本书读完了。前面一半是UML的用法,剩下这一半是需求分析实例讲解。在实例中,我对需求分析的理解更充分了,对UML的运用也有了更多地了解。 第11章中,考勤系统的实例中,客户是持续进步的,业务模型要不断优化,业务概念和流程是会变的。应对:打造业务概念及流程均可定制的系...
分类:其他   时间:2015-11-01 10:11:25    收藏:0  评论:0  赞:0  阅读:308
从警察抓小偷看委托
前言:我的类名,方法名都是汉字,大家不要学我,因为这是不规范的。。。。。。 警察类: 1 namespace 警察抓小偷 2 { 3 class 警察 4 { 5 private string name; 6 private string co...
分类:其他   时间:2015-11-01 10:11:05    收藏:0  评论:0  赞:0  阅读:208
简单树形菜单
制作简单的树形菜单树形菜单: 文学艺术 先锋写作 小说散文 诗风词韵 贴图专区 真我风采 视屏贴图 ...
分类:其他   时间:2015-11-01 10:10:45    收藏:0  评论:0  赞:0  阅读:276
11_常见对象(Object类的使用)
1:Eclipse的概述使用(掌握) 请参照ppt和课堂练习.txt 2:API的概述(了解) (1)应用程序编程接口。 (2)就是JDK提供给我们的一些提高编程效率的java类。3:Object类(掌握) (1)Object是类层次结构的根类,所有的类都直接或者间接的继承自Object类。 (2)...
分类:其他   时间:2015-11-01 10:10:35    收藏:0  评论:0  赞:0  阅读:266
Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan...
分类:其他   时间:2015-11-01 10:10:25    收藏:0  评论:0  赞:0  阅读:280
背景颜色的改变
背景颜色的改变radio颜色选择器点击变换背景颜色点击变换背景颜色点击变换背景颜色点击变换背景颜色点击变换背景颜色点击变换背景颜色
分类:其他   时间:2015-11-01 10:09:15    收藏:0  评论:0  赞:0  阅读:226
表格过滤器
表格过滤器
分类:其他   时间:2015-11-01 10:09:05    收藏:0  评论:0  赞:0  阅读:236
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!