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
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\Directory\Background\shell\cmder] | |
[-HKEY_CLASSES_ROOT\Directory\shell\cmder] |
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: '3' | |
services: | |
# Database | |
db: | |
image: mysql:latest | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: |
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: '4.5' | |
services: | |
# GITLAB | |
gitlab-web: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
container_name: gitlab-web | |
hostname: '192.168.0.14' | |
environment: |
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
import os | |
import requests | |
import datetime | |
# Get current date in the format DD_MM_YY | |
date = datetime.datetime.now().strftime("%d_%m_%y_%H-%M-%S") | |
# Get the desired version of PocketBase from the user | |
version = input("Enter the version of PocketBase you want to install: ") |
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
import os | |
# Request the version to be installed | |
print("check here => https://go.dev/dl/") | |
version = input("Which version of Golang do you want to install? ") | |
# Downloading and installing Golang | |
os.system(f"sudo dnf install -y wget") | |
os.system(f"wget https://golang.org/dl/go{version}.linux-amd64.tar.gz") | |
os.system(f"sudo tar -C /usr/local -xzf go{version}.linux-amd64.tar.gz") |
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
#!/bin/bash | |
# DNF setting | |
echo "fastestmirror=true" >> /etc/dnf/dnf.conf | |
echo "max_parallel_downloads=10" >> /etc/dnf/dnf.conf | |
echo "countme=false" >> /etc/dnf/dnf.conf | |
# Clean Cache DNF | |
dnf clean all | |
dnf upgrade -y |
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
#!/bin/bash | |
# change version https://github.com/docker/compose/releases/download/[version] | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" -y | |
sudo apt update | |
sudo apt install docker-ce -y | |
sudo curl -L "https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
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
{ | |
"name": "retool_workflow_gpt-4_api", | |
"description": null, | |
"organizationId": 547919, | |
"isEnabled": false, | |
"crontab": null, | |
"timezone": "Europe/Paris", | |
"blockData": [ | |
{ | |
"top": -208, |
Ce script Bash utilise Zenity, un outil permettant de créer des interfaces graphiques simples directement depuis la ligne de commande. Il présente un menu interactif où l'utilisateur peut choisir parmi diverses options, chacune illustrant une fonctionnalité de Zenity.
- Boîtes de Dialogue : Affiche des messages d'information, d'erreur et d'avertissement.
- Interactions Utilisateur : Permet de poser des questions avec des réponses "Oui" ou "Non", et de recueillir des saisies de texte et de mot de passe.
- Barres de Progression : Affiche une barre de progression normale ou pulsée, simulant un chargement ou un traitement en cours.
- Sélection de Fichiers : Offre la possibilité de sélectionner un ou plusieurs fichiers, de choisir un dossier ou d'enregistrer un fichier.
- Calendrier et Échelle : Permet à l'utilisateur de choisir une date à l'aide d'un calendrier ou une valeur via une échelle.