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 My Drush Commands | |
*/ | |
/** | |
* Implementation of hook_drush_help() | |
*/ | |
function my_drush_help($section) { | |
switch ($section) { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<buildpath> | |
<buildpathentry kind="src" path=""/> | |
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/> | |
</buildpath> |
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
$results = db_select('users', 'u') | |
->fields('u', array('uid', 'created')) | |
->condition('uid', 0, '<>') | |
->condition('uid', 1, '<>') | |
->range(0,300) | |
->orderBy('created') | |
->execute()->fetchAll(); | |
foreach($results as $result) { | |
$user = user_load($result->uid); |
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
### Package.json ### | |
"socket.io": "0.9.16" | |
### Bower.json ### | |
"socket.io-client": "0.9.16" | |
npm install | |
bower install | |
### config/assests.json ### |
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
### Using Form inside a controller ### | |
$scope.formName.$setPristine() | |
### Including a form using ng-include ### | |
this.formName.$setPristine() | |
### Resetting data being set using ng-modal### | |
$scope.modal = '' |
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
// CONSTANTS defined in whiteboard_migration.module. | |
// Will be accessible when this module is installed on whiteboard. | |
define('WHITEBOARD_INVOICE_HEADER_START_COMMENT', 'Header begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_HEADER_END_COMMENT', 'Header ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_START_COMMENT', 'Body begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_END_COMMENT', 'Body ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_START_COMMENT', 'Footer begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_END_COMMENT', 'Footer ends here for invoice #'); | |
$header_start_comment = '<!--' . WHITEBOARD_INVOICE_HEADER_START_COMMENT . $invoice_vid . '-->'; |
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
// CONSTANTS defined in whiteboard_migration.module. | |
// Will be accessible when this module is installed on whiteboard. | |
define('WHITEBOARD_INVOICE_HEADER_START_COMMENT', 'Header begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_HEADER_END_COMMENT', 'Header ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_START_COMMENT', 'Body begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_END_COMMENT', 'Body ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_START_COMMENT', 'Footer begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_END_COMMENT', 'Footer ends here for invoice #'); | |
$header_start_comment = '<!--' . WHITEBOARD_INVOICE_HEADER_START_COMMENT . $invoice_vid . '-->'; |
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
// CONSTANTS defined in whiteboard_migration.module. | |
// Will be accessible when this module is installed on whiteboard. | |
define('WHITEBOARD_INVOICE_HEADER_START_COMMENT', 'Header begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_HEADER_END_COMMENT', 'Header ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_START_COMMENT', 'Body begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_END_COMMENT', 'Body ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_START_COMMENT', 'Footer begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_END_COMMENT', 'Footer ends here for invoice #'); | |
$header_start_comment = '<!--' . WHITEBOARD_INVOICE_HEADER_START_COMMENT . $invoice_vid . '-->'; |
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
// CONSTANTS defined in whiteboard_migration.module. | |
// Will be accessible when this module is installed on whiteboard. | |
define('WHITEBOARD_INVOICE_HEADER_START_COMMENT', 'Header begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_HEADER_END_COMMENT', 'Header ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_START_COMMENT', 'Body begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_BODY_END_COMMENT', 'Body ends here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_START_COMMENT', 'Footer begins here for invoice #'); | |
define('WHITEBOARD_INVOICE_FOOTER_END_COMMENT', 'Footer ends here for invoice #'); | |
$header_start_comment = '<!--' . WHITEBOARD_INVOICE_HEADER_START_COMMENT . $invoice_vid . '-->'; |
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
{ | |
"kind": "books#volumes", | |
"totalItems": 459, | |
"items": [ | |
{ | |
"kind": "books#volume", | |
"id": "669sjA7YvcQC", | |
"etag": "QhNKdWk0zBc", | |
"selfLink": "https://www.googleapis.com/books/v1/volumes/669sjA7YvcQC", | |
"volumeInfo": { |
OlderNewer