Dependency | Version | New Version | Package manager |
---|---|---|---|
ember | 1.8.1 | 1.10.0 | Bower |
ember-resolver | 0.1.11 | 0.1.12 | Bower |
ember-data | 1.0.0-beta.12 | 1.0.0-beta.14.1 | Bower |
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
[user] | |
name = Ton Nom | |
email = ton@email.tld | |
[color] | |
ui = auto | |
[alias] | |
st = status | |
ci = commit | |
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' | |
[core] |
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
Git Cheat Sheet | |
Create Git | |
From existing directory | |
cd project_dir | |
git init | |
git add . |
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
[user] | |
name = * | |
email = *@*.* | |
[alias] | |
st = status |
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
module.exports = function(grunt) { | |
/* | |
Tree : | |
src/less/\*\/*.less | |
src/scripts/\*\/*.js | |
dist/js/*.min.js == test+concat+minify | |
dist/js/*.js == test+concat+beautify | |
dist/css/*.css == compile+beautify | |
dist/css/*.min.css == compile+minify |
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
As a reminder , a few seo rules for pagination : | |
* behaviour of the page parameter | |
- ?page=-1 ---> 404 | |
- ?page=abc ---> 404 | |
- ?page=0 ---> 404 | |
- ?page=1000 (any number>max) ----> 404 | |
- ?page=1 ----> 301 to same url without page parameter | |
if there is already a querystring : page parameter must be always at the same place in url ! |
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.LocationRoute = Ember.Route.extend({ | |
model: function() { | |
return this.store.find('location', params).then(function(result){ | |
return result.get('content.firstObject'); | |
}); | |
} | |
}); | |
App.LocationController = Ember.Controller.extend({ | |
hasNoMoreContacts: false, |
How to Git rebase interactive multi columns
- ctrl+v > do the selection
- (c > change) || (x > delete)
- s (squash)
- echap
- (wq) || (x) -> write and exit
credits: @omiel
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 _ from 'lodash'; | |
'use strict'; | |
export class Hello { | |
constructor(name="John") { | |
this.name = name; | |
} | |
set name(name) { |
OlderNewer