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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> |
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 opentype = require( 'opentype.js' ); | |
| var fs = require( 'fs' ); | |
| var _ = require( 'lodash' ); | |
| gulp.task( 'icons', function() { | |
| var icons = []; | |
| var scss = '[class^="my-icon-"], [class*=" my-icon-"] { display: inline-block; font: normal normal normal 14px/1 "mylaps-icons"; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }'; | |
| opentype.load( manifest.dependencies.icons.font[ 0 ], function( err, font ) { |
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
| # initialization file (not found) |
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
| // Start MongoDB | |
| sudo /etc/init.d/mongod start | |
| // Stop MongoDB | |
| sudo /etc/init.d/mongod stop | |
| // Start Naught node worker | |
| naught start --worker-count 1 server.js | |
| // Stop Naught node worker |
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
| div br { | |
| display: none; | |
| } |
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
| // Ik probeer mijn betaande thermo-settings te updaten met de onderstaande variable "settings". | |
| // Maar het lukt mij niet om de nieuwe data door te sturen.. | |
| // request | |
| var setting = { | |
| _id: 546fb9f13a9b3e00002a8e77, | |
| temp_tracking: true, | |
| last_update: Fri Nov 28 2014 08:25:32 GMT+0100 (CET), | |
| current_schedule: [ | |
| { _id: '5479a35fc6eacfc1e38bd786', |
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 FS = require('fs'), | |
| request = require('request'); | |
| function getResults(pathToFile, callback) { | |
| FS.readFile(pathToFile, 'utf8', function(err, data) { | |
| if (err) return callback(err); | |
| var response1, response2; | |
| request.post('http://service1.example.com?data=' + data), function(err, response, body) { | |
| if(err) return callback(err); |
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
| // mixin for easy focus color removement | |
| @mixin remove-focus-color { | |
| outline: none; | |
| -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */ | |
| } |
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
| @mixin ellipsis() { | |
| overflow: hidden; | |
| white-space: nowrap; | |
| text-overflow: ellipsis; | |
| } |