Coding rules such as : linting, formatting, versionning and code development.
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
const totalAdresse = docs.reduce((prevValue, contrat) => { | |
console.log(prevValue, contrat); | |
if (prevValue.includes(contrat.adresse)) { | |
return prevValue; | |
} else { | |
return [...prevValue, contrat.adresse]; | |
} | |
}, []); | |
const totalAchatAndVente = docs.reduce( |
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 { useIonViewWillEnter, IonText } from '@ionic/react'; | |
import { FC, useRef, useEffect } from 'react'; | |
export interface ComponentProps { | |
data: any; | |
} | |
const Component: FC<ComponentProps> = ({ data }: ComponentProps) => { | |
const compoRef = useRef<HTMLDivElement>(null); | |
const isFirstRender = useRef(true); |
For windows, you can use the following bash script with PowerShell.exe to quickly install the above softwares with chocolatey (a software management for windows). You can look for other softwares at this page.
To bookmark online knowledge resources and trendy new technologies in the field of computer science.
Dans le cadre d'un cours sur les architectures logicielles à l'IMT, il a été décrit la notion de typage (Curry-Howard correspondence) permettant de développer des applications aux composants modulaires, sur la base de patrons de conception.
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
const Logger = { | |
info: (className: string, message: string, functionName?: string): void => { | |
console.log( | |
`${FgWhite}${getDate()} ${FgGreen}LOG ${FgYellow}[${className}]${ | |
functionName ? `(${functionName})` : '' | |
} ${FgGreen}${message}${Reset}` | |
); | |
}, | |
warn: (className: string, message: string, functionName?: string): void => { | |
console.warn( |