1. wc : print newline, word, and byte counts for each file [root@bogon ~]# wc /etc/passwd 44 88 2301 /etc/passwd -l: lines -w: words -c: characters2. ...
分类:
其他好文 时间:
2018-09-06 20:59:14
阅读次数:
153
题目说明 给定一个链表,旋转链表,将链表每个节点向右移动 k 个位置,其中 k 是非负数。 解法1 / 时间复杂度:O(n) 得到链表长度,k对其取余(对链表进行旋转次数是长度的整数倍数时,链表是不变的),求得的k值即有效的旋转次数 每次旋转,将最后一个结点移到第一个结点位置 所以每次都需要定位到最 ...
分类:
其他好文 时间:
2018-09-06 03:00:03
阅读次数:
100
下面是我这几天整合SpringMVC+Spring+MyBatis框架遇到的一些问题 ,在这里总结一下: 1:HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSyst ...
分类:
其他好文 时间:
2018-09-06 02:57:23
阅读次数:
429
计算机的基本硬件系统由运算器、控制器、存储器和输入、输出设备五大部件组成。运算器和控制器等部件被集成在一起统称为中央处理单元(Central Processing Unit,CPU)。 CPU的功能 (1)程序控制 CPU通过执行指令来控制程序的执行顺序,这是CPU的重要职能。 (2)操作控制 一条 ...
分类:
其他好文 时间:
2018-09-04 19:15:32
阅读次数:
549
中央处理器(Central Processing Unit, CPU)CPU的基本架构和工作原理其实百科上讲得已经相当清楚了,不过我觉得有些事情呢还是给个例子出来比较方便学习。本文会先从内存地址,计算机的一般架构之类的基础知识出发,然后逐步为读者"拼装"出一个超级简单的8-bit CPU。。。就像下... ...
分类:
其他好文 时间:
2018-09-04 19:03:47
阅读次数:
212
CSS transform 属性(变形,改变)允许你修改CSS视觉格式模型的坐标空间。使用它,元素可以被 translate(转换),rotate(旋转),scale(缩放),skew(倾斜) 需要特别强调一点:transform 属性只对 块级元素生效(有些大牛博客说对内联元素和块级元素),亲测结 ...
分类:
Web程序 时间:
2018-09-04 17:07:33
阅读次数:
532
// 键盘控制 var keyEvent = (function () { document.onkeydown = function (e) { if (e.keyCode === 38) { // up rotate alert("38"); ... ...
分类:
Web程序 时间:
2018-09-03 13:48:22
阅读次数:
248
目录 1.Collecting data 1.1 Register Your App 1.2 Accessing the Data 1.3 Streaming 2.Text Pre-processing 2.1 The Anatomy of a Tweet 2.2 How to Tokenise a ...
分类:
编程语言 时间:
2018-09-03 13:41:18
阅读次数:
214
AffineTransform tx = new AffineTransform(); tx.scale(scalex, scaley); tx.shear(shiftx, shifty); tx.translate(x, y); tx.rotate(radians); Shape newShape... ...
分类:
移动开发 时间:
2018-09-03 00:05:26
阅读次数:
179
AffineTransform tx = new AffineTransform(); tx.scale(scalex, scaley); tx.shear(shiftx, shifty); tx.translate(x, y); tx.rotate(radians, bufferedImage.g... ...
分类:
移动开发 时间:
2018-09-02 23:43:28
阅读次数:
201