This site is to keep me up to date with myself, but you're welcome to follow along. Next time I go on a tangent, you may want to come with...
On an inherited project, firing up a new dev site in Pantheon, I have it in mind that I need to provide the Drupal mysql dump without the table prefixes this shared host user currently has.
drush sql-dump > ~/migrate/site.sql
sed -i 's/theprefix//g' ~/migrate/site.sql
Hope this works. I mean, I hope this helps.
For something a little different, I thought I'd post about one of the fringe benefits of moving.
I hate moving, it's expensive, and it's wasteful. However, a year later when we finally got around to emtpying one of the larger moving boxes (a cardboard, wardrobe box read: very tall, sturdy, and wasteful), the kids took to it immediately. Together, we splashed on a coat of blue tempra paint, and voila, a homemade TARDIS for the kids to enjoy! :D
Moving boxes make great toys and a super time machine!
Just look at the size of that thing!
So the Bigger Notes desktop widget for your mac is just a simple application that gives Lots of real estate, has a front and back, and has a memory like an elephant*. Installation is simple. If you trust me, do the following in a terminal window. I executed mine right under /Users/bronius/Library/Widgets, but I don't know whether that's necessary:
What's not to love about Google Maps in Drupal? That's for you to decide, but why not try Leaflet (or Mapbox?) instead for added flexibility?
Basic set up of Leaflet Map as a View of mappable nodes
Super simple set up of Leaflet to mimic a typical Google Maps (gmap) recipe:
Seeking login/register/forgot password in a modal popup for your Drupal 7 site? What about webforms? What about .. anything in a shadow modal popup??
I did a little research recently and came across this popular request and several hackish ways to go about it with popular packages like colorbox, lightbox, thickbox, shadowbox, and it looks like the smart, Drupal 7 way is to leverage CTools. But who's got time to learn CTools?? Enter http://drupal.org/project/modal_forms!
How to pass along client/browser cookies to remote web service using drupal_http_request to share local session
A challenge I had faced recently was how to take the local user's browser cookies, which contains some shared top-level-domain session related values that tell a remote .Net service all about the user, and share it in a drupal_http_request call. The ultimate goal is to share website partials (like the header containing Sign In/Sign Out link and verbiage), and that header partial is built, managed, and served by a .Net web application.
This time, Chrome came to my rescue with it's super Firefox-Awesomebar-like function of typing a partial-match in the addressbar to instantly bring back some otherwise lost work. Here's the story..