码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
jquery 绘图工具 flot 学习笔记
今天想做一个统计图表,像163博客的流量统计一样的,借助 flot 实现了,而且很简单。flot网址:http://code.google.com/p/flot/下载 JS 文件,使用方法和 jquery 一样。注意:flot是自动绘制在画布标签(canvas)内的,IE不支持,需要添加 excan...
分类:Web程序   时间:2015-04-01 13:04:53    阅读次数:247
定时器setinterval 函数的使用
function foo(){ var param = 100; window.setInterval(function() { f(param); }, 1000);}function f(times){ // add your code here}
分类:其他好文   时间:2015-04-01 12:42:06    阅读次数:101
AngularJs 性能优化英文原版(个人备份使用)
Optimizing AngularJS: 1200ms to 35msBySteven CzerwinksiEdit: Due to the level of interest, we’ve released the source code to the work described here: ...
分类:Web程序   时间:2015-04-01 12:41:02    阅读次数:197
python读写dbf文件
Python读写dbf文件 #?coding=utf8 """ A?reader?and?writer?for?dbf?file.see?http://code.activestate.com/recipes/362715/?for?moe?detail """ import?struct import?datetime import?decimal i...
分类:数据库   时间:2015-04-01 11:32:49    阅读次数:1398
Java:String、StringBuffer和StringBuilder的区别
在公司实习期间,慢慢的体会到了作为一名开发人员,公司的Code convention是多么的重要。下面一条便是公司列举出来的。1. Rather than “String”, “StringBuffer” is recommended to be used to concatenate char.....
分类:编程语言   时间:2015-04-01 11:19:25    阅读次数:136
JQuery的几种页面加载完执行三种方式
jquery加载页面的方法(页面加载完成就执行)1、1 $(function(){ 2 $("#a").click(function(){ 3 //adding your code here 4 }); 5 }); 2、1 $(document).ready(function(){ ...
分类:Web程序   时间:2015-04-01 10:59:06    阅读次数:120
HDU 2089 不要62【数位板】
Description: 不吉利的数字为所有含有4或62的号码。输出n-m之间的吉利数的个数! Analyse: 数位dp的原理:如果A 对于数位dp板,重点是参数的设置! CODE: #include #include #include #include #include #include #include #include #include #include #include...
分类:其他好文   时间:2015-04-01 09:31:49    阅读次数:117
Website 站点嵌入视频块代码
1 View Code
分类:Web程序   时间:2015-04-01 09:23:02    阅读次数:138
uva 1401 Remember the Word ( Trie + DP )
题意:给出n(n 思路:Trie,先把单词建成Trie,然后进行dp,dp[i]表示以字符串中第i个字母为开头的情况,然后每个状态只要在Trie树上找到相应的字母开头的单词,然后dp[i] = sum{dp[i + len(x)]}进行状态转移即可 这个x是n个单词中的一个,可以用Trie查询 code: #include #include #include using namesp...
分类:其他好文   时间:2015-04-01 01:55:30    阅读次数:121
Java学习(七):CodeFormat配置,设置Save时自动Format。附Format模板。
Eclipse添加codeFormat模板(见附件)。Windows--Preference--Java--Code Style--Format, import附件中的模板。 --Java--Editor--Save Actions, 勾选Format source c...
分类:编程语言   时间:2015-04-01 01:45:14    阅读次数:1744
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!