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
| // ---- | |
| // Sass (v3.2.19) | |
| // Compass (v0.12.6) | |
| // Breakpoint (v2.0.7) | |
| // Susy (v1.0.9) | |
| // ---- | |
| @import "breakpoint"; | |
| @import "susy"; | |
| @import "compass"; |
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
| <section> | |
| <div data-ng-show="global.authenticated" class="home-timeline scroll-box"> | |
| <!-- <div data-ng-show="global.authenticated" class="home-timeline scroll-box" dr-window-infinite-scroll="onScroll()"> --> | |
| <div class="posts-listing"> | |
| <div class="block-title"> | |
| <span class="line-holder"></span> | |
| <span class="recent-happening-title">Recent Happenings </span> | |
| <span class="title-drop-button">All Posts</span> | |
| </div> | |
| <div infinite-scroll='nextPage()' infinite-scroll-disabled='busy' infinite-scroll-distance='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
| var user_migration_error = []; | |
| function user_migration_save(user) { | |
| user.save(function(err) { | |
| if (err) { | |
| console.log(err); | |
| console.log(user.email); | |
| user_migration_error.push(user); | |
| } | |
| else { |
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
| # Example MySQL config file for medium systems. | |
| # | |
| # This is for a system with little memory (32M - 64M) where MySQL plays | |
| # an important part, or systems up to 128M where MySQL is used together with | |
| # other programs (such as a web server) | |
| # | |
| # You can copy this file to | |
| # /etc/my.cnf to set global options, | |
| # mysql-data-dir/my.cnf to set server-specific options (in this | |
| # installation this directory is /Applications/MAMP/db/mysql) or |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| $view = new view(); | |
| $view->name = 'user_byline'; | |
| $view->description = 'Allocating byline to author, during node view'; | |
| $view->tag = 'default'; | |
| $view->base_table = 'node'; | |
| $view->human_name = 'User Byline'; | |
| $view->core = 7; | |
| $view->api_version = '3.0'; | |
| $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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
| $handler = new stdClass(); | |
| $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ | |
| $handler->api_version = 1; | |
| $handler->name = 'node_view_panel_context'; | |
| $handler->task = 'node_view'; | |
| $handler->subtask = ''; | |
| $handler->handler = 'panel_context'; | |
| $handler->weight = 0; | |
| $handler->conf = array( | |
| 'title' => 'Article', |
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 | |
| function insight_client_fivestar_summary($variables) { | |
| $microdata = $variables['microdata']; | |
| extract($variables, EXTR_SKIP); | |
| $output = ''; | |
| $div_class = ''; | |
| $average_rating_microdata = ''; | |
| if (isset($user_rating)) { | |
| $div_class = isset($votes) ? 'user-count' : 'user'; | |
| $user_stars = round(($user_rating * $stars) / 100, 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
| git log --follow -p file |
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
| "\e[A": history-search-backward | |
| "\e[B": history-search-forward | |
| "\e[C": forward-char | |
| "\e[D": backward-char |