Skip to content

Instantly share code, notes, and snippets.

View habprog's full-sized avatar

Habeeb Bello habprog

  • Nest Investment Lt.
  • Lagos, Nigeria
View GitHub Profile
@habprog
habprog / Program.cs
Created June 28, 2022 08:19 — forked from jagmeet-chaudhary/Program.cs
Sample code showing various ways to upload files using asp.net web api. Includes server side code of API controller and console application acting as client for calling these API.
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net.Http;
using System.Text;
namespace FileUploadClient
{
@habprog
habprog / mongodb_cheat_sheet.md
Last active April 14, 2020 01:22 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

start with mongodb using shell

navigate to your installtion path (C:\program files\mongodb\4.2\server\bin) from your shell command
then execute mongo.exe by typing mongo 

Show All Databases

show dbs