Skip to content

Instantly share code, notes, and snippets.

{
"product": {
"dynamic_templates": [
{
"search_result": {
"mapping": {
"type": "string",
"index": "no"
},
"path_match": "search_result.*"
{
"product": {
"dynamic_templates": [
{
"search_result": {
"mapping": {
"type": "string",
"index": "no"
},
"path_match": "search_result_data.*"
package bpool
import (
"bytes"
)
type SizedBufferPool struct {
c chan *bytes.Buffer
a int
}

Keybase proof

I hereby claim:

  • I am irqed on github.
  • I am irqed (https://keybase.io/irqed) on keybase.
  • I have a public key ASCFPFT41hU3phj3QHNO4Gp0MXLvMyCzsEdoivN__0_cjgo

To claim this, I am signing this object:

@mngmntt
mngmntt / gist:358f63c82b228f78acb5
Created October 18, 2015 11:03 — forked from fernandoaleman/gist:5083680
How to update VirtualBox Guest Additions with vagrant
# Start the old vagrant
$ vagrant init centos-6.3
$ vagrant up
# You should see a message like:
# [default] The guest additions on this VM do not match the install version of
# VirtualBox! This may cause things such as forwarded ports, shared
# folders, and more to not work properly. If any of those things fail on
# this machine, please update the guest additions and repackage the
# box.
@mngmntt
mngmntt / gist:18a65f9e6b32119a07a5
Created October 12, 2015 14:40 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents