Skip to content
OpenSharing
  • Index des commandes Linux
  • Open Source
    • Linux
      • Commandes Linux
      • Linux – Trucs et astuces
      • Shell
    • DNS | DHCP
      • DHCP
        • ISC DHCP
      • DNS
        • ISC Bind9
    • Monitoring | Deploiement
      • Deploiement
        • Fog
        • Opsi
      • Monitoring
        • Graylog
        • Snipe-IT
    • Web Apps
      • e-commerce
        • PrestaShop
        • Magento
      • Web
        • Apache
        • Nginx
      • Cloud
        • ownCloud
        • Pydio
        • Seafile
      • Forum
        • MyBB
        • NodeBB
        • phpBB
        • Vanilla
      • Wiki
        • DokuWiki
        • Foswiki
        • MediaWiki
        • Tiki Wiki
      • CMS
        • Drupal
        • Joomla
        • WordPress
      • LMS
        • Chamilo
        • Claroline
        • Moodle
        • Opigno
        • Etherpad
    • Forge | DVCS | VCS
      • Git
      • GitHub
      • GitLab CE
  • Programmation
    • HTML
    • Python
    • Shell
    • YAML
  • Divers
    • Ethical Hacking
    • Logiciels
      • FFmpeg
      • Firefox
      • Java
      • Thunderbird
    • Sources
      • Références
      • Téléchargements
    • Virtualisation
      • Docker
      • Proxmox
      • Vagrant
      • VirtualBox
      • VMware
    • Windows
      • Commandes Windows
      • Windows – Trucs et astuces
    • Choucroute (privé)
      • Anglais
      • Bookmarks
      • Photographie
      • Rubik
  • Info
    • Contact
    • A propos
Menu Fermer
  • Index des commandes Linux
  • Open Source
    • Linux
      • Commandes Linux
      • Linux – Trucs et astuces
      • Shell
    • DNS | DHCP
      • DHCP
        • ISC DHCP
      • DNS
        • ISC Bind9
    • Monitoring | Deploiement
      • Deploiement
        • Fog
        • Opsi
      • Monitoring
        • Graylog
        • Snipe-IT
    • Web Apps
      • e-commerce
        • PrestaShop
        • Magento
      • Web
        • Apache
        • Nginx
      • Cloud
        • ownCloud
        • Pydio
        • Seafile
      • Forum
        • MyBB
        • NodeBB
        • phpBB
        • Vanilla
      • Wiki
        • DokuWiki
        • Foswiki
        • MediaWiki
        • Tiki Wiki
      • CMS
        • Drupal
        • Joomla
        • WordPress
      • LMS
        • Chamilo
        • Claroline
        • Moodle
        • Opigno
        • Etherpad
    • Forge | DVCS | VCS
      • Git
      • GitHub
      • GitLab CE
  • Programmation
    • HTML
    • Python
    • Shell
    • YAML
  • Divers
    • Ethical Hacking
    • Logiciels
      • FFmpeg
      • Firefox
      • Java
      • Thunderbird
    • Sources
      • Références
      • Téléchargements
    • Virtualisation
      • Docker
      • Proxmox
      • Vagrant
      • VirtualBox
      • VMware
    • Windows
      • Commandes Windows
      • Windows – Trucs et astuces
    • Choucroute (privé)
      • Anglais
      • Bookmarks
      • Photographie
      • Rubik
  • Info
    • Contact
    • A propos
Programmation
  1. Accueil>
  2. Programmation

mysql_secure_installation automatisation (FR)

  • Auteur/autrice de la publication :DarwinOS
  • Post published:26 juillet 2019
  • Post category:Commandes Linux/Linux/Open Source/Programmation/Shell

Si vous souhaitez automatiser les réponses à la commande mysql_secure_installation, voici un petit script. On part ici du principe qu'on garde le plugin par défaut, unix_socket, qu'on ne définit pas…

Continuer la lecturemysql_secure_installation automatisation (FR)

mysql_secure_installation automation (EN)

  • Auteur/autrice de la publication :DarwinOS
  • Post published:26 juillet 2019
  • Post category:Commandes Linux/Linux/Open Source/Programmation/Shell

If you want to automate the answers to the command mysql_secure_installation, here is a short script. We consider here that we keep the default plugin, unix_socket, that we do not…

Continuer la lecturemysql_secure_installation automation (EN)

Python – String interning

  • Auteur/autrice de la publication :DarwinOS
  • Post published:17 juin 2019
  • Post category:Programmation/Python

