使用GPIB Interactive Control工具1. 获得gpib interface的handleribfind gpib02. 设置当前的gpib0为SC(system controller)A. ibconfigB. 选择10C. 输入13.设置当前的gpib0为CIC(control...
分类:
其他好文 时间:
2014-08-27 17:54:28
阅读次数:
1158
使用webpy时,修改jinja2变量标识符 重写webpy包中的template.py文件中的render_jinja类. class?my_render_jinja:
????"""Rendering?interface?to?Jinja2?Templates
????Example:
????????r...
分类:
其他好文 时间:
2014-08-27 16:49:28
阅读次数:
817
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.思路:对每个string进行排序,并使用map记录排序之后值相同的stri...
分类:
其他好文 时间:
2014-08-27 14:39:37
阅读次数:
147
1 package com.twoslow.cha6;2 3 public interface OperationInterface {4 5 double apply(double x , double y) ;6 } 1 package com.twoslow.cha6; 2 3 pu...
分类:
其他好文 时间:
2014-08-27 12:56:07
阅读次数:
177
In a few cheap ghd truly extreme environment, We will reject our individuals and their groups, But this is mostly an exception to the rule. Most of us...
分类:
其他好文 时间:
2014-08-27 12:34:37
阅读次数:
180
本文章的导航栏代码参考了viewpagerindicator的实现。本文叙述的是之前版本的qq或微信中,底部的图标加文字的导航栏的实现。
本例子依赖viewpagerindicator的两个类:IconPagerAdapter及PageIndicator。这两个类的方法如下:
package com.viewpagerindicator;
public interface IconPag...
分类:
移动开发 时间:
2014-08-27 10:57:57
阅读次数:
331
为class修改名字:
1. 在头文件中双击选中类名:@interface之后即为类名 (不选中,则重命名选项将是disable的状态);
2. 工具栏中选择 Edit-Refactor - Rename;
3. 修改名字后,预览所有会发生的改动,选择需要的改动,最后Save保存。
参考链接:http://stackoverflow.com/questions/992381/rename-...
分类:
移动开发 时间:
2014-08-27 00:27:26
阅读次数:
254
java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Lj...
分类:
其他好文 时间:
2014-08-27 00:15:46
阅读次数:
243
1. 定义:CGI(Common Gateway Interface 公共网关接口)是HTTP服务器与你的或其它机器上的程序进行“交谈”的一种工具,其程序须运行在网络服务器上。2. 功能:绝大多数的CGI程序被用来解释处理杰自表单的输入信息,并在服 务器产生相应的处理,或将相应的信息反馈给浏览器。C...
分类:
其他好文 时间:
2014-08-26 21:26:46
阅读次数:
319
beego 简介beego 是一个快速开发 Go 应用的 HTTP 框架,他可以用来快速开发 API、Web 及后端服务等各种应用,是一个 RESTful 的框架,主要设计灵感来源于 tornado、sinatra 和 flask 这三个框架,但是结合了 Go 本身的一些特性(interface、s...
分类:
其他好文 时间:
2014-08-26 21:26:06
阅读次数:
638