- 博客(4)
- 收藏
- 关注
转载 MAC系统中显示与隐藏
方法一:缺省情况下,在 Mac 下是不显示隐藏文件的,Finder 也未提供设置是否显示隐藏文件的选项,不像 Windows 下,有一个“文件夹选项“设置界面里可以控制,但这并不表示 Mac 下无法显示隐藏文件,我可以通过“终端”,用命令行设置这个选项,命令如下:显示:defaults write com.apple.finder AppleShowAllFiles -bool true 隐藏:d
2016-12-21 10:24:57 359
转载 lua 中ipairs 和 pairs 区别
ipairs 和pairs在lua中都是遍历tbale的函数但是两者有区别 1.pairs遍历table中的所有的key-vale 而ipairs会根据key的数值从1开始加1递增遍历对应的table[i]值 a = {[1] = “a1”, [2] = “a2”, [3] = “a3”, [5] = “a4”, [6] = “a5”,} for key, value in ipairs(a)
2016-12-07 14:41:58 408
转载 HTTP状态码
状态 状态码 状态值 状态描述 成功 200 OK 正常 成功 201 Created 已建立 成功 202 Accepted 已接受 成功 203 Non-Authoritative Information 无认证信息 成功 204 No Content 无内容 成功 205 Reset Cont
2016-12-04 23:14:34 334
转载 CSS ScrollBar
Way back in the day, you could customize scrollbars in IE (5.5) with non-standard CSS properties like scrollbar-base-color which you would use on the element that scrolls (like the ) and do totally rad
2016-11-23 16:09:19 428
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人