Some notes on making an arduino from scratch.
More info at: http://shrimping.it/
Install drivers: http://shrimping.it/drivers/
// Also see http://www.paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/ | |
var log = function() { | |
if (console) { | |
console.log.apply(this, arguments); | |
} | |
} |
describe('currentEnvService', function() { | |
var currentEnvService; | |
var setupMocks; | |
var location = {}; | |
var hostNamesMock = {}; | |
beforeEach(angular.mock.module('app')); | |
beforeEach(function() { |
{ | |
resolve: { | |
/** | |
* Resolve salesforce connection before loading search | |
*/ | |
salesforceConnect: function( | |
$q, | |
CONFIG, | |
salesforceService | |
) { |
Some notes on making an arduino from scratch.
More info at: http://shrimping.it/
Install drivers: http://shrimping.it/drivers/
ifconfig wlan0 | grep 'inet addr' | awk '{print $2}' | awk -F: '{print $2}' |
/** | |
* CI test task. | |
* | |
* Use `minijasminenode2` instead of `gulp-jasmine` | |
* because normal `gulp-jasmine` doesn't exit properly | |
* properly. | |
*/ | |
gulp.task('test:ci', function() { | |
jasmine = require('minijasminenode2'); |
/Library/Preferences/com.apple.Bluetooth.plist |
"use strict"; | |
var _ = require('lodash'); | |
var utils = {}; | |
/** | |
* Apply the rest of the arguments to the last | |
* item in function arguments (the callback) | |
* | |
* ``` |
"use strict"; | |
function CustomCode(Button0) { | |
if (Button0) { | |
var startTime = 0; | |
var getReadyTime = 500; | |
var goTime = 1500; | |
var endTime = 2500; | |
this.sendTo('RGBLED0', [50,0,0], startTime); | |
ie annoyances | |
- use list-style: none outside; for lists to prevent using text-index: -16px | |
- All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer | |
- list style background images disappear when you scroll | |
- Use | |
table { |