User login

note

JavaScript to open external sites (not on domain or subdomain) in new target

It's bad Web practice to open any links in a separate window, but it does help when going for an HTML mobile app and it's becoming accepted expected behavior for anything with a stream.

So here's the JavaScript:

Approaches to in-line editing with a few different JavaScript front-end frameworks

Doesn't seem to be a question of the framework, to judge from the lack of anyone asking or answering the question this way...

http://stackoverflow.com/questions/708801/whats-the-best-edit-in-place-plugin-for-jquery

A Look at the New MySpace

At my other job at Activore we are aware of everything in the social networking space, so without further ado, the new MySpace (new.myspace.com).

For a while now, it has been just a signup page. (Which is probably still all you'll see.)

Railo/Coldfusion can't use function postType that exists in an in-scope CFWheels view helper

In short: POSTTYPE() has "No matching Method/Function"... even though i just defined it. If i define/call it with a different name, it works.

Railo 3.3.4.003 Error (expression)

Message No matching Method/Function for POSTTYPE()
Stacktrace The Error Occurred in
/home/ben/code/gymnet/views/feed/_display_feed.cfm: line 3

App.net Core Values

App.net is a for-pay social network, https://join.app.net/

Their core values are pretty great:

1. We are selling our product, NOT our users.

We will never sell your personal data, content, feed, interests, clicks, or anything else to advertisers. We promise.

2. You own your content.

App.net members always have full control of their data and the fundamental right to easily back-up, export, and delete ALL of their data, whenever they want.

move user search tab from search/user to admin/people/search

Agaric decided to make a contributed module to do this: http://drupal.org/project/usersearchtoadmin

See that project page. The below is mostly notes on wrong turns!

It would be nice if this just used a different permission other than a person's ability to access profiles:

Setting up Git to Rebase on Pull Without Command Line

in

In the .gitconfig file in your home directory, ~ for Linux, and for Windows something like c:\Users\MyName, make sure there are these lines:

[branch]
  autosetuprebase = always

And in the project-specific .git/config (in the project's root directory), make sure there are lines like these, in particular of course the last one:

[branch "master"]
  remote = origin
  merge = refs/heads/master
  rebase = true

Set a git commit message in bash but also go to Vim for further editing

A colleague insists that messages abide by the 72 character limit advisory, and i want to change my habit to get the files-changed and, just as important, files-left-out information that git commit will give in the Vim editor.

I'm still a bit addicted to the git commit -m "Message here" workflow of entering messages right in the command line, and it's more than just habit: it is very useful to be able to look at the git add -p record.

Disabling Drupal's default notifications to the administrator when a user registers

This is not tested, but running this code (in an update hook, via Drush php-eval, however) should prevent Drupal from sending its notifications to the site e-mail address when a new, pending approval user registers:

Google Web Versus Google AJAX API Search Results

Google search results via their API vary greatly versus the results from the web interface (as an anonymous, not-logged-in user). This has been reported by others, but here is a direct test performed by me. We are fortunate in this example that the first two results are the same (albeit in reverse order). However the next results bear no resemblance to each other whatsoever.

The default Web UI returns 10 results at a time (on a page).

The default AJAX API returns 4 results at a time, and so was repeated twice advancing by four for the second result set.

Syndicate content