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 express = require('express'); | |
const redis = require("redis"); | |
const swaggerSpec = require('./src/middlewares/swagger'); | |
const swaggerUi = require("swagger-ui-express"); | |
const { jwtapikeyVerify } = require('./src/middlewares/auth'); | |
const logger = require('./src/middlewares/logger'); | |
const factureRoutes = require('./src/routes/ro-facture'); | |
const detailFactureRoutes = require('./src/routes/ro-detail-facture'); | |
const taxeDetailFactureRoutes = require('./src/routes/ro-taxe-detail-facture'); |
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
<?php | |
class IPA { | |
private $server; | |
private $sslverify; | |
private $session; | |
private $login_user; | |
public function __construct($server, $sslverify = false) { | |
$this->server = $server; |
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
date.timezone = Africa/Abidjan | |
display_errors = False | |
error_log = | |
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT | |
expose_php = False | |
log_errors = True | |
max_input_time = 60 |
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
-----BEGIN RSA PRIVATE KEY----- | |
MIIG5AIBAAKCAYEAn6uhAAzVPFQ6hdsw9ljljCLE6M9x7rAWBu8I/G0qaXipTwtT | |
LYoPsjZEWvV7ilwRMn/wlYrOJbvcH34VodCf2vXAV2IQvbyT03k0v6J48/nhV2Rx | |
8Xmf2OunkBNI1RWVLdmICzkYK0hUu3QWiwWL2DgtG7y/CUsaHIIL35yIr8QzOgSY | |
97jB+Df8cXJU9crtCosnSYThHDjYd4JgtbA/lmE/j7dsFVrnnFr4NhZhBTrEagcF | |
FXjQU4v1rciMzrI5FoD0ySGvkMTLU4WD6jeaZXcAjsoKh2RGdwOIDkwJZMqdy3JM | |
a7kNBC1z43HbjnAnatGMz8uaukqqZ+uepLlVGkNDtqRQFCWUrkBrL63lSOfZ/4Dl | |
DpMV85Oek3krtIQRvkOgDEeZwVqFDDfzUnx9BWTfXvnZ9UZIdeeacP1KFwiQrGI0 | |
pDEFKaTgXlhbCvwFyZcpRZ+8LtBh87jez33zL+fgF/YZnTPeOfgtkdJQniY+xfoa | |
jX1E8vq32q8317rvAgMBAAECggGAX34K1PfX07PgKEv2FW8HIe9tansefYzsL4to |
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
FROM php:PHP_VERSION-apache | |
RUN apt-get update && apt-get install -y \ | |
vim \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libpng-dev \ | |
&& docker-php-ext-configure gd --with-freetype --with-jpeg | |
RUN /usr/local/bin/docker-php-ext-install -j$(nproc) gd mysqli pdo pdo_mysql |
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
ServerTokens Prod | |
ServerSignature Off | |
TraceEnable Off |
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
[elastic] | |
elastic_apm.enabled = true | |
;elastic_apm.api_key = "REPLACE_WITH_API_KEY" | |
elastic_apm.environment = "R_ENVIRONNEMENT" | |
elastic_apm.log_level = "INFO" | |
elastic_apm.log_level_stderr = "INFO" | |
elastic_apm.secret_token = "" | |
elastic_apm.server_timeout = "3s" | |
elastic_apm.server_url = "http://apm-server:8200" | |
elastic_apm.service_name = "php" |
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
version: "2" | |
services: | |
elasticsearch: | |
image: "docker.elastic.co/elasticsearch/elasticsearch:7.16.0" | |
container_name: elasticsearch | |
environment: | |
- discovery.type=single-node | |
- cluster.routing.allocation.disk.threshold_enabled=true | |
- cluster.routing.allocation.disk.watermark.low=65% | |
- cluster.routing.allocation.disk.watermark.high=70% |
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
swagger: "2.0" | |
info: | |
description: "This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters" | |
version: 1.0.0 | |
title: Swagger Petstore YAML | |
termsOfService: "http://swagger.io/terms/" | |
contact: | |
email: "[email protected]" | |
license: | |
name: Apache 2.0 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dumber Gist</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> | |
<base href="/"> | |
</head> | |
<!-- |
NewerOlder