{ "vmtemplate": { "NAME": "bbbb", "MEMORY": "512", "CPU": "1", "DESCRIPTION": "aaaa", "DISK": [ {...
分类:
其他好文 时间:
2014-07-16 19:54:28
阅读次数:
165
#查看log,获取版本号 git log#本地仓库回退到某个版本 git reset --hard baeertasdasdvf#新建需要回退的版本old_master分支做备份 git branch old_master #push到远程 git push origin old_mas...
分类:
其他好文 时间:
2014-07-16 19:46:01
阅读次数:
203
举一个容易犯错的例子class Date{private: int month; int day; int year;public:Date(int month,int day,int year){ this->month = month; ... }}//wrong exampleDa...
分类:
编程语言 时间:
2014-07-12 00:13:54
阅读次数:
235
上次用U盘装系统后,U盘缩水1G多,格式化和快速格式化,没有用,无法恢复U盘原来的容量,后来在网上查到一个方法,成功释放U盘空间,故将恢复方法写在下面。(1)右击“我的电脑”,选择“管理”选项,之后选择“磁盘管理”,查看自己U盘的索引,如:Disk 1(2)在运行窗口,输入cmd,回车,出现Dos运...
分类:
其他好文 时间:
2014-07-11 12:25:55
阅读次数:
605
先记下来,空了去看看 //开始备份 with adoquery1 do begin close; sql.Clear; sql.Add('Backup database library to disk=:p1 with init'); parameters.ParamByName('p1').Val...
分类:
数据库 时间:
2014-07-11 12:05:22
阅读次数:
252
错误例子:error: command 'cc' failed with exit status 1clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard err...
分类:
其他好文 时间:
2014-07-10 19:30:11
阅读次数:
3913
写ruby blog 系统的记录下。也是对我学ruby的点滴记录。先介绍下我的学习环境。系统:ubuntu12.04文档:techotopia ,ruby文档,the hard way learn ruby 以及其他文档记录:有道云笔记关于ruby学习ruby 通常会介绍下ruby的历史和发展,但是...
分类:
其他好文 时间:
2014-07-10 16:42:21
阅读次数:
177
题意:给你一个数字字符串,问在字符串中间加‘=’、‘+’使得‘=’左右两边相等。
1212 : 1+2=1+2, 12=12;
12345666 : 12+3+45+6=66, 1+2+3+4+56=66;
#include
#include
#include
#include
#include
#include
#include
#include
#include
#inc...
分类:
其他好文 时间:
2014-07-08 14:41:26
阅读次数:
243
一、基础1、说明:创建数据库CREATE DATABASE database-name 2、说明:删除数据库drop database dbname3、说明:备份sql server--- 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', '...
分类:
数据库 时间:
2014-07-03 23:31:08
阅读次数:
270
1.Linux链接概念
Linux链接分两种,一种被称为硬链接(Hard Link),另一种被称为符号链接(Symbolic Link)。默认情况下,ln命令产生硬链接。
【硬连接】
硬连接指通过索引节点来进行连接。在Linux的文件系统中,保存在磁盘分区中的文件不管是什么类型都给它分配一个编号,称为索引节点号(Inode Index)。在Linux中,多个文件名指向同一索引节点是存在的...
分类:
系统相关 时间:
2014-07-03 15:56:55
阅读次数:
318