• Golang调试:Delve 和 golang-debug

    本文主要涉及两个工具: 1. Delve delve, golang的一个debug工具, 简单易用, 目前版本pre 1.0, 功能还在变化中, 但是能满足我们平常开发的大部分debug功能, 比较活跃, 平均每天10个左右commit 2. golang-debug golang-debug 是 Atom的一个插件, 基于delve, 能够实现类似Eclipse下Java调试的功能 安装Devle linux下安装... 查看更多
  • Mac下Golang开发环境搭建

    话说工欲善其事, 必先利其器, 要想写一手好代码怎能不需要一个好用的开发环境? 本文用来记录第一次安装go环境遇到问题, 以防遗忘 1. 安装Go brew install go 本文写作时go版本为1.6, 其余没什么可说的, 略过 2. 配置GOPATH 将以下代码添加到 .bashrc 或者 .zshrc export GOPATH=/home/bluebu/go export PATH=$PATH:$GOPATH/b... 查看更多
  • Golang资料汇总

    收集的一些关于Golang的学习资料, 汇总如下: 1. GO 开发者对 GO 初学者的建议 https://segmentfault.com/a/1190000000654351 2. go bootstrap http://go-bootstrap.io/ 3. Golang资料集 http://studygolang.com/resources/591 4. Go实战开发之目录 https://github.com/a... 查看更多
  • Newrelic插件使用(一) -- Nginx监控

    nginx-nr-agent, 为Nginx官方提供的NewRelic监控插件,可以很方便的对你的Nginx进行监控本文对nginx-nr-agent的安装做一个概述Demo环境:Nginx一个NewRelic账号本文以 Ubuntu Server 11.04 为例安装步骤安装nginx-nr-agent开启Nginx的stub_status修改nginx-nr-agent配置文件启动nginx-nr-agent服务安装细节:1. 安装ng... 查看更多
  • Ruby 2.1下的define_method的方法不再是public

    最近项目打算从1.9.3升级到2.1.1, 目前线上同时跑着1.9.3和2.1.1,但是发现define_method在2.1.1下面生成的方法不再是public,而是根据上下文来判断.比如以下代码:class A private define_method :foo do puts 'foo from A' end end class B ... 查看更多
  • Rails中HTTP Status Codes匹配规则[转发]

    HTTP status codes and their respective Rails symbol representations. For example, :not_found can be used instead of 404 in a render call:render :file => '404.html.erb', :status => :not_found1xx Informational:... 查看更多
  • Neo4j Gratabase简介

    Neo4j Gratabase简介     Neo4j Gratabase from pehrlich 查看更多
  • Introducing Neo4j by Max De Marzi

    Introducing Neo4j by Max De Marzi PPT 介绍Neo4j                      Intro&... 查看更多
  • [共享]2014年中国节假日放假时间表(Mac日历)

    在Mac的日历上,根据 《2014年中国节假日放假时间表》,将2014年的公休日录入进去,前几天正好一个朋友需要这个,感觉很方便,特此分享出来,  注意,只能苹果日历(Mac、IOS)使用          链接如下:     webcal://p10-calendarws.ic... 查看更多
  • Rails4下启动Guard + Spork报错ERROR - Guard::Spork failed to achieve its start

    Rails4下启动Guard + Spork时候会报错        ERROR - Guard::Spork failed to achieve its <start>, exception was: NoMethodError: private method `raise' called for nil:NilClass临时解决办法:gem 'spork-rails', github:... 查看更多