This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "io/ioutil" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| ) | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import re | |
| import string | |
| import fileinput | |
| import collections | |
| abbrevs = ( | |
| (1<<50L, 'PB'), | |
| (1<<40L, 'TB'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu | |
| MAINTAINER Dustin Sallings "[email protected]" | |
| ADD http://cbfs-ext.hq.couchbase.com/couchbase-dist/couchbase-server-enterprise_2.2.0_x86_64.deb /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb | |
| RUN apt-get update | |
| RUN apt-get install -y librtmp0 python-httplib2 | |
| RUN dpkg -i /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb | |
| RUN rm /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb | |
| RUN /etc/init.d/couchbase-server stop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| hg purge -v --all | |
| ./make.bash | |
| for os in darwin freebsd linux netbsd openbsd plan9 windows | |
| do | |
| for arch in 386 amd64 arm | |
| do | |
| env GOOS=$os GOARCH=$arch ./make.bash --no-clean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "archive/tar" | |
| "flag" | |
| "io" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "os" | |
| "time" | |
| "github.com/dustin/go-humanize" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{ range $b := .}}# {{$b.Id}} - {{ $b.Title }}{{ range $t := $b.Tags }} [{{$t}}](http://cbugg.hq.couchbase.com/tag/{{$t}}){{end}} | |
| {{ $b.Description }} | |
| Original bug: [{{$b.Id}}](http://cbugg.hq.couchbase.com/bug/{{$b.Id}}) | |
| {{end}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BenchmarkNaiveWriter 10000000 157 ns/op 425060032.69 MB/s | |
| BenchmarkAwesomeWriter 500 5721802 ns/op 11728.62 MB/s | |
| BenchmarkDiscard 500 5735134 ns/op 11701.36 MB/s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| load: 5.23 cmd: cbfsclient 14765 running 17.08u 48.76s | |
| 00:15:00.098757 In-flight HTTP requests: | |
| 00:15:00.098816 servicing "http://192.168.1.97:8484/.cbfs/blob/f2f087a936fe8065f3fc9b19a4532340b085bbd1" for 23.842203119s | |
| 00:15:00.098840 servicing "http://192.168.1.97:8484/.cbfs/blob/b1c4fc4d3e95a7db30f5530efbf24877ae089da2" for 26.327956223s | |
| 00:15:00.098860 servicing "http://192.168.1.97:8484/.cbfs/blob/87faa6a364c7afbbeb7ea2f096f2eb03be31d8ed" for 27.054090798s | |
| 00:15:00.098881 servicing "http://192.168.1.97:8484/.cbfs/blob/d5c35b95137ac7be80f262963f27d3fb4691331b" for 25.977938698s | |
| 00:15:00.098901 servicing "http://192.168.1.97:8484/.cbfs/blob/7e5ec14b1490b12b5a59c4f114bfa51b16d43b5c" for 26.496670189s | |
| 00:15:00.098919 servicing "http://192.168.1.97:8484/.cbfs/blob/c8cd908912f929a724fa0b7604d5983e24c872dd" for 26.914814016s | |