码迷,mamicode.com
首页 >  
搜索关键字:ubuntu root 密码忘记-恢复    ( 75167个结果
无需ROOT就能拿ANR日志
File anrFile = null; String status = Environment.getExternalStorageState(); if (status.equals(Environment.MEDIA_MOUNTED)) { ...
分类:其他好文   时间:2014-05-23 12:08:36    阅读次数:417
让Debian以root登录
Debian默认不允许root登录,所以修改之。(1)让Debian以root登录修改gdm3的登录pam文件#vi /etc/pam.d/gdm3将auth required pam_succeed_if.so user != root quiet_success注释掉 //本行前加#重启即可(2...
分类:其他好文   时间:2014-05-23 12:00:51    阅读次数:447
LeetCode: Maximum Depth of Binary Tree 题解
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-05-23 11:54:10    阅读次数:317
mini2440 最小根文件系统制作和nfs启动
mini2440 内核启动后,可以用busybox制作一个简单的根文件系统并用nfs来启动该文件系统启动mini2440, 按任意键进入uboot,按q键进入uboot命令行:执行以下命令:set bootargs "noinitrd root=/dev/nfs rw nfsroot=192.168...
分类:其他好文   时间:2014-05-23 11:52:08    阅读次数:357
自己动手实现getElementsByClassName
看了一句话,我们都是搬运工,github的搬运工,下面这代码搬运来自各个地方,最后成型。var classCache = {}; function getElementsByClassName(cls, root, tag){ var elems, classRE, rs = []; roo...
分类:其他好文   时间:2014-05-23 11:12:19    阅读次数:367
ubuntu下openGL的配置方法
This is a simple tutorial to show a new linux user (such as myself) how to setup freeglut and OpenGl. OS: ubuntu 12.1 I have just recently become a .....
分类:其他好文   时间:2014-05-23 11:07:45    阅读次数:380
(转)Ubuntu下彻底卸载mysql
感谢原作者,文章内容很实用。原文链接:http://www.blogjava.net/yjhmily/articles/336926.html================================================================ 做个记录:1、删除 mysq...
分类:数据库   时间:2014-05-23 10:35:19    阅读次数:313
hdu 1232 畅通工程
题目:     链接:点击打开链接 算法:     赤裸裸的并查集。 代码: #include #include #include using namespace std; int n,m; int root[1010]; int find(int x) { int r = x; while(root[r] != r) r = root[r]; ...
分类:其他好文   时间:2014-05-22 10:36:30    阅读次数:219
分析邮件日志从每秒处理3个结果到每秒处理55个结果过程(grep提速)
由于业务需要,对EDM发出的邮件日志进行分析处理,我要做的是预处理,把posfix杂乱无章的日志中找到我需要的数据.我用javamail发的邮件,发送邮件时获取到是一个messageId,形如:2135546465.103503.1400232891548.JavaMail.root@hostnam...
分类:其他好文   时间:2014-05-20 09:19:16    阅读次数:267
[Ubuntu] Autostart nginx, php-fpm and mysql in Ubuntu14.04
[nginx]Step 1Download the shell scriptwget https://raw.github.com/JasonGiedymin/nginx-init-ubuntu/master/nginx -O /etc/init.d/nginxStep 2chmod +x /etc...
分类:数据库   时间:2014-05-20 09:00:18    阅读次数:401
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!