摘要: #!/bin/bash### BEGIN INIT INFO# Provides: xiyoulib# Required-Start: $all# Required-Stop: $all# Default-Start: 2 3 4 5# Default-Stop: 0 1 6# Sho... 阅读全文
posted @ 2014-12-24 10:28 半醉半醒201 阅读(596) 评论(0) 推荐(0)
摘要: sudo apt-get install fcitx一句话搞定,但会影响系统的运行命令http://www.360doc.com/content/14/1126/15/168576_428234848.shtml这是另一种,较麻烦,但是好用 阅读全文
posted @ 2014-11-27 18:20 半醉半醒201 阅读(119) 评论(0) 推荐(0)
摘要: 1.新建Data 目录2.安装插件1.emmet2.ctagsubutun下 sudo apt-get install exuberant-ctags3.成对匹配的增强BracketHighlighter4.html -css -pretty5.phpbeauterfier1.按 pear sudo... 阅读全文
posted @ 2014-11-27 15:25 半醉半醒201 阅读(173) 评论(0) 推荐(0)
摘要: sudo apt-get update; sudo apt-get install taskselsudo taskseltasksel ubuntun 安装lamphttp://wenku.baidu.com/link?url=P4sMRZSyVUbSprsLULcylcDKf7-2TGL8sSO... 阅读全文
posted @ 2014-11-27 09:49 半醉半醒201 阅读(148) 评论(0) 推荐(0)
摘要: 1、在根目录下新建一个目录 /down,用来保存下载的文件 # mkdir /down cd /down 2、安装 node.js 相关软件 首先要安装 gcc gcc-g++ openssl-devel # yum install gcc gcc-g++ openssl-devel yum install -y bzip2* 3、下载 python 2.7 #wget http://w... 阅读全文
posted @ 2014-11-25 00:23 半醉半醒201 阅读(189) 评论(0) 推荐(0)
摘要: grep -R "test" var/x/ 阅读全文
posted @ 2014-11-24 23:23 半醉半醒201 阅读(106) 评论(0) 推荐(0)
摘要: mysql 创建一个用户 hail,密码 hail,指定一个数据库 haildb 给 hailmysql -u root -ppassworduse mysql;insert into user(ho mysql 创建一个用户 hail,密码 hail,指定一个数据库 haildb 给 hail mysql -u root -p password use mysql; insert into us... 阅读全文
posted @ 2014-11-01 15:42 半醉半醒201 阅读(121) 评论(0) 推荐(0)
摘要: 待学 阅读全文
posted @ 2014-10-30 08:45 半醉半醒201 阅读(164) 评论(0) 推荐(0)
摘要: https://kraken.io/ https://tinypng.com/ 阅读全文
posted @ 2014-10-28 13:02 半醉半醒201 阅读(111) 评论(0) 推荐(0)
摘要: window.location.reload(); 阅读全文
posted @ 2014-10-15 11:44 半醉半醒201 阅读(89) 评论(0) 推荐(0)