//算法1//Js代码 function uuid() { var s = []; var hexDigits = "0123456789abcdef"; for (var i = 0; i < 36; i++) { s[i] = hexDigits.s...
分类:
编程语言 时间:
2015-02-13 16:20:34
阅读次数:
207
- (NSString *)UUID{ CFUUIDRef uuid_ref = CFUUIDCreate(NULL); CFStringRef uuid_string_ref= CFUUIDCreateString(NULL, uuid_ref); CFRelea...
分类:
其他好文 时间:
2015-02-11 16:23:41
阅读次数:
214
Android为蓝牙设备之间的通信封装好了一些调用接口,使得实现Android的蓝牙通信功能并不困难。可通过UUID使两个设备直接建立连接。具体步骤:1. 获取BluetoothAdapter实例,注册一个BroadcastReceiver监听蓝牙扫描过程中的状态变化?1mBluetoothAdap...
分类:
移动开发 时间:
2015-02-10 12:48:32
阅读次数:
256
USE flowershopdb--全球唯一标识符(GUID UUID)SELECT NEWID()--增删改查--INSERT [INTO] [列名] VALUES INSERT tb_user VALUES('haha','123')INSERT INTO tb_user VALUES('...
分类:
数据库 时间:
2015-02-08 16:44:54
阅读次数:
268
【资料整理】磁盘-修改uuid删除数据盘并再度分区和格式化后,如何挂载到系统上呢?
1)得到uuid
[root@s79~]#ls-l/dev/disk/by-uuid/|grepsdb
lrwxrwxrwx1rootroot10Jul110:466e9e4443-cad6-40bd-8ccc-1798e72b2107->../../sdb1
2)更新原来的uuid
#mount–oremount,rw..
分类:
其他好文 时间:
2015-02-05 11:33:21
阅读次数:
207
标签:scsi_id udev 缺点:对于磁盘矩阵阵列,所有的设备的scsi_id都必须部署一遍,旷日费事。 虚拟机中测试: 摘自:http://blog.itpub.net/666724/viewspace-1058618/ VMware 中使用 scsi_id 查询磁盘UUID 在...
分类:
其他好文 时间:
2015-02-05 10:48:41
阅读次数:
431
场景描述:parted3.0版本一直以来都没有升级成功操作步骤一:CFLAGS=-Os.configure出错如下:configure:error:GNUPartedrequiredlibuuid-apartoftheutil-linux-ngpackage(butusuallydistributedseparatelyinlibuuid-devel,uuid-devorsimilar)Thiscanprobablybefoundonyourdistr..
分类:
其他好文 时间:
2015-02-04 18:56:26
阅读次数:
437
Vindor标示符 (IDFV-identifierForVendor)
这种叫法也是在iOS 6中新增的,不过获取这个IDFV的新方法被添加在已有的UIDevice类中。跟advertisingIdentifier一样,该方法返回的是一个NSUUID对象。
NSString *idfv = [[[UIDevice currentDevice] identifierForVendor] UUI...
分类:
移动开发 时间:
2015-02-04 14:38:23
阅读次数:
199
虚拟机自动启动###先查看要启动的虚拟机uuid,再用第二条命令设置自动启动。[root@xenserver-flt ~]# xe vm-list[root@xenserver-flt ~]# xe vm-param-set uuid=6beb4fca-7b93-d9fb-bcd2-dad63547...
分类:
其他好文 时间:
2015-02-04 12:37:58
阅读次数:
85
Android为蓝牙设备之间的通信封装好了一些调用接口,使得实现Android的蓝牙通信功能并不困难。可通过UUID使两个设备直接建立连接。
具体步骤:
1. 获取BluetoothAdapter实例,注册一个BroadcastReceiver监听蓝牙扫描过程中的状态变化
mBluetoothAdapter = BluetoothAdapter.getDefaultAdapt...
分类:
移动开发 时间:
2015-02-02 18:09:42
阅读次数:
140