一。单行文字打点: 三个css属性一件套: white-space: nowrap; // 不换行 over-flow: hidden; // 溢出隐藏 text-overflow: ellipsis; // 文本溢出打点 二、多行文字打点: (1)直接overflow: hiddne; 不打点 ( ...
分类:
其他好文 时间:
2016-09-08 22:55:02
阅读次数:
208
1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#; ]#cp/etc/rc.d/rc.sysinit/tmp vim/tmp/rc.sysinit :%s@^\([[:space:]]\+\)@#\1@2、复制/boot/grub/grub.conf至/tmp目录中,删除/tmp/grub.conf文件中的行首的空..
分类:
其他好文 时间:
2016-09-08 16:31:43
阅读次数:
159
之前zabbix一直提示xx机器swap空间不足,也没去管它,最近觉得还是处理一下比较好;首先了解下什么是swap分区:Linux中Swap(即:交换分区),类似于Windows的虚拟内存,就是当内存不足的时候,把一部分硬盘空间虚拟成内存使用,从而解决内存容量不足的情况。Android是基于Linux..
分类:
其他好文 时间:
2016-09-08 16:29:38
阅读次数:
144
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 典型的2 pointer 问题,一个走的快,一个走到慢,如果是cycle就一定会 ...
分类:
其他好文 时间:
2016-09-08 12:35:20
阅读次数:
100
1. 问题描述 Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you ar ...
分类:
其他好文 时间:
2016-09-08 00:58:57
阅读次数:
224
本周作业内容:1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;cp-a/etc/rc.d/rc.sysinit/tmp&&sed‘s/^[[:space:]]/#&/g‘/tmp/rc.sysinit2、复制/boot/grub/grub.conf至/tmp目录中,删除/tmp/grub.co..
分类:
其他好文 时间:
2016-09-07 23:10:03
阅读次数:
215
Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you ...
分类:
其他好文 时间:
2016-09-07 20:55:01
阅读次数:
120
1、编辑(Editing ) Ctrl + Space 基本的代码完成(类、方法、属性)Ctrl + Alt + Space 快速导入任意类Ctrl + Shift + Enter 语句完成Ctrl + P 参数信息(在方法中调用参数)Ctrl + Q 快速查看文档Shift + F1 外部文档Ct ...
分类:
其他好文 时间:
2016-09-07 12:50:50
阅读次数:
129
27. Remove Element Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for ...
分类:
其他好文 时间:
2016-09-07 12:35:43
阅读次数:
122
1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;[root@centfils~]#cp/etc/rc.d/rc.sysinit/tmp/|sed‘/^[[:space:]]\+/i\#‘/tmp/rc.sysinit[root@centfils~]#cp/etc/rc.d/rc.sysinit/tmp/|sed‘s@^[[:space:]]\+@‘#..
分类:
其他好文 时间:
2016-09-06 23:22:15
阅读次数:
167