Skip to content

Instantly share code, notes, and snippets.

View antarts's full-sized avatar
🤒
Out sick

Antarts antarts

🤒
Out sick
View GitHub Profile
@antarts
antarts / mongodb_basic_commands.md
Created November 26, 2017 15:35 — forked from leommoore/mongodb_basic_commands.md
MongoDB - Basic Commands

#MongoDB - Basic Commands

##Saving Data

db  //Tells you the current database

show collections //Shows the collections available in the current db

db.foo.save({_id:1, x:10}) //Save the document into the foo collection  

db.bar.save({_id:1, x:10}) //Save the document into the bar collection

git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@antarts
antarts / markdownhere.css
Last active February 11, 2017 11:09 — forked from xiaolai/markdownhere.css
markdown-here-css
.markdown-here-wrapper {
font-size: 16px;
line-height: 1.8em;
letter-spacing: 0.1em;
}
pre, code {
font-size: 14px;
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace;