码迷,mamicode.com
首页 >  
搜索关键字:open close principle    ( 32684个结果
java解析页面包
http://www.open-open.com/jsoup/parsing-a-document.htmjsoup: Java HTML Parserjsoupis a Java library for working with real-world HTML. It provides a ver...
分类:编程语言   时间:2014-07-22 22:52:57    阅读次数:288
【leetcode】Valid Parentheses
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:其他好文   时间:2014-07-22 22:52:56    阅读次数:222
Hadoop、Pig、Hive、NOSQL 学习资源收集
(一)hadoop 相关安装部署1、hadoop在windows cygwin下的部署:http://lib.open-open.com/view/1333428291655http://blog.csdn.net/ruby97/article/details/7423088http://blog....
分类:数据库   时间:2014-07-22 22:50:55    阅读次数:517
Grails 简要
一、什么是Grails? Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention over configuration to provide a producti...
分类:其他好文   时间:2014-07-19 23:18:40    阅读次数:240
Python学习笔记——文件操作
这几天一直在帮一个博士做实验,负责的是数据处理这部分的东西。因为用python做数据处理时会时常做一些文件操作,所以我学习了一下Python的文件操作。今天刚好有空,就把东西总结一下。 一、打开文件 首先,要对文件进行操作需要打开文件,这里用到了open函数。 f = open(filen...
分类:编程语言   时间:2014-07-19 17:23:39    阅读次数:224
认识lua
lua_State *L = lua_open(); //建立一个LUA状态机 luaopen_base(L); // 启动它 const char *buf = "print('hello, world!')"; lua_dostring(buf); //把buf写入到lua中并执行 lu...
分类:其他好文   时间:2014-07-19 16:06:34    阅读次数:252
matlab练习程序(波纹扭曲)
其实就是用sin或cos对x,y坐标进行变换,处理的时候依然是反向变换。类似的,用不同的函数能得到不同的扭曲效果,比如log,1/x,exp等等。效果如下:代码如下(还给出了如何生成gif图片的代码):clear all;close all;clc;img=imread('lena.jpg');[h...
分类:其他好文   时间:2014-07-19 11:32:53    阅读次数:288
JS 用window.open()函数,父级页面如何取到子级页面的返回值?
父窗口: 子窗口:
分类:Windows程序   时间:2014-07-19 09:34:48    阅读次数:2544
Spring整合hibernate4:事务管理
Spring和Hibernate整合后,通过Hibernate API进行数据库操作时发现每次都要opensession,close,beginTransaction,commit,这些都是重复的工作,我们可以把事务管理部分交给spring框架完成。配置事务(xml方式)使用spring管理事务后在...
分类:编程语言   时间:2014-07-19 09:32:52    阅读次数:32137
android 从assets和res中读取文件
11. assets文件夹资源的访问assets文件夹里面的文件都是保持原始的文件格式,需要用AssetManager以字节流的形式读取文件。1. 先在Activity里面调用getAssets()来获取AssetManager引用。2. 再用AssetManager的open(String fil...
分类:移动开发   时间:2014-07-19 08:31:50    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!