安装Sass和Compass sass基于Ruby语言开发而成,因此安装sass前需要安装Ruby。(注:mac下自带Ruby无需在安装Ruby!) window下安装SASS首先需要安装Ruby,先从官网下载Ruby并安装。安装过程中请注意勾选Add Ruby executables to you ...
分类:
Web程序 时间:
2018-11-21 19:35:28
阅读次数:
235
sed -i 's/\r//' filename window下默认是 \r\n linux下是\n unix下是\r ...
一、工具Windows下安装VMwareWorkstation(安装虚拟机工具),CentOS镜像(.IOS)二、创建虚拟机1、打开VMwareWorkstation选择“创建新的虚拟机”2、选择创建虚拟机类型这里有两种选择:典型或自定义这里,我选择典型。点击“下一步”3、选择要安装的操作系统镜像这里,我现在先不选择操作系统镜像,我选择“稍后安装操作系统”,点击“下一步”4、选择要安装的操作系统版
redis版本:redis 5.0.0 Centos: centos 7 64位 !/bin/bash redis_path="/usr/local/cluster/" cluster_num= if [ "${cluster_num}" le 0 ] then echo e "===== Succ ...
分类:
其他好文 时间:
2018-11-20 01:18:28
阅读次数:
157
原因是redis的版本过低,window下的redis-cli.exe客户端输入 info 命令可看到该redis的版本,这个scan查看要redis2.80版本以上!!!! ...
分类:
其他好文 时间:
2018-11-15 13:38:04
阅读次数:
969
Windows下对nodejs多版本的管理,实现随意切换! 官方地址: https://github.com/Kenshin/gnvm http://ksria.com/gnvm/ 01、下载GNVM https://raw.githubusercontent.com/Kenshin/gnvm-bi ...
参考: www.wowotech.net/linux_kenrel/suspend_and_resume.htmlwww.wowotech.net/linux_kenrel/pm_interface.html 一、基本介绍 1.Window下的睡眠就是Suspend to RAM, 休眠就是Susp ...
分类:
系统相关 时间:
2018-11-11 15:04:19
阅读次数:
236
学习Redis 对机器的性能要求是最小的,只要有空余的1M的空间都是可以的。 Redis分 服务器端和客户端 server /client 我用的是windows环境window 7 (64) 下载地址 https://github.com/dmajkic/redis/downloads(这里有最新 ...
分类:
其他好文 时间:
2018-11-11 11:44:11
阅读次数:
205
命名问题 使用 history.back(-1) 方法进行跳转回到上一级页面的时候,控制台不停报错 history.back is not a funtion 。直接输入 history 发现 window 下的 history 被覆盖了。导致错误的原因是之前写 localStorage 历史搜索方 ...
分类:
其他好文 时间:
2018-11-10 12:30:33
阅读次数:
213
1.刷新当前页面:(通过给location.href赋值的方式) window.location.href="" eg:window.location.href="http://www.baidu.com" 2.重新加载文档:(location.reload()方法) 1)window.locati ...