###.aliases
# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -"
###.aliases
# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -"
https://github.com/cognitom/symbols-for-sketch | |
https://github.com/cognitom/gulp-sketch | |
https://github.com/nfroidure/gulp-iconfont |
var | |
gulp = require('gulp'), | |
semver = require('semver'), | |
$ = require('gulp-load-plugins')(); | |
var inc = function(importance) { | |
return gulp.src(['./package.json']) | |
.pipe($.bump({type: importance})) | |
.pipe(gulp.dest('./')) | |
.pipe($.git.commit('Release v' + semver.inc( |
import _ from 'lodash'; | |
'use strict'; | |
export class Hello { | |
constructor(name="John") { | |
this.name = name; | |
} | |
set name(name) { |
How to Git rebase interactive multi columns
credits: @omiel
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, |
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 ! |