摘要: Bootstrap 101 Template 用户名 ... 阅读全文
posted @ 2016-11-19 18:06 米小玉 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Document 你好,世界! 标签或赋予 .small 类的元素,可以用来标记副标题 --> 你好,世界! 你好,世界! 你好,世界! 你好,世界! 你好,世界! Vivamus sagittis acus vel augue laoreet ru... 阅读全文
posted @ 2016-11-19 12:37 米小玉 阅读(147) 评论(0) 推荐(0) 编辑
摘要: index.html 时钟 shizhong.js var dom=document.getElementById('clock'); var ctx=dom.getContext('2d'); var width=ctx.canvas.width;//定义宽度 var height=ctx.ca... 阅读全文
posted @ 2016-11-06 13:00 米小玉 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1、使用 typeof bar === "object" 判断 bar 是不是一个对象有神马潜在的弊端?如何避免这种弊端? let obj = {}; let arr = []; console.log(typeof obj === 'object'); //true console.log(typeof arr === 'object'); //true console.log(typ... 阅读全文
posted @ 2016-11-04 22:18 米小玉 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 基本命令 找出系统所有用户中shell不是/sbin/nologin的用户; cat /etc/passwd | grep -v "/sbin/nologin" 找到系统词典linux.words中“以a开头r结尾共19字母组成的单词”。 egrep '^a[a-z]{17}r$' /usr/share/dict/linux.words 查看/var/log/message的后30行... 阅读全文
posted @ 2016-11-04 13:32 米小玉 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 【 二 】表连接 1、显示每个学生所属的班级名称及姓名 --select classname,stuname from class inner join student on class.classno=student.classno 2、显示所有与你同姓的学生所属的班级名称及姓名 --select classname,stuname from class inner join s... 阅读全文
posted @ 2016-11-04 13:28 米小玉 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 数据库查询语句 【 一 】 1、检索student2010表中学制(XZ)为年的学生信息 --select * from student2010 where xz = '2' 2、检索course表中学分(credit)小于的所有课程 --select * from course where credit < '3' 3、检索course... 阅读全文
posted @ 2016-11-04 13:27 米小玉 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 练习50题 Student(Sid,Sname,Sage,Ssex) 学生表 Course(Cid,Cname,Tid) 课程表 SC(Sid,Cid,score) 成绩表 Teacher(Tid,Tname) 教师表 练习内容: 1.查询“某1”课程比“某2”课程成绩高的所有学生的学号; SELECT a.sid FROM (SELECT sid,score FROM SC WHERE cid... 阅读全文
posted @ 2016-11-04 13:26 米小玉 阅读(244) 评论(0) 推荐(0) 编辑
摘要: (1):active 被激活的元素(例如激活的链接)。 (2):first-child 元素的第一个子元素。 (3):focus 有焦点的元素(例如接收输入的表单字段)。 (4):hover 指向的元素(例如通过鼠标)。 (5):lang() 特定语言的样式。 (6):link 未跟踪的链接。 (7 阅读全文
posted @ 2016-11-04 12:44 米小玉 阅读(106) 评论(0) 推荐(0) 编辑
摘要: @charset "utf-8"; /*清掉浏览器默认间距*/ *{margin: 0;padding: 0;}/*内外间距*/ body{ background: #f5f5f5; } .header{ width: 100%; height: 42px; } .header img{ height: 42px; float: left; } .head... 阅读全文
posted @ 2016-11-03 22:38 米小玉 阅读(418) 评论(0) 推荐(0) 编辑