Skip to content

Instantly share code, notes, and snippets.

View abinashmeher999's full-sized avatar
🤓
Don't mind me, just browsing

Abinash Meher abinashmeher999

🤓
Don't mind me, just browsing
  • Autonomous Ground Vehicle Research Group
  • Kharagpur, India
View GitHub Profile
@abinashmeher999
abinashmeher999 / rebase
Last active August 29, 2015 14:16
Rebasing problem
abinashmeher999@JARVIS:~/agv/git-sandbox$ git rebase master
First, rewinding head to replay your work on top of it...
Applying: Added 'Abinash Meher'
Using index info to reconstruct a base tree...
M README.md
Falling back to patching base and 3-way merge...
Auto-merging README.md
CONFLICT (content): Merge conflict in README.md
Failed to merge in the changes.
Patch failed at 0001 Added 'Abinash Meher'
@abinashmeher999
abinashmeher999 / dockererror
Created February 1, 2015 14:42
Error while testing the installation of docker
abinashmeher999@JARVIS:~$ sudo docker run -i -t ubuntu /bin/bash
[sudo] password for abinashmeher999:
Unable to find image 'ubuntu:latest' locally
Pulling repository ubuntu
FATA[0000] Get https://index.docker.io/v1/repositories/library/ubuntu/images: dial tcp 162.242.195.84:443: connection refused
abinashmeher999@JARVIS:~$ sudo -E docker run -i -t ubuntu /bin/bash
Unable to find image 'ubuntu:latest' locally
Pulling repository ubuntu
FATA[0000] Get https://index.docker.io/v1/repositories/library/ubuntu/images: dial tcp 162.242.195.84:443: connection refused
@abinashmeher999
abinashmeher999 / errormake
Created January 31, 2015 15:29
error on make
abinashmeher999@JARVIS:~/shogun/build$ make
[ 0%] Running C++ protocol buffer compiler on ShogunVersion.proto
/bin/sh: 1: PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND: not found
make[2]: *** [../src/shogun/io/protobuf/ShogunVersion.pb.cc] Error 127
make[1]: *** [src/shogun/CMakeFiles/class_list.dir/all] Error 2
make: *** [all] Error 2
abinashmeher999@JARVIS:~/shogun/build$
abinashmeher999@JARVIS:~/shogun$ git remote show origin
* remote origin
Fetch URL: https://github.com/abinashmeher999/shogun.git
Push URL: https://github.com/abinashmeher999/shogun.git
HEAD branch: develop
Remote branches:
boost_serialization tracked
c50 tracked
develop tracked
diffusion_kernel tracked
@abinashmeher999
abinashmeher999 / git_status
Created January 23, 2015 08:34
Git Status
abinashmeher999@JARVIS:~/shogun$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: doc/md
Changes not staged for commit:
@abinashmeher999
abinashmeher999 / err_23012015
Created January 23, 2015 08:13
Error while pushing
abinashmeher999@JARVIS:~/shogun.wiki$ git push origin abinash
Username for 'https://github.com': abinashmeher999
Password for 'https://abinashmeher999@github.com':
remote: Permission to shogun-toolbox/shogun.wiki.git denied to abinashmeher999.
fatal: unable to access 'https://github.com/shogun-toolbox/shogun.wiki.git/': The requested URL returned error: 403
@abinashmeher999
abinashmeher999 / longest_palindromic_substring
Created January 22, 2015 10:42
An O(n) time algorithm to find the longest palindromic substring
/*
* File: main.cpp
* Author: abinashmeher999
*
* Created on 16 November, 2014, 2:13 PM
*/
#include <iostream>
#include <string>
#include <cmath>