- Local and repo are the same (like SVN), no need synchronized local and origin
- No staging area (index) by default: use --interactive (o better with IDE)
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 { | |
Component, | |
EventEmitter, | |
forwardRef, | |
HostBinding, | |
Input, | |
OnInit, | |
Output, | |
ViewEncapsulation, | |
} from '@angular/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
/** | |
* Get 2 level of selector using ".each" | |
*/ | |
return element | |
.all( | |
by.css('.selector') | |
) // return array of element | |
.each(function(parentElement, rowIndex) { | |
return parentElement |
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 () { | |
'use strict'; | |
angular | |
.module('app') | |
.filter('defaultFilter', defaultFilter); | |
defaultFilter.$inject = ['$filter']; | |
/* @ngInject */ |
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
/** | |
* Copy => Paste all in DevTools console | |
* ------------------------------------- | |
* | |
*/ | |
// Variable (Edge+) | |
const COUCOU = 'Coucou' | |
// COUCOU = 'TODO' |
- HEAD : la révision courante (normalement le dernier commit)
- untracked : pas encore versionné
- unmodified : versionné mais pas modifié
- modified : ayant des modifications pas encore ajouté au repo local
- staged : sur le repo local
- fast-forward (ou ff) : explication
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 = myName | |
email = myEmail | |
[core] | |
autocrlf = true | |
editor = nano | |
[alias] | |
c = commit | |
b = branch -a | |
s = status -sb -uall |
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 DisableScroll = { | |
// Liste des variable/donnée de l'objet | |
// @use => POC.cache.posTop | |
cache: { | |
keys: [37, 38, 39, 40] | |
}, | |
preventDefault: function(e) { | |
e = e || window.event; |
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
<snippet> | |
<content><![CDATA[console.log( ${1} );]]></content> | |
<tabTrigger>console</tabTrigger> | |
<scope>source.js</scope> | |
<description>Console.log</description> | |
</snippet> |
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
/* ----------------- */ | |
/* ::: G R U N T ::: */ | |
/* ----------------- */ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), |
NewerOlder