1、使用javac编译Java文件 2、使用javap -verbose查看class字节码文件 2.1 使用-g:none或-g:lines选项来取消或要求生成LineNumberTable 2.2 使用-g:none或-g:vars选项来取消或要求生成LocalVariableTable 2.3 ...
分类:
其他好文 时间:
2016-06-06 11:50:39
阅读次数:
130
1、基本样式 no-lines 属性 隐藏列表项之间的分割符 inset 属性 去掉 ion-list的 外边框。 默认 的 ion-list 是有外边框的。 /* 示例代码 */ <ion-content> <ion-list no-lines> <ion-item>no-lines</ion-i ...
分类:
其他好文 时间:
2016-06-06 06:44:26
阅读次数:
433
We can use # comment to coment a row or several rows still we can use a more effecient way to comment multiple lines '''start ... ... end''' where the ...
分类:
编程语言 时间:
2016-06-05 13:51:05
阅读次数:
150
glBegin中的参数可以改为绘制点-GL_POINTS,也可以改为绘制线条-GL_LINES。颜色值也可以随机设定。 总体来说,就是设定一个步长,每次随机的在上下左右绘制。当到达边界时,回到初始点。 ...
分类:
其他好文 时间:
2016-06-02 22:01:12
阅读次数:
159
#include <stdio.h> /* count lines in input */ main() { int c, nl; nl = 0; while ((c = getchar()) != EOF) if (c == '\n') ++nl; printf("%d\n", nl); } #i ...
分类:
系统相关 时间:
2016-06-02 00:52:45
阅读次数:
187
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo ...
分类:
其他好文 时间:
2016-05-29 13:35:18
阅读次数:
172
描述 http://poj.org/problem?id=1269 给出两条直线,判断它们是平行,重合,还是相交,如果相交,求出交点. 分析 比较裸的一道题.学习了直线的写法(参数方程) 1 #include <cstdio> 2 #include <cmath> 3 using namespace ...
分类:
其他好文 时间:
2016-05-28 01:03:50
阅读次数:
166
Figures To insert a figure in a LaTeX document, you write lines like this: The whole block is enclosed between \begin{figure} and \end{figure}. The co ...
分类:
其他好文 时间:
2016-05-27 21:47:47
阅读次数:
370
题目链接:https://leetcode.com/problems/container-with-most-water/
题目:
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are dra...
分类:
其他好文 时间:
2016-05-27 11:53:57
阅读次数:
172
Input DStreams and Receivers
Input DStreams are DStreams representing the stream of input data received from streaming sources. In the quick
example, lines was an input DStream as it represented th...
分类:
其他好文 时间:
2016-05-27 11:25:41
阅读次数:
209