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
<?php | |
# ========================================================================# | |
# Requires : Requires PHP5, GD library. | |
# Usage Example: | |
# include("resize.class.php"); | |
# $resizeObj = new resize('images/cars/large/input.jpg'); | |
# $resizeObj -> resizeImage(150, 100, 0); | |
# $resizeObj -> saveImage('images/cars/large/output.jpg', 100); | |
# ========================================================================# |
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
Facture | |
- id | |
- user_id | |
- client_id | |
- date | |
- total | |
FactureItems | |
- id | |
- facture_id |
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
.PHONY: install-sqlite install-ngrok install-proxy launch serveo install | |
install-sqlite: | |
sudo apt-get install php7.4-sqlite3 | |
install-ngrok: | |
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \ | |
&& echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list \ | |
&& sudo apt update \ | |
&& sudo apt install ngrok |
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> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Maintenance Mode</title> | |
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css"> | |
<!-- Styles --> | |
<style> |