User login

How to

Information on how to do something... anything.

Exporting views to files to be managed by version control: Drupal 7

The trick to somewhat Drupal 8-esque configuration management in Drupal 7, when it comes to Views, is to make your view defined in the user interface to be defined by a module instead. This is done with hook_views_default_views().

From Michelle Lauer's Views chapter in the Definitive Guide to Drupal 7:

Editing a subscriber's information in Mailchimp

First, note that people can edit their own information in Mailchimp, and of course add it, so be sure you know it is incorrect before you change it.

Set login name to use for SSH per host

As a completely hypothetical example, suppose you boneheadly thought it would be nice to standardize your local login name to something different than on some existing servers.

You want standard scripts that assume current username to work— you wrote them to share, after all. So how to make this work?

Something like this in your ~/.ssh/config file (create and chmod 600 if it doesn't exist already) will work:

Host agaric-test
Hostname test.example.org
User bmelanco

Installing Ubuntu 13.10 on an Asus Zenbook UX301

If you have an Ubuntu installation CD made from an ISO you downloaded from Ubuntu.com, you'll notice quickly that your slim, shimmering, featherweight personal computer has no DVD drive. While this might be the only time you'll want to use the DVD drive, this is a time you want to use the DVD drive. But never fear! There are other ways. Mostly, that means following these directions:

Install Claws Mail on Ubuntu

How to install Claws Mail, "the user-friendly, lightweight, and fast e-mail client" on Ubuntu:

Seeing donor information on WePay

This is not a technical post— simply how to navigate the WePay site to see the e-mail addresses of who has donated to you. It is not intuitive.

First log in.

If you have more than one account, they are all listed. Select the one that you are interested in.

Press the full-line link about donations pointed to here:

Then press the tab called Donors pointed to here:

Troubleshooting ssh connections problem

Micky found this which was key to debugging our connection problem— one way to watch what is happening with the SSH connection attempt is by opening a port just for this use on the server:

sudo /usr/sbin/sshd -d -p 2222

Then from the client:

ssh -vv -p 2222 example.com

Per http://www.unixlore.net/articles/troubleshooting-ssh-connections.html

Overriding a string the second-simplest way in Drupal 7

Here's the situation: You don't need administrator-customizable strings like the String Overrides modules provide, but you'd like the changes in a more share-able (or consistently version controlled) place than settings.php, which details an easy $conf way of doing string overrides.

Well, here's how to do it with a variable set function that can go in a module's install or update hook:

Syndicate content