调整硬盘分区大小 ========== 想增加root空间,减少home空间。 ##1.查看硬盘使用情况。 [root@npm ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root 48G 45G 17M 100% / tmp...
分类:
其他好文 时间:
2014-07-31 13:42:36
阅读次数:
248
angularjs 使用ng-repeat报错
{{word}}
[ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys
发现是因为相同的内容重复引起,解决方案
{{word}}
在ng-...
分类:
其他好文 时间:
2014-07-31 13:34:04
阅读次数:
199
mkisofs -r -J -V Beini-Custom -v --boot-info-table --boot-load-size 4 -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o ../beini.iso beinisee...
分类:
系统相关 时间:
2014-07-31 12:59:06
阅读次数:
478
今天使用模拟器,测试时,突然间, 模拟器起不来了。提示信息:The Simulator can't be launched because it is already in use .大概意思是: 在用simulatorrun 项目A的时候有时会提示,一般是另外一个项目B用着simulator,然....
分类:
其他好文 时间:
2014-07-31 12:26:16
阅读次数:
506
利用现有的插件,在Clojure中添加gzip的功能是很方便的。1. 在project.clj中添加对bk/ring-gzip插件的依赖。:dependencies [bk/ring-gzip "0.1.1"]2. 然后在handle文件中添加引用(:use [ring.middleware.gzi...
分类:
其他好文 时间:
2014-07-31 09:44:15
阅读次数:
189
先看一个seajs的官方example, 以下以seajs.use('main')为例, 解析加载mod main的过程//app.htmlseajs.use("main"); //main.jsdefine(function(require) { var Spinning = require('....
分类:
Web程序 时间:
2014-07-30 20:38:44
阅读次数:
301
these are the basic steps of installing domU with xen-tools in ubuntu13.04 64bit in xen4.3you can also use virt-manager which has an UI, but there may...
分类:
其他好文 时间:
2014-07-30 20:05:14
阅读次数:
588
Tempo 2.0Tempo is an easy, intuitive JavaScript rendering engine that enables you to craft data templates in pure HTML.Why use Tempo?Clear separation ...
分类:
其他好文 时间:
2014-07-30 17:16:54
阅读次数:
712
>netstat -ano | findstr 8009
TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING 2188
E:\eclipse_workspace\normandy>taskkill /PID 2188
错误: 无法终止 PID 为 2188 的进程。
原因: 只能强行终止这个...
SQL(结构化查询语言)mysql登陆mysql -u root -p创建数据库CREATE DATABASE [数据库名称]; ex:CREATE DATABASE samp_db;查询当前数据库SELECT DATABASE();选择数据库USE [数据库名称];ex:USE samp_db;创...
分类:
数据库 时间:
2014-07-30 07:38:03
阅读次数:
310