In this styled-components lesson, we set a "primary color" within a UI "theme" object. We make this theme accessible to all components by wrapping our ...
分类:
移动开发 时间:
2017-08-14 10:04:31
阅读次数:
193
新进入了某坑爹外包公司,所有的项目几乎都是用很古老的框架struts1,这里对struts温习下,并搭建了一个简单的登录工程。 1、Eclipse下创建一个Web工程,工程名称StrutsOneDemo,根目录修改为WebRoot(这样的Web工程可以在myeclipse下正常运行),该工程实现登录 ...
分类:
其他好文 时间:
2017-08-14 01:33:05
阅读次数:
175
处理方案: 1、先用localhost方式连接到MySQL数据库,然后使用MySQL自带的数据库mysql; use mysql; 2、执行:select host from user where user = 'root'; 发现,host的值就是localhost。 所以将它的值改掉:updat ...
分类:
数据库 时间:
2017-08-14 01:30:57
阅读次数:
288
一、前言 注解(Annotation),实际上和属性、方法一样,都是一个类的组成部分,不过对于初学者来说还是有点陌生的,因为注解是给别人用的,而属性和方法都是自己用的,这就导致没有对注解进行深入的学习,而在使用别人框架的时候,才被迫去了解框架提供的注解的使用方法。 注解的形式都是以@开头,在微博微信 ...
分类:
编程语言 时间:
2017-08-14 00:42:45
阅读次数:
180
[root@localhost ~]# /sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT[root@localhost ~]# /etc/rc.d/init.d/iptables savebash: /etc/rc.d/init.d/ipta ...
分类:
数据库 时间:
2017-08-14 00:35:57
阅读次数:
193
一、设置等宽的表格 table设置宽,则每列平分table的宽 示例 二、flexbox 布局 智能计算padding 容器属性(CSS的columns在伸缩容器上没有效果) flex-direction: row | row-reverse | column | column-reverse; f ...
分类:
Web程序 时间:
2017-08-14 00:34:03
阅读次数:
229
这是的方式 使用此方法连接 $host=连接地址(IP地址,一般都是“localhost”) $user=用户名(root) $password=' ' $database=数据库名称 $port=端口号(一般为‘3306’) $ socket=为连接名 例: ...
分类:
数据库 时间:
2017-08-14 00:31:08
阅读次数:
161
安装时候遇到 there was a problem validating the license because the Operating System identification seems to have changed 需要把旧的删除 C:\ProgramData\Unity 下面的ul ...
分类:
其他好文 时间:
2017-08-14 00:28:00
阅读次数:
204
韩梦飞沙 韩亚飞 313134555@qq.com yue31313 han_meng_fei_sha 设置gradle不是每次都下载 \.gradle\wrapper\dists\ 在你导入项目的时候,有个选项的: 你要是选了Use default gradle mapper就会下载一次,Use ...
分类:
移动开发 时间:
2017-08-13 23:27:17
阅读次数:
284
QML 与 C++ 交互之工厂方法 先看例如以下的类声明,声明了一个产品类和工厂类。 #include <QObject> class Productor : public QObject { Q_OBJECT Q_PROPERTY(int age READ age WRITE setAge NOT ...
分类:
编程语言 时间:
2017-08-13 23:25:54
阅读次数:
208