- 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 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 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 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 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 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 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) initStringValue: (NSString *) newValue { | |
myString = newValue; | |
} | |
-(void) changeStringValue: (NSString *) newValue { | |
// Something needs to change here | |
myString = newValue; | |
} | |
MyClass * objA = [[MyClass alloc] init]; |
This file contains 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
# Convert a movie file to a gif. Crappy quality, only good for short screen cap | |
# See https://gist.github.com/dergachev/4627207 | |
function gifify { | |
if [ -z "$1" ] | |
then | |
# No parameter passed, show usage | |
echo "Usage: gifify filename.mov" | |
echo "Resulting gif is stored as out.gif" | |
else | |
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > out.gif |
- Social Security Card
- Passport
- Driver's license
- Life insurance
- Health insurance
- Dental insurance
- Renter's Insurance
- HR at work
- Checking/savings account
- Order new checks
This file contains 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
# Convert a movie file to a gif. Better quality! | |
# The output file is the original file with .gif tacked on | |
# See http://superuser.com/a/556031/1090 | |
function goodgif { | |
if [ -z "$1" ] | |
then | |
# No parameter passed, show usage | |
echo "Usage: goodgif filename.mov" | |
echo "Resulting gif is stored as out.gif" | |
else |