Advanced Tax Query

$args = array(
'post_type' => 'actions',
'post_status' => 'publish',
'posts_per_page' => -1,
'tax_query' => array(
//'relation' => 'AND',
array(
'taxonomy' => 'actions_difficulty_levels',
'field' => 'slug',
'terms' => array($term)
),
array(
'taxonomy' => 'actions_tags',
'field' => 'slug',
'terms' => array('rebate'),
//'operator' => 'NOT IN'
)
)
);
$actions = get_posts($args);

Create a Role

$nl_roles = new NLRoles();

class NLRoles{

public function __construct(){
add_action('init',array(&$this,'init'));
}

public function init(){
add_role('nl_document_user',__('Document User'),
array(
'read' => true, // true allows this capability
//'edit_posts' => true,
//'delete_posts' => false, // Use false to explicitly deny
)
);

}
}

Meta Box Datepicker

public function meta_box_1($post){
// Enqueue Datepicker + jQuery UI CSS
wp_enqueue_script('jquery-ui-datepicker');
wp_enqueue_style('jquery-ui-style','http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/smoothness/jquery-ui.css',true);

//This is where the normal meta box stuff goes. Nonce, get_post_meta, etc

?>
<script type="text/javascript">jQuery(document).ready(function(){ jQuery('#presentation_date').datepicker({dateFormat : 'mm/dd/yy'}); });</script>
<?php
}