- Création d’un bot Telegram personnalisé
- Fonctionnalités de base (messages automatiques, commandes simples)
- Support technique 1 mois inclus
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/bash | |
# Vérifier si vim est installé, sinon l'installer | |
if ! command -v vim &> /dev/null; then | |
echo "Vim n'est pas installé. Installation..." | |
sudo apt update | |
sudo apt install -y vim | |
else | |
echo "Vim est déjà installé." | |
fi |
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/bash | |
# Vérifier si VSCode est installé | |
if ! command -v code &> /dev/null | |
then | |
echo "VSCode n'est pas installé ou 'code' n'est pas dans le PATH." | |
echo "Veuillez installer VSCode et s'assurer que 'code' est accessible depuis le terminal." | |
exit 1 | |
fi |
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/bash | |
set -e | |
echo "==> Étape 0 : Mise à jour actuelle de Ubuntu" | |
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y | |
sudo apt autoremove --purge -y | |
sudo apt install update-manager-core -y | |
echo "==> Étape 1 : Passage de Ubuntu 18.04 vers 20.04" |
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
Fix with this Command | |
$ npm install -D tailwindcss@3 postcss autoprefixer | |
$ npx tailwindcss init -p |
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 ssl | |
import socket | |
import base64 | |
import hashlib | |
import sys | |
def verify_certificate_pinning(host, port, expected_pin): | |
try: | |
# Ouvre une connexion au serveur | |
conn = socket.create_connection((host, port)) | |
context = ssl.create_default_context() |
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
- Go To AWS Cloud Front | |
- Go to the „Error Pages“ Tab for your CloudFront Distribution and create a new Custom Error Response. | |
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 | |
namespace App; | |
use GuzzleHttp\Client; | |
class ExalandFirebase | |
{ | |
private $fcmUrl; | |
private $serviceAccountPath; | |
private $httpClient; |
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
Workaround is to update all the generated ...-frameworks.sh files to add the -f flag to the call to readlink. In other words, need to replace: | |
source="$(readlink "${source}")" | |
with | |
source="$(readlink -f "${source}")" | |
Seems this is CocoaPods issue... |
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
# DIAWI IMPORT APK BY API | |
curl https://upload.diawi.com/ -F token='TOKEN' \ | |
-F [email protected] \ | |
-F callback_emails='[email protected]' |
NewerOlder