Skip to content

Instantly share code, notes, and snippets.

View vgangireddyin's full-sized avatar

Venu Gangireddy vgangireddyin

View GitHub Profile
@vgangireddyin
vgangireddyin / Makefile
Last active June 5, 2016 16:03
Basic Makefile for Golang
BUILDPATH=$(CURDIR)
GO=$(shell which go)
GOINSTALL=$(GO) install
GOCLEAN=$(GO) clean
GOGET=$(GO) get
EXENAME=main
export GOPATH=$(BUILDPATH)
@vgangireddyin
vgangireddyin / .vimrc
Created November 30, 2016 15:17 — forked from rocarvaj/.vimrc
Minimal .vimrc for C/C++ developers
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier
"
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
" disable vi compatibility (emulation of old bugs)
class Foo
{
public:
string name;
Foo(string name)
{
this->name = name;
cout << "Foo object with name '" + this->name + "' created." << endl;
}
~Foo()