- 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 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
#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 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
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 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
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 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
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 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 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 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
const test = 0; | |
let superLongValue = 'other value'; | |
const someObject = {}; | |
someObject.methodB = test >= superLongValue + 'text'; | |
someObject.otherMethodC = test => superLongValue = test; |
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
{ | |
"script" : "bin/www" | |
} |
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
(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 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
[36mBuilt-in Atom packages[39m (89) | |
βββ [email protected] | |
βββ [email protected] | |
βββ [email protected] | |
βββ [email protected] | |
βββ [email protected] | |
βββ [email protected] | |
βββ [email protected] | |
βββ [email protected] | |
βββ [email protected] |