Uncategorized

Subversion: Revert Previous Commit

To revert to your previous commit in Subversion, you’ll need the current revision number and the previous revision number, then:

 

Debian Jessie: Run aprx as a service

If you’d like to run aprx as a service on Debian Jessie, use this systemd script (in /lib/systemd/system/aprx.service):  

 

Python’s Default Argument Values are Sticky

I can’t believe it’s taken me this long to learn this: Python’s default argument values are only evaluated once during runtime. I’ve never encountered this before because I don’t use default arguments very often, and when I do, it’s often to set something to a static value. Today, I encountered a function definition where I …

Python’s Default Argument Values are Sticky Read More »

Scroll to Top