This file contains hidden or 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 { Module } from '@nestjs/common' | |
import { ConfigModule } from '@nestjs/config' | |
import { CleanEnvironmentModule } from './clean-environment.module' | |
const envFilePath = process.env.NODE_ENV === 'test' ? '.env.test' : undefined | |
@Module({ | |
imports: [ | |
CleanEnvironmentModule.forPredicate(envFilePath, () => process.env.NODE_ENV === 'test'), | |
ConfigModule.forRoot({ |
This file contains hidden or 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
public List<DoublonPP> findNombreDoublonPP(boolean nomPatronymique, | |
boolean prenom, boolean dateNaissance, boolean telephoneDomicile, | |
boolean telephonePortable, boolean rue, boolean codePostal) { | |
if (!nomPatronymique && !prenom && !dateNaissance && !telephoneDomicile | |
&& !telephonePortable && !rue && !codePostal) { | |
return null; | |
} | |
try { | |
StringBuilder queryString = new StringBuilder(); |
This file contains hidden or 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
public List<DoublonPP> findNombreDoublonPP(boolean nomPatronymique, | |
boolean prenom, boolean dateNaissance, boolean telephoneDomicile, | |
boolean telephonePortable, boolean rue, boolean codePostal) { | |
if (!nomPatronymique && !prenom && !dateNaissance && !telephoneDomicile | |
&& !telephonePortable && !rue && !codePostal) { | |
return null; | |
} | |
try { | |
StringBuilder queryString = new StringBuilder(); |
This file contains hidden or 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 { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { JWT_OPTIONS, JwtInterceptor, JwtModule } from '@auth0/angular-jwt'; | |
import { AuthorizationService } from './authorization.service'; | |
import { environment } from '../../environments/environment'; | |
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http'; | |
import { RefreshTokenInterceptor } from './refresh-token-interceptor'; | |
function jwtOptionsFactory (authorizationService: AuthorizationService) { | |
return { |
This file contains hidden or 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 graphene | |
from sqlalchemy.inspection import inspect | |
from graphene.types.utils import yank_fields_from_attrs | |
from graphene.types.objecttype import ObjectTypeOptions | |
from graphene_sqlalchemy import get_session | |
from graphene_sqlalchemy.registry import get_global_registry | |
from graphene_sqlalchemy.types import construct_fields |
This file contains hidden or 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 org.fluentlenium.configuration.ConfigurationException; | |
import org.fluentlenium.configuration.WebDriverFactory; | |
import org.openqa.selenium.Capabilities; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.remote.Augmenter; | |
import org.openqa.selenium.remote.RemoteWebDriver; | |
import java.net.MalformedURLException; | |
import java.net.URL; |
This file contains hidden or 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 org.fluentlenium.configuration.ConfigurationException; | |
import org.fluentlenium.configuration.WebDriverFactory; | |
import org.openqa.selenium.Capabilities; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.remote.Augmenter; | |
import org.openqa.selenium.remote.RemoteWebDriver; | |
import java.net.MalformedURLException; | |
import java.net.URL; |
This file contains hidden or 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
// timeFrames defines named ranges of hours in a day. | |
// Each timeFrame can be marked as working or non-working, and have a css class attached. | |
var timeFrames = { | |
'day': {'start': '09:00', 'end': '18:00', 'working': true, 'css-class': 'gantt-range-day'}, | |
'noon': {'start': '12:00', 'end': '13:30', 'working': false, 'css-class': 'gantt-range-noon'}, | |
'morning': {'start': '09:00', 'end': '12:00', 'working': true, 'css-class': 'gantt-range-morning'}, | |
'afternoon': {'start': '13:30', 'end': '18:00', 'working': true, 'css-class': 'gantt-range-afternoon'}, | |
'closed': {'working': false, 'css-class': 'closed'} // If no start nor end is defined, consider this as full day. | |
}; |
This file contains hidden or 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
Dans Git 2.0 Git utilisera par défaut le comportement plus conservatif 'simple' | |
qui ne pousse la branche courante vers la branche distante que 'git pull' utilise | |
pour mettre à jour la branche courante. |
This file contains hidden or 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
#! /bin/sh -e | |
### BEGIN INIT INFO | |
# Provides: pootle | |
# Required-Start: $apache2 | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Pootle | |
# Description: Get your community translating your software into their languages. | |
### END INIT INFO |
NewerOlder