Skip to content

Instantly share code, notes, and snippets.

View adist98's full-sized avatar

Aditya Soni adist98

  • Bangalore, India
View GitHub Profile
#define _XOPEN_SOURCE 600
#define _POSIX_C_SOURCE 200112L
#define _BSD_SOURCE
#include <stdio.h>
#include <string.h>
#include <math.h>
// mmmmm..... donut!
int main() {

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

anonymous
anonymous / feynman.markdown
Created May 18, 2017 07:03
Feynman
@keithweaver
keithweaver / split-video-by-frame.py
Created May 10, 2017 19:30
Using OpenCV takes a mp4 video and produces a number of images.
'''
Using OpenCV takes a mp4 video and produces a number of images.
Requirements
----
You require OpenCV 3.2 to be installed.
Run
----
Open the main.py and edit the path to the video. Then run: