Skip to content

Instantly share code, notes, and snippets.

kecebongsoft kecebongsoft

Block or report user

Report or block kecebongsoft

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kecebongsoft
kecebongsoft / gist:1809045
Created Feb 12, 2012
vim relocate swap & undo files
View gist:1809045
set dir=~/.vim/swaps//,/var/tmp//,/tmp//,.
set undodir=~/.vim/undos//,/var/tmp//,/tmp//,.
@kecebongsoft
kecebongsoft / gist:1809013
Created Feb 12, 2012
VIM indent/outdent with tab
View gist:1809013
vnoremap <silent><S-TAB> <gv
vnoremap <silent><TAB> >gv
@kecebongsoft
kecebongsoft / gist:1291857
Created Oct 17, 2011
GVIM custom background
View gist:1291857
style "vim-background" {
bg[NORMAL] = "#202020"
}
widget "vim-main-window.*.GtkForm" style "vim-background"
View gist:1290777
def __init__(self, *args, **kwargs):
print "Hello world"
View _readme.md

Having trouble installing the latest stable version of tmux?

I know, official package for your OS/distro is outdated and you just want the newest version of tmux.

Well, this script should save you some time with that.

Prerequisities

  • gcc
View gist:11248597
class BananaModelSerializer(object):
@property
def errors(self):
err = super(BananaModelSerializer, self).errors
if err:
new_err = dict( detail='validation error', code='validation-error', errors=err,)
return new_err
View get related objects in django
You can’t perform that action at this time.