- 博客(13)
- 资源 (4)
- 收藏
- 关注
原创 svn
1.查看当前svn目录的变动 svn status2. 查看某个变动文件的最新版本 svn log file|head -5 3.比较当前工作目录中的文件和最新版本 svn diff file -r11114.还原最新版本 svn revert
2016-05-30 16:41:05 238
原创 nginx配置优先级
(location =) > (location 完整路径 ) > (location ^~ 路径) > (location ~* 正则) > (location 路径)^~ 以..开头~* 区分大小写
2016-05-23 18:07:49 925
原创 阶乘之递归写法
var factorial = ( function(){ var cacheList = [1] ; // 缓存计算过的值 return function( n ){ return cacheList[n] ? cacheList[n] : cacheList[n] = n * arguments.callee( n-1 )
2016-05-19 13:50:21 568
原创 常见运算符优先级
' , ' ' = ' '||' '&&' === !== == '+' , '-' '*' , '/' ' !' , '++' , '--' '()'
2016-05-19 11:20:39 446
原创 赋值表达式
1.赋值表达式返回值为该赋值值 function t(){ return a = 3 ; } t() // 32.赋值语句的结合顺序是从右到左 var b = a = 3 var b = (a = 3)
2016-05-19 11:10:33 423
原创 逗号表达式
1.逗号表达式返回值取右值 var t = (a=3,10); t //102.逗号表达式优先级低于赋值运算符 = var t = a = 3 ,10 ; // 报错SyntaxError: missing variable name,必须加()
2016-05-19 11:04:20 281
原创 javascript dom 操作
1. 查询 document.getElementById() document.getElementsByTagName() //下面的api有兼容性问题 document.getElementsByName() document.getElementsByClassName() document.querySelector() docu
2016-05-01 23:04:57 246
原创 win10下安装nodejs
nodejs官网:https://nodejs.org/en/download:下载最新版msi安装msicmd下运行: node -v v5.10.1 npm -v 3.8.3表示安装ch
2016-05-01 12:03:22 4433
原创 win10安装nginx
1.download2.解压3.运行nginx,一闪而过4.打开localhost,显示404排查问题:cmd下切换到nginx目录运行nginx,报错:nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidde
2016-05-01 11:43:38 1234
转载 Windows10下80端口被PID为4的System占用导致Apache无法启动的分析
Windows10下80端口被PID为4的System占用导致Apache无法启动的分析
2016-05-01 11:28:16 291
原创 nginx 版本
nginx官网: http://nginx.org/nginx三种版本:Mainline version 新版本Stable version 稳定版(推荐版本)Legacy versions 旧版本
2016-05-01 10:49:49 277
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人