I hereby claim:
- I am sabuhish on github.
- I am sabuhish (https://keybase.io/sabuhish) on keybase.
- I have a public key ASD-e3s1F_AyP3BONS7Qua0lhEN7D0yDBJDrsZLXVlohTAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This page collects common comments made during reviews of Go code, so that a single detailed explanation can be referred to by shorthands. This is a laundry list of common mistakes, not a style guide.
You can view this as a supplement to http://golang.org/doc/effective_go.html.
Please discuss changes before editing this page, even minor ones. Many people have opinions and this is not the place for edit wars.
GET /_cat/indices?v | |
GET /_cat/indices?h=index | |
GET logstash-*/_settings |
----Branch---- | |
git checkout - | |
moves to the previous branch where you were before. | |
git diff master..my-branch | |
see the difference between branches |
config set notify-keyspace-events Ex | |
config get notify-keyspace-events | |
redis-cli --csv PSUBSCRIBE '__key*__:*' |
from motor.motor_asyncio import AsyncIOMotorClient | |
from bson.objectid import ObjectId | |
from bson.json_util import loads as bson_loads, dumps as bson_dumps | |
import asyncio | |
import pprint | |
from pymongo import ReturnDocument | |
import json | |
loop = asyncio.get_event_loop() |
//show databases | |
show dbs | |
//Use Database test | |
use test | |
// show collections from the database | |
show collections | |
// show counts of records in collection |