自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (13)
  • 收藏
  • 关注

原创 h5 img有白边?

<div> <img /></div>img使用了border-radius: 50%,在手机上发现边上有白边,觉得很奇怪。在div上加上font-size: 0;或者vertical-align:bottom; 或者img加个display: block; 都无法解决。最后竟然发现是因为div使用position: absolute导致...

2019-08-06 16:01:10 1516

转载 【转】高性能web开发 - 如何加载JS,JS应该放在什么位置?

http://www.cnblogs.com/mofish/archive/2011/09/29/2195256.html外部JS的阻塞下载所有浏览器在下载JS的时候,会阻止一切其他活动,比如其他资源的下载,内容的呈现等等。至到JS下载、解析、执行完毕后才开始继续并行下载其他资源并呈现内容。    有人会问:为什么JS不能像CSS、image一样并行下载

2015-06-15 16:46:35 505

转载 mysql my.ini配置文件修改无效

my.ini配置文件怎么修改均无效,经过仔细检查,发现在服务里,默认加载的是这个路径下的my.ini:"C:/Program Files/MySQL/MySQL Server 5.6/bin\mysqld" --defaults-file="C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.6

2015-05-06 21:54:23 21752

转载 MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored

今天帮朋友维护服务器,在关闭数据库的命令发现mysql关不了,提示Warning: World-writable config file ‘/etc/my.cnf’ is ignored ,大概意思是权限全局可写,任何一个用户都可以写。mysql担心这种文件被其他用户恶意修改,所以忽略掉这个配置文件。这样mysql无法关闭。下面看下整个过程重启MySQL[roo

2015-05-05 21:36:32 37505

转载 VMware虚拟机中的CentOS安装Nginx后本机无法访问的解决办法

阵子在虚拟机上装好了centos5.3,并配好了nginx+php+mysql,但是本机就是无法访问。一直就没去折腾了。具体情况如下1。本机能ping通虚拟机2。虚拟机也能ping通本机3。虚拟机能访问自己的web4。本机无法访问虚拟己的web后来发现是防火墙将80端口屏蔽了的缘故。检查是不是服务器的80端口被防火墙堵了,可以通过命令:telnet server_ip

2015-05-05 20:02:11 2771

转载 Sublime Text 3 支持的热门插件推荐

转自:http://www.imjeff.cn/blog/146/SublimeText是一款非常精巧的文本编辑器,适合编写代码、做笔记、写文章。它用户界面十分整洁,功能非同凡响,性能快得出奇。这些非常棒的特性 包括任意跳转(Goto Anything)、多重选择(multiple selections)、指令面板(command palette)、免打扰模式(distraction free

2015-04-26 18:37:08 1840

转载 python 的日志logging模块学习

转自:http://www.cnblogs.com/dkblog/archive/2011/08/26/2155018.html1.简单的将日志打印到屏幕import logginglogging.debug('This is debug message')logging.info('This is info message')

2015-04-26 10:33:31 369

原创 Eclipse快捷键ctrl shift down 失效

想快捷复制当前行到下一行,我的一直都不行。ctrl + shift + down 会切换屏幕方向,百度后发现是显卡驱动的,右击右下角显卡驱动的小图标,里面有禁止方向转换或是开机自动启动的选项,禁任后发现还是不行,想想还是把显卡的快捷键换成Alt+Sheft,再试试后终于可以了。。。

2015-04-05 20:37:30 1352

转载 FEDORA 20尝试了各种安装FCITX拼音的方法,只有一种是可行的

http://www.linuxdiyf.com/bbs/thread-405843-1-1.html在360搜索,百度搜索,google,里面的方法都试了,没有一个可以启动FCITX,在FCITX-CONFIGTOO里没有找到中文输入法,包括FCITX-SOGOUPINYIN,FCITX-PINYIN,FCITX-CLOUDPINYIN,FCITX-SUNPINYIN等等,都没有在列,由

2014-09-28 21:35:53 1207

原创 关于类basic_ostream的构造函数被申明成protected

basic_ostream有两个构造函数:public: explicit basic_ostream(__streambuf_type* __sb) { this->init(__sb); }protected: basic_ostream(){this->init(0);} 在自己的类Trace中申明了streambuf *stream

2012-11-01 17:29:28 1415 2

liveusb-creator-3.11.7-setup

http://fedorahosted.org/liveusb-creator. LiveUSB Creator can create live USB media either from an image file that you downloaded previously, as described in Section 2.1.3, “Which Files Do I Download?”, or it can download an image file from the Internet. Either: click the Browse button under the Use existing LiveCD label, browse to the location where you previously downloaded a Fedora Live ISO file, and select that file. select a Fedora Live ISO file from the drop-down menu that LiveUSB Creator presents under the Download Fedora label. Note that image files are large and that it is probably impractical to use LiveUSB Creator to download an image file if you do not have a broadband connection to the Internet. Click Create Live USB. 我在XP下安装成功Fedora20.

2014-05-11

liveusb creator

用这个我成功的用USB安装了Fedora20. 挺好用的,推荐。 http://fedorahosted.org/liveusb-creator. LiveUSB Creator can create live USB media either from an image file that you downloaded previously, as described in Section 2.1.3, “Which Files Do I Download?”, or it can download an image file from the Internet. Either: click the Browse button under the Use existing LiveCD label, browse to the location where you previously downloaded a Fedora Live ISO file, and select that file. select a Fedora Live ISO file from the drop-down menu that LiveUSB Creator presents under the Download Fedora label. Note that image files are large and that it is probably impractical to use LiveUSB Creator to download an image file if you do not have a broadband connection to the Internet. Click Create Live USB.

2014-05-11

计算机程序设计艺术 The art of computer programming 中文版

The Art of Computer Programming 含卷1、卷2、卷3 中文版 中文版 没有找到高清版的 不喜忽下

2013-07-18

eclipse快捷键

如题 eclipse常用快捷键 eclipse常用快捷键

2011-04-15

android Toast大全(五种情形)

Toast用于向用户显示一些帮助/提示。下面我做了5种效果,来说明Toast的强大,定义一个属于你自己的Toast。

2011-04-14

计算机毕业设计+论文(OA)ssh框架

系统开发采用先进的开发软件与技术,即采用Dreamweaver页面制作软件与Photoshop等技术相结合开发系统的页面,用JSP动态页面设计技术与Struts、Spring、Hibernate技术,MySQL数据库管理系统开发强大完善的数据库支持环境。 转自:http://down.51cto.com/data/66525

2011-04-14

Android Application Development, 1st Edition

With this book, you will: Get a complete introduction to the Android programming environment, architecture, and tools Build a modular application, beginning with a core module that serves to launch modules added in subsequent chapters Learn the concepts and architecture of a specific feature set, including views, maps, location-based services, persistent data storage, 2D and 3D graphics, media services, telephony services, and messaging Use ready-to-run example code that implements each feature Delve into advanced topics, such as security, custom views, performance analysis, and internationalization

2011-03-11

shell编程教程 学习笔记

高级bash脚本编程指南 awk基础入门 shell程序编写 shell游戏:俄罗斯方块,五子棋 贪吃蛇 扫雷 shell学习笔记 等

2010-12-10

Linux实用培训学习教程1.0(最终版)

新概念Linux学习电子书籍,给大家一个离线认识Linux与学习Linux的平台。   本书是为广大Linux学习者制做的,本书内容基础,语言简短简洁,也节选了一些比较经典而且一定要了解的Linux知识,循序渐进的介绍Linux相关知识,从入门到提高,希望对所有学习Linux的朋友都有帮助。   本书主要包含了一些Linux基本技能及相关的操作技巧。   此版本为Linux实用学习教程(第一版)的增强版,增添了很多Linux知识。正式命名为Linux实用培训学习教程1.0(最终版),此后更新的版本为Linux实用学习教程(第二版)。   注:本书籍会继续更新,下一版本将在这个版本当中更进。点击查看这本书籍是否最新版本。   红联Linux论坛是致力于Linux技术讨论的站点,目前网站收录的文章及教程基本能满足不同水平的朋友学习。 红联Linux门户:www.linux110.com 红联Linux论坛:www.linux110.com/bbs

2010-12-10

创易电子--嵌入式学习步骤

创易电子--嵌入式学习步骤 适合初级入门,该如何学习Linux 和 嵌入式

2010-10-05

Linux内核代码构架图

Linux内核代码构架图 

2010-10-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除