码迷,mamicode.com
首页 > 2015年06月03日 > 全部分享
isIsomorphic
超时版:/*Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occur...
分类:其他好文   时间:2015-06-03 00:54:17    阅读次数:123
Android 水波纹点击效果(Ripple Effect)
上周Android发布了Android M的Preview版本.但想必Android5.0很多炫酷效果,多数开发者还没有使用过,那更不要说广大用户了.本文介绍的是Android5.0中其中一个炫酷的效果,点击水波纹扩散效果(Ripple Effect).以下介绍的实现方式都是调用Android5.0...
分类:移动开发   时间:2015-06-03 00:51:44    阅读次数:198
Matlab_Graphics(1)_2D
1.Add title ,axis Lables, and Legend to Graph:1 x=linspace(-2*pi,2pi,100);2 y1=sin(x);3 y2=cos(x);4 figure5 plot(x,y1,x,y2);6 title('Graph of sine and...
分类:其他好文   时间:2015-06-03 00:52:12    阅读次数:147
基于TCP的通信 客户端
#include #include // socket 套接字#pragma comment (lib,"Ws2_32") //library DWORD WINAPI ThreadInput(LPVOID lpParam);DWORD WINAPI ThreadOutput(LPVOI...
分类:其他好文   时间:2015-06-03 00:53:35    阅读次数:119
[LeetCode] Subsets
Well, this problem becomes fairly easy once we use theitertoolspackage of Python. It is just a transformation of the type of the result. And other thi...
分类:其他好文   时间:2015-06-03 00:51:30    阅读次数:119
light_oj 1347 算术基本定理
light_oj 1347 算术基本定理C -Aladdin and the Flying CarpetTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1341De...
分类:其他好文   时间:2015-06-03 00:51:41    阅读次数:149
jQuery 遍历同胞(siblings)
同胞拥有相同的父元素。通过 jQuery,您能够在 DOM 树中遍历元素的同胞元素。在 DOM 树中水平遍历有许多有用的方法让我们在 DOM 树进行水平遍历:siblings()next()nextAll()nextUntil()prev()prevAll()prevUntil()jQuery si...
分类:Web程序   时间:2015-06-03 00:53:20    阅读次数:138
JavaWeb学习总结第四篇--Servlet开发
Servlet开发用户在浏览器中输入一个网址并回车,浏览器会向服务器发送一个HTTP请求。服务器端程序接受这个请求,并对请求进行处理,然后发送一个回应。浏览器收到回应,再把回应的内容显示出来。这种请求—响应模式就是典型的Web应用程序访问过程。JavaWeb应用程序中所有的请求—响应都是由Servl...
分类:编程语言   时间:2015-06-03 00:51:08    阅读次数:187
datatables增删改查的实现
首先表格的HTML × 用户列表 Id ...
分类:其他好文   时间:2015-06-03 00:50:40    阅读次数:817
[LeetCode] Binary Tree Zigzag Level Order Traversal
To be honest, this problem is designed to let you use stacks. However, I don't. In fact, you only need to keep a flagand switch it between falseandtru...
分类:其他好文   时间:2015-06-03 00:49:58    阅读次数:232
jQuery 遍历祖先
祖先是父、祖父或曾祖父等等。通过 jQuery,您能够向上遍历 DOM 树,以查找元素的祖先。向上遍历 DOM 树这些 jQuery 方法很有用,它们用于向上遍历 DOM 树:parent()parents()parentsUntil()jQuery parent() 方法parent() 方法返回...
分类:Web程序   时间:2015-06-03 00:51:16    阅读次数:154
css盒模型
写此篇个人观点+线上+线下个人得出的一些粗浅的结论,也摘记了一些书上网上别人个人感觉写的挺好的地方。万望看到此篇文章的同胞们多多指点。我还是个没出茅庐的菜菜。网页设计中常听的属性名:内容(content)、填充(padding)、边框(border)、边界(margin), CSS盒子模式都具备这些...
分类:Web程序   时间:2015-06-03 00:51:05    阅读次数:184
有那么一段时间,工作单调,生活无聊
这是一个普通的不能再普通的五月,很多事情知道无关紧要却还是坚持着。每个周末花大把的时间,以收拾屋子的方式整理心情。后来屋子脏了,心情也糟了。每天踏着月光回家,走在路上,灯火通明,却看不清远方。偶尔练练吉他,偶尔看看书。打球太累,又不得不做,最起码累之后会相对放松。记事本里的计划列表,还是一片空白.....
分类:其他好文   时间:2015-06-03 00:51:33    阅读次数:104
android应用程序的混淆打包规范
android应用程序的混淆打包规范1.在工程文件project.properties中加入下proguard.config=proguard.cfg,如下所示:target=android-8proguard.config=proguard.cfgEclipse会通过此配置在工程目录生成progu...
分类:移动开发   时间:2015-06-03 00:50:54    阅读次数:279
nodejs copy files
var fs = require("fs");var log = function(msg) { console.log(msg);}function copyFile(source, destination) { if (fs.existsSync(source)) { ...
分类:Web程序   时间:2015-06-03 00:50:55    阅读次数:220
[LeetCode] Permutations II
Well, have you solved thenextPermutationproblem? If so and you have handled the cases of duplicates at that problem, your code can be used in this pro...
分类:其他好文   时间:2015-06-03 00:49:01    阅读次数:175
《Spring2之站立会议5》
《Spring2之站立会议5》昨天,接着对主界面进行代码的编写,实现了界面的美化,从图片库中调了一些图片对其进行优化;今天,向主界面中加入语音功能部分的代码;遇到的问题:发现虽然是调用底层API,但是发现还是挺困难的,编译时遇到了...
分类:编程语言   时间:2015-06-03 00:48:14    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!