- Apple full-sized USB keyboard: http://washingtondc.craigslist.org/doc/ele/3463356859.html
- Linksys WRT54G wireless router: http://washingtondc.craigslist.org/doc/ele/3463356505.html
- Ogio laptop messenger bag: http://washingtondc.craigslist.org/doc/clo/3463377665.html
- TwelveSouth MagicWand: http://washingtondc.craigslist.org/doc/ele/3463382572.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)viewWillAppear:(BOOL)animated { | |
[super viewWillAppear:animated]; | |
// Replace "HeaderSubViewNibName" with the actual name of the xib file to load | |
// your header view. | |
// This returns an array, hence the objectAtIndex: to get the first (and only) | |
// item in the array. | |
UIView *headerView = [[[NSBundle mainBundle] loadNibNamed:@"HeaderSubViewNibName" owner:self options:nil] objectAtIndex:0]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Drush command to load the translations from Views translated strings into | |
* Built-in Interface counterparts | |
*/ | |
/** | |
* Implements hook_drush_command(). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_date_select_process_alter(). | |
* Alter the month/year dropdown filter for views to use a single dropdown | |
* instead of using separate year and month dropdowns. | |
* | |
* This is ONLY done on elements where #combine_dropdowns is TRUE on the | |
* element. This is to prevent the process from being used on form elements | |
* where it is not intended. Use form_alter to set #combine_dropdowns on form | |
* elements that should use the combined dropdown. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal_load('module', 'nodequeue'); | |
// Homepage Features | |
$queue = nodequeue_load_queue_by_name('homepage_features'); | |
if (empty($queue)) { | |
$queue = new stdClass(); | |
$queue->title = 'Homepage Features'; | |
$queue->name = 'homepage_features'; | |
$queue->size = 4; | |
$queue->owner = 'nodequeue'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ drush fra -y | |
Command fra needs the following module(s) enabled to run: features. The drush command 'fra' could not be executed. | |
$ drush en features -y | |
features is already enabled. There were no extensions that could be enabled. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: var D=550, A=450, C=screen.height, B=screen.width, H=Math.round((B/2)-(D/2)), G=0, F=document, t=encodeURIComponent(F.title), u=encodeURIComponent(F.location); if(C>A) {G=Math.round((C/2)-(A/2));} window.open('http://twitter.com/intent/tweet?text=' + t + '&url=' + u,'','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/feeds_xpathparser.module b/feeds_xpathparser.module | |
index bb583ed..aca2470 100644 (file) | |
--- a/feeds_xpathparser.module | |
+++ b/feeds_xpathparser.module | |
@@ -10,7 +10,8 @@ function feeds_xpathparser_feeds_plugins() { | |
'description' => t('Parse HTML using XPath.'), | |
'handler' => array( | |
'parent' => 'FeedsParser', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
// Make sure to set the Content dropdown to Shell Script in TextExpander | |
print file_get_contents('https://raw.github.com/gist/1633790/local.settings.php'); |