码迷,mamicode.com
首页 > 2015年05月16日 > 全部分享
Javascript自动换图片
无标题文档
分类:编程语言   时间:2015-05-16 07:51:32    阅读次数:140
针对IE的CSS hack 全面 实用
.all IE{property:value\9;}.gte IE 8{property:value\0;}.lte IE 7{*property:value;}.IE 8/9{property:value\0;}.IE 9{property:value\9\0;}.IE 7{+property:v...
分类:Web程序   时间:2015-05-16 07:52:06    阅读次数:146
Nutch之简介与安装
初学Nutch之简介与安装初学Nutch之简介与安装1、Nutch简介 Nutch是一个由Java实 现的,开放源代码(open-source)的web搜索引擎。主要用于收集网页数据,然后对其进行分析,建立索引,以提供相应的接口来对其网页数据进行 查询的一套工具。其底层使用了Hadoop来做分布式....
分类:其他好文   时间:2015-05-16 07:52:59    阅读次数:310
C语言--计算二进制数中1的个数(&)
//15 //00001111>>1 //00000111 int count_bit(unsigned int value) { int one = 0; while(value) { if(value%2 == 1) one++; value = value >> 1; } return one; } //x&1; n += x &1; x>>=1; //1111 & 0001...
分类:编程语言   时间:2015-05-16 06:49:43    阅读次数:166
SqlServer 变更数据捕获(CDC)
变更数据捕获(Change Data Capture ,简称 CDC)记录 SQL Server 表的插入、更新和删除活动。使用变更数据捕获可以更有效跟踪表对象DML历史操作,对 ETL 等数据转移也非常有用。 变更数据捕获适用版本: SQL Server 2008 以上的 Enterprise Edition、Developer Edition 和 Evaluation Editio...
分类:数据库   时间:2015-05-16 06:51:18    阅读次数:430
为什么我说Rust是靠谱的编程语言
序言:本文试图帮您解答“我要不要(投入大量时间和精力)学习Rust语言?”这个问题。作者尽量较少的谈及Rust语言本身,反而尝试从Rust语言周边入手,长时间、大范围、多角度地考察,研判Rust语言是否靠谱,并给出尽可能客观的理由。为写成本文,作者Liigo不惜“卧底”Rust“老巢”长达一年多,收集整理总结了大量信息。如果嫌长,可以只看小标题,粗略浏览一番。...
分类:编程语言   时间:2015-05-16 06:49:49    阅读次数:681
【面试题】JAVA 一个线程依赖另外一个线程的结果 2
public class Main { public static class MyCallable implements Callable{ public Integer call() throws Exception { return 1; } } public static void main(String[] args) { MyCallable callable=new M...
分类:编程语言   时间:2015-05-16 06:49:43    阅读次数:234
[LeetCode] Add and Search Word - Data structure design 添加和查找单词-数据结构设计
Design a data structure that supports the following two operations:void addWord(word)bool search(word)search(word) can search a literal word or a regu...
分类:其他好文   时间:2015-05-16 06:44:42    阅读次数:112
mac, start sublime from terminal
1.where is sublime CLI/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl2. run sublime CLI from terminalopen "/Applications/Sublime Text.a...
分类:系统相关   时间:2015-05-16 06:43:59    阅读次数:188
2015 UESTC Training for Dynamic Programming N - 导弹拦截(LIS (nlogn))
N - 导弹拦截Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatus某国为了防御敌国的导弹袭击,开发出一种导弹拦截系统。但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮....
分类:其他好文   时间:2015-05-16 06:46:00    阅读次数:360
【Leetcode】【Medium】Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2015-05-16 06:45:28    阅读次数:126
swig和angular双花括号的冲突
swig和angular都用{{name}}来作为模板中变量的取值, 那么要共用的话怎么办:{% raw %}{{ foobar }}{% endraw %}或者config(['$interpolateProvider', function($interpolateProvider) { ...
分类:其他好文   时间:2015-05-16 06:43:49    阅读次数:324
Oracle:从SQL文件批量导入数据
进入DOS界面。进入SQL文件目录。在命令提示下运行SqlPlus,c:\sql>sqlplus user_name/password@net_service_name指定SQL执行日志文件,日志文件名任意,但必须以log为后缀名:sql>spool e:\temp\a.log创建批量执行文件。如果...
分类:数据库   时间:2015-05-16 06:43:10    阅读次数:882
naked解析
先分享一个案例: 1 #include 2 3 __declspec(naked) void Test() 4 { 5 int x; 6 x = 3; 7 __asm ret; 8 } 9 10 int main(int argc, char* argv[])11 {12...
分类:其他好文   时间:2015-05-16 06:43:06    阅读次数:237
[C#参考]byte数组和Image的相互转换
功能需求1、把一张图片(png bmp jpeg bmp gif)转换为byte数组在内存中操作。2、把内存中的byte数组转换成Image对象,赋值给相应的控件显示。3、从图片byte数组得到对应的图片格式,生成一张图片保存到磁盘中。这个的Image是System.Drawing.Image。//...
分类:编程语言   时间:2015-05-16 06:43:56    阅读次数:981
springMVC对静态资源访问的处理
<servlet>?? ??<servlet-name>mvc</servlet-name>?? ??<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>?? ??<init-param>?? ????<param-name>contextConf...
分类:编程语言   时间:2015-05-16 01:44:11    阅读次数:209
重复造轮子-linux-socket
#include?<stdio.h> #include?<sys/socket.h> #include?<sys/types.h> #include?<netinet/in.h> #include?<unistd.h> #include?<stdlib.h> #include?<time.h> #include?<arpa/inet.h> #define?BUFFER_...
分类:系统相关   时间:2015-05-16 01:43:35    阅读次数:271
1475条   上一页 1 ... 74 75 76 77 78 79 80 ... 87 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!