Confluence link
Please check azure-pipeline.yml to have an overview of different CI/CD tasks
Run mvn clean install to install dependecies...
| import {LitElement} from 'lit-element'; | |
| class LitElementLight extends LitElement { | |
| slotMap: object; | |
| connectedCallback() { | |
| this.slotMap = Array | |
| .from(this.renderRoot.querySelectorAll('[slot]')) | |
| .reduce((map, obj) => ({ | |
| ...map, |
| #!/usr/bin/env bash | |
| set -u | |
| source utils.sh | |
| declare -A servers=([INTEGRATION]='pi@pi' [HOMOLOGATION]='fouad@integration' [UAT]='ubuntu@lisa-prod'); | |
| rapport_directory="./report/$(date +%d_%m_%Y__%H_%M)"; | |
| environment=${servers['HOMOLOGATION']}; |
| { | |
| "name": "testweb", | |
| "version": "0.0.1", | |
| "description": "", | |
| "author": "Fouad JADOUANI", | |
| "license": "ISC", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/fouad-j/init-project-angular.git" | |
| }, |
| var HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter'); | |
| var reporter = new HtmlScreenshotReporter({ | |
| dest: 'target/screenshots', | |
| filename: 'my-report.html', | |
| userCss: 'e2e/reporter.css' | |
| }); | |
| exports.config = { | |
| framework: 'jasmine', |
| <div feature-toggle="TOGGLE_NAME_1"> | |
| <h1>FeatureToggle</h1> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
| tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
| quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
| consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | |
| cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non | |
| proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | |
| </div> |
| angular.module('app').directive('featureToggle', function(toggleService) { | |
| return { | |
| restrict: 'A', | |
| template: '<span ng-transclude></span>', | |
| transclude: true, | |
| link: function(scope, element, attrs) { | |
| if(toggleService.isEnable(attrs.featureToggle)) element.remove() | |
| } | |
| }; | |
| }); |
| angular.module('app').service('toggleService', function() { | |
| const TOGGLE_LIST = ['TOGGLE_NAME_1', 'TOGGLE_NAME_2', 'TOGGLE_NAME_3']; | |
| this.isEnable = toggleName => TOGGLE_LIST.includes(toggleName); | |
| }); |
| #! /bin/sh | |
| ######################################################## | |
| # Auteur : Fouad JADOUANI <[email protected]> | |
| # Description : Ajoute une nouvelle resolution pour un | |
| # ecran additionel s'elle n'existe pas | |
| ################ | |
| # French documentation : http://doc.ubuntu-fr.org/xrandr | |
| # Version 1.0 | |
| ############### | |
| # Historique : |
| # temps pour fermer conky en secondes. 0 = toujours actif | |
| total_run_times 0 | |
| # affiche le texte sur la sortie standard | |
| out_to_console no | |
| # réglage de la mémoire, pour éviter le clignotement | |
| double_buffer yes | |
| # Soustraire les mémoires tampons de la mémoire utilisée | |
| no_buffers yes |