User login

file

How to fetch a file at a URL and set it as the default image in an image field

There's two separate cool things here that you might want to do. One, simply know how to save a file from a URL (there's a secret Drupal function for that in system module) and two, how to give an image field a default image when creating it programmatically (that part is outsourced to the fieldhelp module).

Trying out Zotero

http://www.zotero.org/

I was invited to join a group. The link to join a group only works if you already have an account and are logged in. Pretty clunky, that part.

But there's a big file manager at the bottom of my firefox now. We'll see how this works. A lot of it seems duplicative of Evernote. I just want to do all this in Drupal...

As all Zotero notes can be viewed as web pages in Firefox, i expect i'll like the underlying data storage in Zotero a whole lot more than Evernote.

Git undo part of a commit

To revert an entire commit.

git checkout <file>
re-checkout <file>, overwriting any local changes

Should be able to git add changed files that you are interested in committing the revised changes and git commit --amend

http://stackoverflow.com/questions/927358/git-undo-last-commit

Syndicate content