dnerdy | 11 years ago | on: Blackbox: Safely store secrets in Git
dnerdy's comments
dnerdy | 11 years ago | on: VimR – Refined Vim Experience for OS X
dnerdy | 11 years ago | on: VimR – Refined Vim Experience for OS X
If you find that there's a specific feature missing, please open an issue. All feedback is appreciated :) This is still very much a work in progress.
[1] https://github.com/qvacua/vimr/wiki/File-Browser-Actions
dnerdy | 11 years ago | on: Local Euler: Now with all 476 puzzles and images
https://gist.github.com/dnerdy/30e2847188a95178688f
I created it using the encrypted solutions from this project: https://github.com/csu/project-euler-offline
dnerdy | 11 years ago | on: Show HN: GitHub-based DNS Hosting
https://github.com/dnerdy/namesync
This flat file format seems to work well, and the tool could potentially be updated to support other DNS providers.
dnerdy | 12 years ago | on: Bitcoin explained
http://www.imponderablethings.com/2013/07/how-bitcoin-works-...
dnerdy | 12 years ago | on: Ask HN: Who is hiring? (October 2013)
Full stack Rails developer.
This is a somewhat unique position for the hiring thread. We're looking for someone to take over the development of our website and related back office tools. You would be a one man show working closely with our Operations Manager and have lots of control with respect to scheduling and the technologies we use. Our existing contractors are HN readers (they're the ones helping us make this post). We're looking to take someone on full time. They've used modern tools/frameworks and kept the code base in good order. The point is this: you'll be taking over a well maintained project... not walking into a nightmare.
We think this is a good opportunity for someone who would like to work solo but also be secure in a full-time position.
http://careers.stackoverflow.com/jobs/40899/full-stack-ruby-...
dnerdy | 12 years ago | on: Tarsnap logo contest
Implemented via the Web Inspector:
http://static.deliciouslynerdy.com/tarsnap/logo-and-favicon....
dnerdy | 13 years ago | on: Docker, the Linux container runtime: now open-source
[1] https://github.com/openruko [2] http://lxc.sourceforge.net/ [3] http://www.12factor.net/
dnerdy | 13 years ago | on: Django 1.5 released
I suspect this may be the nastiness that's being referred to; this is the use case that I was hoping would be made dead simple.
With previous versions of Django I generated a random hash for use as a dummy/unguessable username, required an email address in the RegistrationForm, customized the AuthenticationForm, created a custom email authentication backend, and monkey patched User with various helper methods.
In 1.5 it looks like the AuthenticationForm will adapt to the field defined in USERNAME_FIELD[1], but a lot of work is still required. Support for easily using email address as the username (or support for easily specifying the username field in general without requiring all the other boilerplate) would probably go a long way.
[1] https://docs.djangoproject.com/en/dev/topics/auth/customizin...
dnerdy | 13 years ago | on: ActiveRecord Vulnerability - Circumvention of attr_protected
With regard to this vulnerability, however, the '^' and '$' regex pattern characters in python match the beginning and end (or end + '\n') of the string by default. Multiline mode has to be enabled explicitly:
import re
re.match(r'^test$', 'test\n multiline') == None
re.match(r'^test$', 'test\n multiline', re.MULTILINE) != None
So, I think it's a little less likely that this particular vulnerability would be an issue. It's still possible for someone to leave off the '$', but at least that case is a little more obvious.
Also, the Django codebase doesn't have any param processing code that uses whitelisting/blacklisting like this; you have to explicitly lookup values in request.GET and request.POST or use specific field names in a Form. It's a little less convenient compared to mass assignment, but more secure by default.
dnerdy | 13 years ago | on: Bootstrap 2.2.0 released
dnerdy | 13 years ago | on: BootstrapDocs: Twitter Bootstrap documentation archive
[1] http://git.zx2c4.com/password-store/about/