Skip to content

Instantly share code, notes, and snippets.

View dbarbar's full-sized avatar

David Barbarisi dbarbar

View GitHub Profile
@dbarbar
dbarbar / snippet.php
Created October 6, 2011 15:09
Sets getclicky variables in a drush script
<?php
/**
* To run this with drush against all sites, on the command line
* drush @all -u 1 scr thisscript.php
* all says do this to every site.
* u 1 says run this as user one
* scr is shorthand for php-script and says to run the script in this file.
*/
/**

Welcome to Drift!

Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.

Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.

To name a gist, touch its name in the toolbar.

You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.