git repo backup

git repo backup 1 git bundle create /tmp/somefile master 然后传输这个文件包, somefile ,给某个其他参与者: 电子邮件,优盘,一个 xxd 打印品和一个OCR扫描仪,通过电话读字节,狼烟,等等。接收

FreeDOS USB Bootable Drive

FreeDOS USB Bootable Drive http://www.aselabs.com/articles.php?id=243 Author Aron Schatz Posted March 3, 2008 Views 61988 We all use flash drives instead of the older floppy disk standard of last century. The problem with USB is that it isn’t made to boot like a floppy disk. Motherboards now support booting from USB drives made to look like hard drives. This guide is a step by step process running on Ubuntu. Tags Guides USB DOS Boot

linux test

linux test http://www.ibm.com/developerworks/cn/linux/l-bash-test.html 内置命令 test 根据表达式_expr_ 求值的结果返回 0 (真) 或 1 (假) 。也可以使用方括号: test expr 和 [ _expr_ ] 是等价的。 可以用$? 检查返回值;可以使

linux 格式化U盘

linux 格式化U盘 先卸载u盘 #umount /dev/sdb1 #注意/dev/后面的设备要根据你的实际情况而定 格式化并建立VFAT文件系统 #mkfs.vfat /dev/sdb1 最后再mount上就成了,或者把U

linux下制作dos启动U盘

linux下制作dos启动U盘 下载镜像文件win98usb.tar http://ubuntuforums.org/showthread.php?p=5459421#post5459421 查看U盘挂载点 df -h sudo dd if=win98usb.img of=/dev/sdb conv=notrunc unzip the package win98boot.zip mount the usb disk Copy the bootable ISO BIOS files to the USB stick sudo cp -r xxx

OSGi

OSGi http://zhidao.baidu.com/question/4918483 第一章 引言 OSGi (Open Service Gateway Initiative) 最初的目的就是为各种嵌入式设备提供通用的软件运行平台,即可以屏蔽设备操作系统与硬件区别的中间件平台。PC基本上被 Wi

java5

java5 可变参数, 变长参数 在 Java 5 中提供了变长参数,允许在调用方法时传入不定长度的参数。变长参数是 Java 的一个语法糖,本质上还是基于数组的实现: public class Varargs {

ts

ts 一个 调用 有道词典 在命令行里翻译单词的 linux shell 脚本 author: Hex Lee lihe757@gmail.com 1.添加此脚本到~/.bashrc的末尾 2.source ~/.bashrc ts hello 你好 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

DBCP

DBCP DBCP(DataBase connection pool),数据库连接池。是 apache 上的一个 java 连接池项目,也是 tomcat 使用的连接池组件。单独使用dbcp需要3个包: common-dbcp.jar

JDBC

JDBC JDBC 是阻塞的、同步的 jdbc (java database connection) 就是java数据库链接的api,是java标准类库的扩展,用它可以应用sql访问数据库,完成对数据库的查找,更新

so, dll, 动态链接库

so, dll, 动态链接库 不同操作系统的动态链接库文件格式稍有不同,Linux称之为共享目标文件 (Shared Object),文件后缀为.so,Windows的动态

FileDisk

FileDisk FileDisk原理分析! 2008-03-16 12:34 FileDisk作为开源代码,在网上广为流传,是卷,磁盘方面驱动的基础代码,对于刚刚接触驱动程序开发的朋友说

CDI

http://www.infoq.com/cn/articles/cf-javaone-2011-cdi-google-dart CDI 对于依赖注入的概念,相信很多开发人员都不陌生。一个组件在运行过程中会依赖其他组件提供的功能。传统的做法是由组件本身负责查找所需的依赖对象

Spring的静态工厂方法

Spring的静态工厂方法 http://blog.csdn.net/chensugang/article/details/3357593 上一次写了一篇关于DI的三种方式,其中里面介绍了构造方法的方式,今天学习了一种替代构造器的方法,这就是静态工厂方

static factory method

static factory method 创建类的实例的最常见的方式是用new语句调用类的构造方法。在这种情况下,程序可以创建类的任意多个实例,每执行一条new语句,都会导致J

tunctl

tunctl tunctl is used to set up and maintain persistent TUN/TAP network interfaces, enabling user applications to simulate network traffic. Such interfaces is useful for VPN software, virtualization, emulation, simulation, and a number of other applications. -t _interface _Specifies the desired interface name. **-b **Brief output, prints just the interface name -d _interfacename _Delete the specified interfacename (set it to non-persistent) -t _interface _Specifies the desired interface name. -u _user

virt-manager error

virt-manager error After I finished the install of the “kvm ,qemu-kvm ,libvirt-bin,virtinst,virt-manager”. I want to connect to my vms through the virt-manager .But I come to this error: Unable to open a connection to the libvirt management daemon. Libvirt URI is: qemu:///system Verify that: The ‘libvirtd’ daemon has been started And more details: Unable to open connection to hypervisor URI ‘qemu:///system’:

LSM-Tree

LSM-Tree LSM-Tree, Log Structured Merge Tree LSM-Tree 能将离散的随机写请求都转换成批量的顺序写请求 (WAL + Compaction),以此提高写性能。 十多年前,谷歌发布了大名鼎鼎的&quo

undefined reference to ...

undefined reference to … https://zhuanlan.zhihu.com/p/81681440 /usr/bin/ld: cannot find -lxxx 的解决办法 在软件编译过程中,经常会碰到类似这样的编译错误: /usr/bin/ld: cannot find -lhdf5 这表示找不到库文件 libhdf5.so,若是其它库文件,