Python - Notes (Menu principal) Toutes les chaines de caractères sont stockées à des adresses mémoires différentes, sauf si elles s'apparentent à une variable : minuscules, underscores et chiffres. a…

Continuer la lecturePython – String interning

Python – Object Mutability

  • Auteur/autrice de la publication :DarwinOS
  • Post published:17 juin 2019
  • Post category:Programmation/Python

Python - Notes (Menu principal) my_list = [1, 2, 3] print(my_list) print(hex(id(my_list))) [1, 2, 3] 0x5e020c8 my_list.append(4) print(my_list) print(hex(id(my_list))) [1, 2, 3, 4] 0x5e020c8 my_list_1 = [1, 2, 3] print(my_list_1)…

Continuer la lecturePython – Object Mutability

Python – repr VS str

  • Auteur/autrice de la publication :DarwinOS
  • Post published:17 juin 2019
  • Post category:Programmation/Python

Python - Notes (Menu principal) class Rectangle: def __init__(self, width, height): self.width = width self.height = height def area(self): return self.width * self.height def perimeter(self): return 2 * (self.width +…

Continuer la lecturePython – repr VS str

Python – Try Except Finally

  • Auteur/autrice de la publication :DarwinOS
  • Post published:17 juin 2019
  • Post category:Programmation/Python

Python - Notes (Menu principal) a = 10 b = 1 try: a / b except ZeroDivisionError: print('division by 0') finally: print('this always executes') this always executes a = 10…

Continuer la lecturePython – Try Except Finally

Python – Type annotations

  • Auteur/autrice de la publication :DarwinOS
  • Post published:15 juin 2019
  • Post category:Programmation/Python

Python - Notes (Menu principal) def mystery_combine(a: str, b: str, times: int) -> str: return (a + b) * times a est de type strb est de type strtimes est…

Continuer la lecturePython – Type annotations

Python – Ternary Operator

  • Auteur/autrice de la publication :DarwinOS
  • Post published:15 juin 2019
  • Post category:Programmation/Python

Python - Notes (Menu principal) a = 5 if a < 10: print('a < 10') else: print('a >= 10') a < 10 a = 5 res = 'a < 10'…

Continuer la lecturePython – Ternary Operator

Python – Multi-line Statements

  • Auteur/autrice de la publication :DarwinOS
  • Post published:15 juin 2019
  • Post category:Programmation/Python

Python - Notes (Menu principal) a = [1, 2, 3] a = [1, # comment 2, # comment 3] # comment a = (1, 2, 3) a = {1, 2,…

Continuer la lecturePython – Multi-line Statements

Python – Notes

  • Auteur/autrice de la publication :DarwinOS
  • Post published:15 juin 2019
  • Post category:Programmation/Python

Python - Multi-line Statements Python - Ternary Operator Python - Type Annotations Python - Try Except Finally Python - repr VS str Python - Object Mutability Python - String Interning

Continuer la lecturePython – Notes
  • 1
  • 2
  • 3
  • Aller à la page suivante
Merci aux généreux donateurs!

Cours Udemy proposés par OpenSharing

NOUVEAU
WordPress et les autres CMS Open Source
29,99€

Installez 36 CMS Open Source dont WordPress, Joomla, Drupal, Magento, PrestaShop, Craft, Jekyll, etc.

Comment installer un LMS Open Source - Part 1
(Version française) : 19,99€

Apprenez à installer un LMS tel que Moodle, Claroline, Chamilo ou Opigno sur une distribution Linux.

How to install an Open Source LMS - Part 1
(English Version) : 19.99$

Learn how to install an LMS such as Moodle, Claroline, Chamilo or Opigno on a Linux distribution.

Comment installer un LMS Open Source - Part 2
(Version française) : 19,99€

Utilisez Vagrant, Docker et Ansible pour automatiser l'installation de votre LMS.

How to install an Open Source LMS - Part 2
(English Version) : 19.99$

Use Vagrant, Docker and Ansible to automate the installation of your LMS.

Ajoutés dernièrement

  • FFmpeg – Commandes utiles
  • Opigno 2.x – Installation du serveur (Archive)
  • Opigno 2.x – Installation du serveur (Composer)
  • Claroline – Installation du serveur (dev) – FR
  • Claroline – Server installation (dev) – EN
  • Chamilo – Installation du serveur
  • Moodle – Installation du serveur
  • Opigno 1.xx – Installation du serveur
  • Les fichiers .htaccess
  • Apache mod_PHP et php-fpm

Faire un don avec PayPal

  • Faire un don

  • Social Share

    Facebook Twitter
  • Linux
  • PayPal