码迷,mamicode.com
首页 >  
搜索关键字:$parent $el $mount    ( 14483个结果
Ubuntu 13.10上用户如何获得root权限,用户如何获得永久root权限,如果配置root登录
一、用户如何获得root权限: 1. 进入terminal 2. 输入sudo  passwd root   并设置密码,提示要你输入两次密码,自己设定密码,一定要记住,然后切换到root使用 3. 输入 su root, 要求你输入密码,然后输入刚才设定的密码回车就进去了 4. 如果不想切换root但是想拥有大部分root权限,可以在使用命令时候加上sudo, sudo mount挂载...
分类:其他好文   时间:2014-05-10 10:42:17    阅读次数:305
Android Scrollview 内部组件android:layout_height="fill_parent"无效的解决办法
Found the solution myself in the end. The problem was not with theLinearLayout,but with theScrollView(seems weird, considering the fact that theScroll...
分类:移动开发   时间:2014-05-08 13:42:02    阅读次数:321
自定义QToolButton
最近做界面需要添加很多工具栏按钮,所以自己定义了一个Button直接上代码 1 #include "SettingButton.h" 2 #include 3 #include 4 5 _DIYButton::_DIYButton(QWidget *_Parent) : 6 QTool...
分类:其他好文   时间:2014-05-08 01:21:32    阅读次数:310
Android开发遇到的问题
1、导入某个现有工程文件夹后,出现R资源不能resolve的错误,导致程序无法编译运行,此时右键->properties->android,看最上面的taget又没有选择对,勾选当前可选的最高那个版本(即你本机已经安装的最高版本的SDK),点击apply,错误解决。 2、style.xml里出现样式无法识别: error: Error retrieving parent for ite...
分类:移动开发   时间:2014-05-07 11:52:55    阅读次数:434
Android学习笔记(九)——更复杂的进度对话框
显示操作进度的对话框 1、使用上一篇创建的同一项目,在activity_main.xml文件中添加一个Button: <Button android:id="@+id/btn_dialog3" android:layout_width="fill_parent" android:layout_height="wrap_cont...
分类:移动开发   时间:2014-05-07 11:30:28    阅读次数:434
iframe子页面与父页面js通信
iframe子页面与父页面通信根据iframe中src属性是同域链接还是跨域链接,通信方式也不同。一、同域下父子页面的通信父页面parent.html 子页面child.html 方法调用父页面调用子页面方法:FrameName.window.childMetho...
分类:Web程序   时间:2014-05-07 11:20:40    阅读次数:434
[Oracle datagard]从库恢复之 ORA-16032: parameter ORA-07286:问题
机房断电,所以oracle的datagard的从库需要重新启动:1 登录sqlplus启动,出现报错信息:SQL> STARTUP MOUNT;ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translatedORA-07286: sksagdi: cannot obtain device informat...
分类:数据库   时间:2014-05-07 06:45:10    阅读次数:610
Recover Grub after Windows 7 installation
1. 制作Debian Live USB。 2. 安装grub-pc 3. 挂载/和/boot 4. grub-install 5. mount --bind ... ......
分类:Windows程序   时间:2014-05-07 05:21:43    阅读次数:458
C/C++ -- Gui编程 -- Qt库的使用 -- 构造函数中添加组件
在构造函数中定义一个标签,设置自动换行和样式表-----mywidget.cpp----- 1 #include "mywidget.h" 2 #include "ui_mywidget.h" 3 #include 4 5 MyWidget::MyWidget(QWidget *parent) .....
分类:编程语言   时间:2014-05-07 01:34:10    阅读次数:352
js:深入继承
/**  * js实现继承:  * 1.基于原型链的方式  * 2.基于伪造的方式  * 3.基于组合的方式  */ 一、基于原型链的方式 function Parent(){   this.pv = "parent";  } Parent.prototype.showParentValue = function(){   console.log(this.pv);  }...
分类:Web程序   时间:2014-05-06 18:49:35    阅读次数:387
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!