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
// The path for our ionicons font files, relative to the built & temporary module.css | |
$fontpath: "../assets/fonts"; | |
$ionicons-font-path: $fontpath !default; | |
$fonts: 'BoschSans-Black', 'BoschSans-Bold', 'BoschSans-Light', 'BoschSans-Medium', 'BoschSans-Regular'; | |
@each $name in $fonts { | |
//@debug $name; | |
$path: '#{$fontpath}/#{$name}'; | |
//@debug $path; | |
//@debug '#{$path}.eot'; |
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
var blessed = require('blessed') | |
, contrib = require('blessed-contrib') | |
, screen = blessed.screen(); | |
var grid = new contrib.grid({rows: 12, cols: 12, screen: screen}); | |
var tree = grid.set(0, 0, 4, 4, contrib.tree, {label: 'Commands'}); | |
//allow control the table with the keyboard | |
tree.focus(); | |
var log = grid.set(4, 2, 2, 2, contrib.log, |
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
# A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis) | |
# Check our Studio: https://gentlenode.com/ | |
meteor add iron:router | |
meteor update iron:router | |
# Iron Router > Configuration |
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
import {Component, Template, If} from 'angular2/angular2'; | |
@Component({ | |
selector: '$NAME' | |
}) | |
@Template({ | |
inline: `<div *if="$NAME">{{$NAME}}</div>`, | |
directives: [If] | |
}) | |
export class $NAME { |
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
Regex | |
All | |
Errors | |
Warnings | |
Info | |
Logs | |
Debug | |
Hide network messages | |
. |
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
ar deferred = $q.defer(); | |
$http.get('/api/jobs?limit=' + limit + '&full=true').success(function(data) { | |
var jobs = []; | |
for (var i = 0; i < data.objects.length; i ++) { | |
jobs.push(new Job(data.objects[i])); | |
} | |
deferred.resolve(jobs); | |
}); | |
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
function onYouTubeIframeAPIReady() { | |
console.log( 'youtube api loaded' ); | |
$( document ).trigger('youtube-ready'); | |
} | |
requirejs( [ | |
'jquery' , | |
] , | |
function ( $ ) { | |
/** |
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
/** | |
* Created by pascal on 26.09.14. | |
* @name StorageList | |
*/ | |
'use strict'; | |
requirejs(['can/util/library', 'can/control','can/model','can/route','can/map'], function(can){ | |
var APIURL = 'test'; | |
/** |
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
/** | |
* Created by pascal on 26.09.14. | |
* @name StorageList | |
*/ | |
'use strict'; | |
requirejs(['can/util/library', 'can/control','can/model','can/route'], function(can){ | |
var APIURL = 'test'; | |
/** |