Skip to content

Instantly share code, notes, and snippets.

View exaland's full-sized avatar
🏠
Working from home

Exaland Concept exaland

🏠
Working from home
View GitHub Profile
@exaland
exaland / install_vim_dev.sh
Created July 20, 2025 12:48
Install VIM avec Theme Gruvbox
#!/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
@exaland
exaland / vscode_install.sh
Created June 18, 2025 10:35
VSCODE INSTALL WITH BETTER EXTENSION AND THEME DARK
#!/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
@exaland
exaland / tarif_bot_telegram.md
Created June 15, 2025 13:40
TARIF BOT TELEGRAM

Grille Tarifaire – Création de Bots Telegram

Pack Basique – 300€

  • Création d’un bot Telegram personnalisé
  • Fonctionnalités de base (messages automatiques, commandes simples)
  • Support technique 1 mois inclus

@exaland
exaland / complete_upgrade_to_22.sh
Last active April 7, 2025 23:03
Update Ubuntu 18.04 to 22.04
#!/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"
@exaland
exaland / tailwindcss_npmerr
Created March 13, 2025 11:14
npx tailwindcss init -p npm ERR! could not determine executable to run
Fix with this Command
$ npm install -D tailwindcss@3 postcss autoprefixer
$ npx tailwindcss init -p
@exaland
exaland / pinningKeyTester.py
Created January 22, 2025 11:05
Pinning Key SSL Tester
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()
@exaland
exaland / angular_s3_cloudfront
Last active January 15, 2025 11:35
Aws S3 - CloudFront Angular Refresh Problem
- Go To AWS Cloud Front
- Go to the „Error Pages“ Tab for your CloudFront Distribution and create a new Custom Error Response.
@exaland
exaland / exaland_firebase_serviceconfig.php
Created December 16, 2024 13:37
Firebase FCM (New Auth with Service Config File) Class for Laravel / Symfony or PHP
<?php
namespace App;
use GuzzleHttp\Client;
class ExalandFirebase
{
private $fcmUrl;
private $serviceAccountPath;
private $httpClient;
@exaland
exaland / Fix IOS Archive Compile Cordova App.txt
Last active November 12, 2024 11:21
Fix IOS Archive Compile Cordova App
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...
@exaland
exaland / diawi_import_api
Created October 21, 2023 21:19
Import APK or IPA o Diawi by API
# DIAWI IMPORT APK BY API
curl https://upload.diawi.com/ -F token='TOKEN' \
-F [email protected] \
-F callback_emails='[email protected]'