sudo lsof -i : 9000COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEjava 61342 a 313u IPv6 0x1111111111111 0t0 TCP *:cslistener (LISTEN)然后根据PID杀进程:sudo kill -9 61342...
分类:
其他好文 时间:
2014-07-06 11:40:03
阅读次数:
192
AOSP ON MAKO(在NEXUS 4上刷ANDROID 4.4 源码包-下载/配置/编译/刷机)
特别感谢google官方文档及AOSP源码开放
参考链接:
https://source.android.com/source/building-devices.html (官方源码刷device)
https://developers.google.com/android/nexu...
分类:
移动开发 时间:
2014-07-06 10:56:04
阅读次数:
339
在使用linux的ramoops驱动模块时,在编译完加载时,会发现驱动加载不成功。明明直接使用的内核代码,为什么会出现这样的情况呢?
首先看一下ramoops的初始化代码:
180 static int __init ramoops_init(void)
181 {
182 return platform_driver_probe(&ramoops_driver, ramoops_pr...
分类:
其他好文 时间:
2014-07-04 00:24:28
阅读次数:
761
获取select :获取select 选中的 text : $("#ddlregtype").find("option:selected").text();获取select选中的 value: $("#ddlregtype ").val();获取select选中的索引: $("#d...
分类:
Web程序 时间:
2014-07-03 21:04:38
阅读次数:
280
package Gui;/** * check box must be in a same ButtonGroup can`t be selected * at the same time * * */import javax.swing.*;import java.awt.*;public c.....
分类:
其他好文 时间:
2014-07-03 07:18:15
阅读次数:
142
Gradle: The New Android Build SystemGoogle selected Gradle as the foundation of the Android SDK build system because it provides flexibility along wit...
分类:
移动开发 时间:
2014-07-03 00:10:08
阅读次数:
190
根据sql命令创建数据库或者数据表时候,判断库或者表是否存在比较重要。//要创建的表是否已经存在 function isHaveTable( $dbName,$tableN, $con) //数据库名, 表名, 连接参数 {//数据库存在的情况下 才开始判断表是否存在 $db_selected =....
分类:
Web程序 时间:
2014-07-02 23:24:34
阅读次数:
335
The Story:Last week, I found one of our embedded arm linux device ran out of flash space( totally only 128M for apps and OS).After checking for a whil...
分类:
其他好文 时间:
2014-07-02 14:30:13
阅读次数:
317
1. 属性列表: SelectionMode 组件中条目的选择类型,即多选(Multiple)、单选(Single) Rows 列表框中显示总共多少行 Selected 检測条目是否被选中 SelectedItem 返回的类型是ListItem,获得列表框中被选择的条目 Count 列表框中条目的总...
分类:
其他好文 时间:
2014-07-02 14:14:41
阅读次数:
183
转自:http://robert.penz.name/658/howto-access-mtp-devices-via-usb-on-ubuntu-12-04/ A friend asked me how he can access his Nexus 7 device via USB on hi....
分类:
其他好文 时间:
2014-07-02 13:51:19
阅读次数:
289