上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
  2014年7月14日
摘要: require 'multi_json'MultiJson.load('{"abc":"def"}') #=> {"abc" => "def"}MultiJson.load('{"abc":"def"}', :symbolize_keys => true) #=> {:abc => "def"}Mu... 阅读全文
posted @ 2014-07-14 16:22 qinyan20 阅读(400) 评论(0) 推荐(0) 编辑
  2014年7月11日
摘要: All good so far. We next want to delete the branch on github. However, if we do this the naive way:git push origin :masterwe just get an error like th... 阅读全文
posted @ 2014-07-11 12:04 qinyan20 阅读(450) 评论(0) 推荐(0) 编辑
摘要: #查看log,获取版本号 git log#本地仓库回退到某个版本 git reset --hard baeertasdasdvf#新建需要回退的版本old_master分支做备份 git branch old_master #push到远程 git push origin old_mas... 阅读全文
posted @ 2014-07-11 11:59 qinyan20 阅读(172) 评论(0) 推荐(0) 编辑
  2014年7月9日
摘要: http://www.netfoucs.com/article/u014736518/87459.htmlhttps://egghead.io/lessons/angularjs-templatecachehttp://www.cnblogs.com/whitewolf/p/3601990.html... 阅读全文
posted @ 2014-07-09 16:14 qinyan20 阅读(157) 评论(0) 推荐(0) 编辑
  2014年7月7日
摘要: 官网:http://www.padrinorb.com/博客开发示例:http://www.linuxidc.com/Linux/2013-07/88112.htm《管理面板指南》 http://www.padrinorb.com/guides/development-commands 阅读全文
posted @ 2014-07-07 13:54 qinyan20 阅读(134) 评论(0) 推荐(0) 编辑
  2014年7月4日
摘要: config.active_record.default_timezone = :localconfig.time_zone = 'Beijing' 阅读全文
posted @ 2014-07-04 14:58 qinyan20 阅读(120) 评论(0) 推荐(0) 编辑
  2014年7月3日
摘要: sinatrahttp://www.sinatrarb.com/intro-zh.htmlpadrino官网:http://www.padrinorb.com/博客开发示例:http://www.linuxidc.com/Linux/2013-07/88112.htm《管理面板指南》 http://... 阅读全文
posted @ 2014-07-03 18:31 qinyan20 阅读(112) 评论(0) 推荐(0) 编辑
  2014年7月2日
摘要: brew install zookeepersudo gem install zookeeper -v '1.4.4'brew install GCC46CC=gcc-4.6 gem install zookeeper -v 1.4.4 阅读全文
posted @ 2014-07-02 13:53 qinyan20 阅读(169) 评论(0) 推荐(0) 编辑
摘要: cd database_bak/mongodump -h 192.168.111.111 -port 50000 -d database_namemongorestore --directoryperdb database_name/MongoDB也提供了备份和恢复的功能,分别是MongoDB下载目... 阅读全文
posted @ 2014-07-02 10:36 qinyan20 阅读(562) 评论(0) 推荐(0) 编辑
  2014年6月17日
摘要: 关于$httpfunction PhoneListCtrl($scope, $http) { $http.get('phones/phones.json').success(function(data) { $scope.phones = data; }); $scope.orderPr... 阅读全文
posted @ 2014-06-17 16:31 qinyan20 阅读(165) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页