- 浏览: 235197 次
- 性别:
- 来自: 上海
最新评论
-
iwindyforest:
pinocchio2mx 写道iwindyforest 写道H ...
VMware Workstation 11 或者 VMware Player 7安装MAC OS X 10.10 Yosemite -
nng119:
找不到设备的安装信息 这个问题怎么解决的?
VMware Workstation 11 或者 VMware Player 7安装MAC OS X 10.10 Yosemite -
pinocchio2mx:
iwindyforest 写道Hi pinocchio2mx ...
VMware Workstation 11 或者 VMware Player 7安装MAC OS X 10.10 Yosemite -
iwindyforest:
Hi pinocchio2mx 兄弟, 这个镜像是好的, 我安 ...
VMware Workstation 11 或者 VMware Player 7安装MAC OS X 10.10 Yosemite -
pinocchio2mx:
蛋疼啊,折腾一晚上还没搞定!网上的教程没一篇靠谱的,摸摸索索到 ...
VMware Workstation 11 或者 VMware Player 7安装MAC OS X 10.10 Yosemite
文章列表
Top 10 cyberwords in China: 屌丝 Diaosi, 元芳你怎么看 Yuan Fang, what do you think, 杜甫很忙 Du Fu Hen Mang, 高富帅,白富美 Gao Fu Shuai, Bai Fu Mei, 矮矬穷 Ai Cuo Qiong, 你幸福吗 Ni Xing Fu Ma, 躺着也中枪 Tang Zhe Ye Zhong Qiang, 给跪了 Gei Guil Le, 碉堡了 Diao Bao Le, 查水表 Cha Shui Biao.
1. 屌丝 Diaosi
“Diao Si” literally means “pe ...
SqlServer标识列
- 博客分类:
- Database
一、标识列的定义以及特点SQL Server中的标识列又称标识符列,习惯上又叫自增列。该种列具有以下三种特点:1、列的数据类型为不带小数的数值类型2、在进行插入(Insert)操作时,该列的值是由系统按一定规律生成,不允许空值3、列值不重复,具有标识表中每一行的作用,每个表只能有一个标识列。由于以上特点,使得标识列在数据库的设计中得到广泛的使用。二、标识列的组成创建一个标识列,通常要指定三个内容:1、类型(type)在SQL Server 2000中,标识列类型必须是数值类型,如下:decimal、int、numeric、smallint、bigint 、tinyint其中要注意的是,当选择de ...
头文件与之实现文件的的关系
- 博客分类:
- Linux
头文件与之实现文件的的关系今天在网上看到一篇解释.h与.c(.cpp)的文章,我读完后感到有些地方不妥,特此按照我的理解,给初学者一些指导~说几句题外话,刚才让女朋友陪我出去一会,她说她要先化化妆,我随口就来--简单就是美丽啊 ...
把内存当硬盘用: tmpfs & ramfs & ramdisk一.tmpfs某天我学了个“奇巧淫技”:在/etc/fstab 里加上一句none /tmp tmpfs defaults 0 0,重起之后/tmp就在内存里了,因为/tmp放的是临时文件,这样每次关机就清空,又减少硬盘读写,而且 ...
话说C语言的const
- 博客分类:
- Linux
话说C语言的constconst在C语言中算是一个比较新的描述符,我们称之为常量修饰符,意即其所修饰的对象为常量(immutable)。我们来分情况看语法上它该如何被使用。1、函数体内修饰局部变量。例:void func(){const int a=0;}首先,我们先 ...
进程控制入门进程系统Linux是个多任务多用户的操作系统,系统直接管理的每个任务的最小单位,就是进程(process)。每个进程都有一个惟一的标识符pid,不同的进程pid不相同,在Shell下输入ps -A,可以显示当前的所有进程。一个进 ...
有8种方式使进程终止,其中前5种为正常终止,它们是: 1:从 main 返回 2:调用 exit 3:调用 _exit 或 _Exit 4:最后一个线程从其启动例程返回 5:最后一个线程调用 pthread_exit 异常终止有3种,它们是: 6:调用 abort 7:接到一个信号并终止 8:最后一个线程对取消请求做出响应 补充:exit和_exit还有atexit函数的区别:exit()在结束调用它的进程之前,要进行如下步骤:1.cleanup();2.在atexit()注册的函数;3.最后调用_exit()函数.
i18next: A Solution for Front End i18n Message
Purpose
This document is used to introduce a solution which can
support below features:
Ø
Support displaying i18n message in javascript
Ø
Support displaying message with parameters
Ø
Support display text for H ...
Chinese in the eyes of the African people
By Liu Zhirong
I spent the last few years in Africa in close contact with African people from all walks of life.
What do they think of the Chinese people, who came to Africa rather late on an economic expedition?
Their general impression of the Chinese ...
人们称西方男人对中国女人的热爱为yellow fever(黄热病),这真是一种有趣而又贴切的说法。
相对于yellow fever,很多中国女人都患有white fever(不知道有没有这种说法)。她们对西方男人充满幻想,即使受了伤,也仍是执迷不悟。
于是,这两种fever将上述的这两种人折磨的半死。
Increasing trend of interracial narriage
This is not an article intended to be racist, so to those red neck already jumping out of their sea ...
There's no timestamp of each command when we are using 'history
' command to see the command records.
We can add timestamp for each command by following steps:
1. Edit ~/.bashrc
or /etc/bashrc
export HISTTIMEFORMAT="%m-%d-%Y %H:%M:%S "
Note: m, d are in lowercase, Y ...
Definition
#include <getopt
.h>
extern char *optarg
;
extern int optind
, opterr
, optopt
;
int getopt_long
(int argc
, char * const argv
[],
const char *optstring
,
const struct option *longopts
, int *longindex
);
optarg
: i ...
from: http://objology.blogspot.com/2011/09/one-of-best-bits-of-programming-advice.html
Years ago (early 1992), I attached myself to this crazy skunkworks
project that was using this weird language called Smalltalk. "Object
Oriented" was in its infancy as a "hot" item. High ...
from: http://blog.crazybob.org/2007/01/lazy-loading-singletons.html
I woke up this morning thinking I
knew all there was to know about lazy loading singletons in Java. Boy,
was I wrong. Java doesn't cease to surprise me, even after all these
years ...
List<String> list = new ArrayList<String>();
//使用foreach循环会抛出ConcurrentModificationException异常
for(String s : list) {
if(name.equals(s) {
list.remove(s);
}
}
因为foreach使用Iterator来遍历元素的, 每次元素开始遍历之前都会检查集合中的数据是否一致, 如果不一致则抛
ConcurrentModificationExcep ...