- http://wesbos.com/git-hot-tips/
- https://github.com/sindresorhus/awesome - check every tech you're working with for some awesomeness
- http://caniuse.com/ - check browser support for some features berfore use them
- http://stackoverflow.com/ - questions
- https://coderwall.com/ - tips and tricks
- http://javascriptweekly.com/ - subcription
- http://html5weekly.com/ - subcription
- http://css-weekly.com/ - subcription
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
#include <Arduino.h> | |
#include "Chassis.h" | |
#define STOP 0 | |
#define FORWARD 1 | |
#define RIGHT 2 | |
#define LEFT 4 | |
#define BACKWARD 5 | |
Chassis::Chassis(int D1, int P1, int D2, int P2) { |
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 moduleFor(fullName, description, callbacks, delegate) { | |
var container; | |
var context; | |
var _callbacks = { | |
setup: function(){ | |
callbacks = callbacks || { }; | |
var needs = [fullName].concat(callbacks.needs || []); | |
container = isolatedContainer(needs); |
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
App.SomeIndexRoute = Ember.Route.extend({ | |
model: function () { | |
return this.store.find('some'); | |
} | |
}); | |
App.SomeShowRoute = Ember.Route.extend({ | |
model: function (params) { | |
console.log('========================reload=========================='); // не вызывается если кликнуть по ссылке /#/some/111, но вызывается если обновить страницу | |
var some = this.store.find('some', params.id); |
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 toChain(target) { | |
var queue = []; | |
var lastReturn; | |
Object.keys(target).forEach(function (prop) { | |
var original; | |
if (typeof target[prop] === 'function') { | |
original = target[prop]; | |
target[prop] = function () { | |
var args = arguments; |
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 inject = angular.mock.inject; | |
var $q; | |
describe('$q is really strange', function (){ | |
beforeEach(inject(function ($injector){ | |
$q = $injector.get('$q'); | |
})); | |
it('should proof that q is working properly', function (done){ | |
var lastRequest = $q.defer(); |
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
const test = 0; | |
let superLongValue = 'other value'; | |
const someObject = {}; | |
someObject.methodB = test >= superLongValue + 'text'; | |
someObject.otherMethodC = test => superLongValue = 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
{ | |
"script" : "bin/www" | |
} |
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 webpackUniversalModuleDefinition(root, factory) { | |
if(typeof exports === 'object' && typeof module === 'object') | |
module.exports = factory(require("react")); | |
else if(typeof define === 'function' && define.amd) | |
define(["react"], factory); | |
else if(typeof exports === 'object') | |
exports["ReactMotion"] = factory(require("react")); | |
else | |
root["ReactMotion"] = factory(root["React"]); | |
})(this, function(__WEBPACK_EXTERNAL_MODULE_1__) { |
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
[36mBuilt-in Atom packages[39m (89) | |
├── about@1.3.0 | |
├── archive-view@0.61.0 | |
├── atom-dark-syntax@0.27.0 | |
├── atom-dark-ui@0.51.0 | |
├── atom-light-syntax@0.28.0 | |
├── atom-light-ui@0.43.0 | |
├── autocomplete-atom-api@0.9.2 | |
├── autocomplete-css@0.11.0 | |
├── autocomplete-html@0.7.2 |