I was not able to push changes after cloning. Editing directly repositories/gitosis-admin/gitosis-conf.git worked. I could pull changes from my local box and revert the evil commit.
mba13:htop-osx jasunto$ htop
htop(20592) malloc: *** error for object 0x100df0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Why would you use
:g /pdb\.set_trace()/normal! Vd
when
:g /pdb\.set_trace()/d
does the same and is much simpler? Am I missing something?
Instead of this Vim sequence to remove the set_trace calls:
:g /pdb\.set_trace()/normal! Vd
You could use this shorter invocation:
:g /pdb\.set_trace()/d
thanks, that's helpful!
Although I can appreciate the minimality of dropping into a console-based debugger like pdb, there's a lot to be said about using graphical debuggers.
I use Vim + Ipython and I love it. The Ipython debugger has pretty colors. I put the following in my scripts up where the imports are:
Nice suggestion.
Thanks for pointing that out!
This is the usage shown in the official Python documentation (http://docs.python.org/library/pdb.html).
Why does your python code have semicolons?
http://pypi.python.org/pypi/ipdb
or
https://github.com/narfdotpl/debug
I often put "from pdb import set_trace as brake" at the top of a file I'm working on.
This was super-helpful to me too! Thanks!
That's a nice approach, Tim. I am going to use it.
I like it to name the file for me, so I use "git describe --always".
https://gist.github.com/965475
I was not able to push changes after cloning. Editing directly repositories/gitosis-admin/gitosis-conf.git worked. I could pull changes from my local box and revert the evil commit.
From bash man page
The binary download on this page? Or an independent build off the source code?
mba13:htop-osx jasunto$ htop
htop(20592) malloc: *** error for object 0x100df0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Hi Brian,
It already is on GitHub: https://github.com/jeetsukumaran/GitCommandsDashboardWidget .
Any chance you could throw this up on github? Would be great if we could add new content and commands to this list.
Pages