摘要: 很多论坛都使用在线编辑器,一直好奇它们是如何实现的,在网上搜索了一些资料,终于有所收获,纠正了资料中的一些错误,凑了一个可以直接demo的例子: <IFRAME id="HtmlEdit" style="WIDTH: 100%; HEIGHT: 296px" marginWidth="0" marg 阅读全文
posted @ 2017-11-16 16:41 realhero 阅读(1544) 评论(0) 推荐(0) 编辑
摘要: 转载地址:http://blog.csdn.net/chenguanzhou123/article/details/9376537#,如果有侵犯原创,请留言告知,本人会及时删除。 前言 SQLite数据库由于其简单、灵活、轻量、开源,已经被越来越多的被应用到中小型应用中。甚至有人说,SQLite完全 阅读全文
posted @ 2017-09-08 16:28 realhero 阅读(2334) 评论(0) 推荐(0) 编辑
摘要: 1. 安装增强功能包(Guest Additions) 安装好Ubuntu 9.10后,运行Ubuntu并登录。然后在VirtualBox的菜单里选择"设备(Devices)" -> "安装增强功能包(Install Guest Additions)"。 你会发现在Ubuntu桌面上多出一个光盘图标 阅读全文
posted @ 2017-07-03 11:09 realhero 阅读(764) 评论(0) 推荐(1) 编辑
摘要: linux客户机中安装增强功能包总会提示缺少kernel头文件 根据发行版的不同,用命令行软件包管理命令安装dkms build-essential linux-headers-$(uname -r),我的客户机是openSUSE,所以命令如下: zypper install dkms build- 阅读全文
posted @ 2017-07-03 10:26 realhero 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 最近研究centos7安装bind做DNS服务器,都配置好了后,重启后用systemctl status named 发现好多诸如以下错误:error (network unreachable) resolving 'pool.ntp.org.dlv.isc.org/DLV/IN': 2001:50 阅读全文
posted @ 2017-05-25 10:08 realhero 阅读(2651) 评论(0) 推荐(0) 编辑
摘要: 本次全新安装mint18.1,遇到一些问题,全部解决,怕日后忘记,再捣鼓琢磨,浪费时间,特记录在此: 一、楷体字体问题 安装完后的mint18.1,显示都是楷体,经请教薄荷论坛高手,可用以下办法解决: 在/etc/fonts/conf.avail/中建一文件,名为69-language-select 阅读全文
posted @ 2017-01-12 17:31 realhero 阅读(4029) 评论(0) 推荐(0) 编辑
摘要: 环境:CentOS 5.0 操作系统一.安装:1.安装Vsftpd服务相关部件:[root@KcentOS5 ~]# yum install vsftpd*Dependencies Resolved Package Arch Version Repository Size Installing:vs 阅读全文
posted @ 2016-10-25 16:53 realhero 阅读(3739) 评论(0) 推荐(0) 编辑
摘要: 首先用package control安装sublimelinter和sublimelinter-php,然后依次点击菜单preference-package settings-sublimelinter-“settings-user“,内容中输入: 其中"C://Users//zyx//myprog 阅读全文
posted @ 2016-10-24 10:57 realhero 阅读(2323) 评论(0) 推荐(0) 编辑
摘要: 国产良心操作系统deepin,界面好看,反应速度快,开箱即用,深度商店里有非常多好用的linux、windows软件,其windows软件通过crossover进行运行,还可以运行一些安卓的apk程序,非常的方便,值得一试,是时候扔掉windows了,windows太容易中毒了,软件虽多,但那些破解 阅读全文
posted @ 2016-10-18 16:09 realhero 阅读(11003) 评论(1) 推荐(2) 编辑
摘要: PHP命名规则 引用地址:http://www.cnblogs.com/pengxl/p/3571157.html 就一般约定而言,类、函数和变量的名字应该是能够让代码阅读者能够容易地知道这些代码的作用,应该避免使用凌磨两可的命名。 1. 类命名 使用大写字母作为词的分割,其他的字母均使用小写。 名 阅读全文
posted @ 2016-09-07 11:05 realhero 阅读(207) 评论(0) 推荐(0) 编辑