/**
* Ask one of the children of this view to measure itself, taking into
* account both the MeasureSpec requirements for this view and its padding
* and margins. The child must have Ma...
分类:
移动开发 时间:
2015-03-14 23:18:52
阅读次数:
463
当一个MySQL连接会话等待另外一个会话持有的互斥锁时,会发生Innodb锁等待情况。通常情况下,持有该互斥锁的会话(连接)会迅速的执行完相关操作并释放掉持有的互斥锁,进而等待的会话在锁等待超时时间到来前获得该互斥锁,进行下一步操作。但在某些情况下,比如一个实例未感知..
分类:
数据库 时间:
2015-03-13 19:01:34
阅读次数:
180
1. 在/home目录中创建一百个目录,目录名称依次为a1……a100.
2. 编写一个脚本,自动将用户主目录下所有小于5KB的文件打包成XX.tar.gz.(提示:用ls,grep,find等命令,文件一般指普通文件)
3.写一个程序,可以将/et/passwd的第一列取出,而且每一列都以一行字符串“the 1 account is “root””来显示
4. 编写一个程序,他的作用是先...
分类:
系统相关 时间:
2015-03-13 16:44:06
阅读次数:
350
Linux必备技能-用户及权限详解/etc/passwd文件Account:password:UID:GID:GECOS:directory:shell登录名:密码点位符:UID:GID:注释信息:家目录:用户的默认shell用户可以加入不止一个组:基本组额外组,附加组/etc/group文件:组名:组密码定位符:GID:以逗号分隔属于此组(以..
分类:
系统相关 时间:
2015-03-13 02:04:45
阅读次数:
185
1、安装gitsudo apt-get install git2、创建github帐号3、Linux创建SSH密钥:ssh-keygen //一直默认4、将公钥加入到Github账户信息Account Settings -> SSH Key5、测试验证是否成功ssh -T git@github.co...
分类:
系统相关 时间:
2015-03-12 20:47:48
阅读次数:
136
问题
SVN项目管理,提示被锁定,不能commit,也不能update,提示 clean the working copy and then。。。
解决方法...
分类:
系统相关 时间:
2015-03-12 17:19:11
阅读次数:
194
通过下面的语句查询出锁表的SQL:
select l.session_id sid,
s.serial#,
l.locked_mode,
l.oracle_username,
s.user#,
l.os_user_name,
s.machine,
s.terminal,
...
分类:
数据库 时间:
2015-03-12 17:05:22
阅读次数:
345
1、注册Stripe账号 https://stripe.com初始时账号是TEST模式,需要激活账号才能进入LIVE模式;点击 "Your Account" -> "Account Settings",出现如下弹出框:如果是TEST模式,请使用Test Secret Key和Test Publish...
分类:
Web程序 时间:
2015-03-12 12:50:22
阅读次数:
308
练习3-7原文Exercise 3.7. Consider the bank account objects created by make-account, with the password modification described in exercise 3.3. Suppose that our banking system requires the ability to make j...
分类:
其他好文 时间:
2015-03-11 19:41:24
阅读次数:
132
一、创建一个Windows Service1、创建Windows Service项目创建好了如下图,二、创建服务安装程序打开Service1.cs右键,点击安装程序选定“serviceProcessInstaller1”,设置Account属性值为“LocalSystem”,LocalSystem是...