JavaScript:前端
特效菜单图标:http://codepen.io/airen/pen/WvxYLK/linux
// JSON 字符串 var foo = ' {"prop": "val"} '; //这是对象字面量 var bar = { prop: "val" };
// JSON 字符串,好比从AJAX获取字串信息 var ssjson = '{"prop": "val"}'; //将字串序列化成对象 var jsonOb = JSON.parse(ssjson); console.log(jsonOb.prop === 'val'); // 将对象序列化成 JSON 字符串 //重要! 重要! 重要!若是后台须要提交 JSON,那么不把对象序列化成JSON字串会报错 var jsonStr = JSON.stringify(jsonOb);
在线制做网站 logo:https://www.logaster.com/git
Chrome调试参数github
错误提示:Cross origin requests are only supported for HTTP.” error when loading a local fileweb
起一个服务器或在给chrome.exe 加参数 --allow-file-access-from-fileschrome
跨域:--disable-web-securityjson
云服务:ubuntu
云计算服务在Google、Amazon等公司成功产品的引领下,正在商业化的道路上大步向前。在NIST的定义中,有三种云计算服务模型。跨域
可见,三种模型从应用到平台再到架构,愈来愈底层,用户获得的可操做性和灵活性也愈来愈大。服务器
更改ubuntu的inotify:
Yes, it's safe to raise that value and below are the possible costs [source]:
To check the max number of inotify watches:
cat /proc/sys/fs/inotify/max_user_watches
To set max number of inotify watches
Temporarily:
sudo sysctl fs.inotify.max_user_watches=
with your preferred value at the end.Permanently:
echo 524288 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
.http://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached