Type | Task | Description |
---|---|---|
CLI | bower | Package manager for front-end dependnecies |
CLI | glob | Used to modularize tasks in separate files |
CLI | grunt | The core Grunt tasks |
CLI | grunt-cli | The Grunt CLI |
CLI | tsd | Package manager for Typescript definitions |
Compression | grunt-angular-templates | Precaches Angular templates in a single file |
Compression | grunt-contrib-cssmin | Minifies CSS files |
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
angular.module('nobrow.interceptors').config(function ($provide, $httpProvider) { | |
$provide.factory('TokenHttpInterceptor',function ($http, $cacheFactory) { | |
var cache = $cacheFactory('nobrow'); | |
return { | |
request: function (config) { | |
var token = cache.get('access_token'); | |
if (token) { | |
config.headers.common.Authorization = 'Bearer '+token; |
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
main | |
.third | |
.third | |
.third | |
.half | |
.half |
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
<main> | |
<div class="third"></div> | |
<div class="third"></div> | |
<div class="third"></div> | |
</main> |
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
/** | |
* Transform a Query object to its SQL value | |
* | |
* @param Query $query | |
* | |
* @return string | |
*/ | |
function queryToSql($query) | |
{ | |
// Unnest query objects |
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.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.icon { | |
font-family:"icons"; | |
display:inline-block; | |
vertical-align:middle; | |
line-height: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
.row | |
p Some<br>Text | |
p Some<br>More<br>Text | |
p Some<br>More<br>More<br>Text |
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
.row | |
a Some link | |
a Some other link | |
a Some other link |
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
Running "csscss:dist" (csscss) task | |
public/app/css/styles.css | |
{.icon} AND {.icon-small, .icon-large, .has-icon.activity:before, | |
.has-grey-icon.activity:before, | |
.has-compact-icon.activity:before, .has-icon.archive:before, | |
.has-grey-icon.archive:before, | |
.has-compact-icon.archive:before, .has-icon.bin:before, | |
.has-grey-icon.bin:before, | |
.has-compact-icon.bin:before, .media-upload-gallery li:not(.uploader):hover:before, .has-icon.calendar:before, | |
.has-grey-icon.calendar:before, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<code_scheme name="Anahkiasen"> | |
<option name="OTHER_INDENT_OPTIONS"> | |
<value> | |
<option name="INDENT_SIZE" value="2" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="2" /> | |
<option name="TAB_SIZE" value="2" /> | |
<option name="USE_TAB_CHARACTER" value="true" /> | |
<option name="SMART_TABS" value="false" /> | |
<option name="LABEL_INDENT_SIZE" value="0" /> |