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
package com.medkhelifi.api; | |
import com.medkhelifi.exceptions.enums.ApiErrNumber; | |
import com.medkhelifi.api.error.ApiError; | |
import com.medkhelifi.api.error.ApiValidationError; | |
import com.medkhelifi.api.error.sub.ApiSubError; | |
import com.medkhelifi.exceptions.ApiException; | |
import com.medkhelifi.api.success.ApiSuccess; | |
import com.medkhelifi.api.success.ApiSuccessType; | |
import com.medkhelifi.util.Util; |
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
const cart = document.getElementById("cart-list"); //section ou l'ensemble des information lié a page panier sont affiché. | |
const emptyCart = document.getElementById("empty-cart"); //balise qui s'affiche tant que le panier est vide. | |
let cartPrice = document.getElementById("cart-price"); | |
cartPrice.style.display = "none"; | |
const finalPrice = document.createElement("div"); //balise qui affichera le prix total de la commande. | |
finalPrice.classList.add("text-end"); //style bootstraps qui affichera le prix total sur la droite du panier. | |
finalPrice.classList.add("fs-4"); | |
finalPrice.classList.add("pb-2"); |
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
package com.hemebiotech.analytics; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
public class HemebiotechApp { | |
public static void main(String[] args) { | |
// Symptoms reading phase// |
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
let todos= [ | |
{id: 1, title: "Eat breakfast", completed: false}, | |
{id: 2, title: "Make bed 1", completed: false}, | |
{id: 3, title: "Make bed 2", completed: false}, | |
{id: 4, title: "Make bed 3", completed: false} | |
]; | |
let todos2= [ | |
{id: 1, title: "Element numéro 1", completed: false}, | |
{id: 2, title: "Element numéro 2", completed: false}, |
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
// Creer un utilisateur administrateur | |
User.findOrCreate({ | |
where: {username:"admin", }, | |
defaults: { | |
username: "admin", | |
email: "[email protected]", | |
password: bcrypt.hashSync("admin", 4), | |
}, | |
}).then((users) => { | |
users[0].setRoles([2]).then(() => { |
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
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="./style.css" /> | |
<link rel="preconnect" href="https://fonts.googleapis.com" /> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | |
<link rel="preconnect" href="https://fonts.googleapis.com" /> |
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
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="./style.css" /> | |
<link rel="preconnect" href="https://fonts.googleapis.com" /> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | |
<link rel="preconnect" href="https://fonts.googleapis.com" /> |
OlderNewer