Skip to content

Instantly share code, notes, and snippets.

View mehmetg's full-sized avatar

Mehmet mehmetg

  • San Francisco, CA
View GitHub Profile
@mehmetg
mehmetg / git-mv-with-history
Created March 6, 2019 00:52 — forked from emiller/git-mv-with-history
git utility to move/rename file or folder and retain history with it.
#!/bin/bash
#
# git-mv-with-history -- move/rename file or folder, with history.
#
# Moving a file in git doesn't track history, so the purpose of this
# utility is best explained from the kernel wiki:
#
# Git has a rename command git mv, but that is just for convenience.
# The effect is indistinguishable from removing the file and adding another
# with different name and the same content.
@mehmetg
mehmetg / opencv_tensor.cc
Created October 26, 2017 00:44 — forked from kyrs/opencv_tensor.cc
File Takes an Image Mat file as an input and convert it to tensor.
/*
Following file take opencv mat file as an input and run inception model on it
Created by : Kumar Shubham
Date : 27-03-2016
*/
//Loading Opencv fIles for processing
#include <opencv2/opencv.hpp>