Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (40)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5955)

  • fate/real : add missing aresample filter dependency

    14 mars 2024, par James Almer
    fate/real : add missing aresample filter dependency
    

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] tests/fate/real.mak
  • Restart environment and script during batch script

    7 décembre 2024, par ninbura

    I've built a few FFmpeg powershell scripts for me and a few others to use and I'm attempting to make the setup and update process as easy as possible. The end goal is to be able to run 1 batch file that installs Chocolatey, FFmpeg, git, clones the github repo (for updates), and edits the Windows registry to add the actual FFmpeg powershell scripts / console programs to the Windows Explorer contextual menu. This way I just pass them the folder containing everything once and any time I change or add something to the project I can just tell them to run the batch file again, and presto everything is up to date.

    &#xA;&#xA;

    However I'm struggling to find a way to install Chocolatey, then git with Chocolatey, and then run a git command with the execution of a single .bat file. From what I can tell after installing Chocolatey I need to restart the shell entirely before I can install git, and then I have to restart the shell again before I can use a git command. As of right now most of the actual processing is happening via Powershell scripts that are launched from the .bat file, and as each step is taken I update a txt file, attempt to restart the batch script, and read the txt file to pick up where I left off :

    &#xA;&#xA;

    @echo off&#xA;echo Administrative permissions required. Detecting permissions...&#xA;echo.&#xA;&#xA;net session >nul 2>&amp;1&#xA;if %errorLevel% == 0 (&#xA;    echo Success: Administrative permissions confirmed.&#xA;    echo.&#xA;) else (&#xA;    echo Failure: Current permissions inadequate.&#xA;&#xA;    PAUSE&#xA;&#xA;    exit&#xA;)&#xA;&#xA;set relativePath=%~dp0&#xA;set relativePath=%relativePath:~0,-1%&#xA;&#xA;PowerShell -NoProfile -ExecutionPolicy Bypass -File "%relativePath%\Setup\CheckRequiredPackages.ps1" -relativePath "%relativePath%"&#xA;&#xA;set /p step=&lt;"%relativePath%\Setup\Step.txt"&#xA;&#xA;if %step% == 1 (&#xA;    (echo 2) > "%relativePath%\Setup\Step.txt"&#xA;&#xA;    PowerShell -NoProfile -ExecutionPolicy Bypass -File "%relativePath%\Setup\GetChocolatey.ps1"&#xA;&#xA;    start "" "%relativePath%\RunMe.bat"&#xA;&#xA;    exit&#xA;) &#xA;&#xA;if %step% == 2 (&#xA;    (echo 3) > "%relativePath%\Setup\Step.txt"&#xA;&#xA;    PowerShell -NoProfile -ExecutionPolicy Bypass -File "%relativePath%\Setup\GetRequiredPackages.ps1"&#xA;&#xA;    start "" "%relativePath%\RunMe.bat"&#xA;&#xA;    exit&#xA;) &#xA;&#xA;if %step% == 3 (&#xA;    (echo 0) > "%relativePath%\Setup\Step.txt"&#xA;&#xA;    PowerShell -NoProfile -ExecutionPolicy Bypass -File "%relativePath%\Setup\Update.ps1" -relativePath "%relativePath%"&#xA;) &#xA;&#xA;PAUSE&#xA;Exit&#xA;

    &#xA;&#xA;

    The problem is using the start command in the batch script doesn't seem to work, I'm guessing since that new process is spawned from the same process that handles the Chocolatey install it doesn't count as actually restarting the shell. Is there any way to actually restart the shell and somehow have the batch file start back up without user intervention ?

    &#xA;

  • Revision 101022 : début de vérification de fichiers, pour le moment vérifier mime_type ...

    11 décembre 2016, par maieul@… — Log

    début de vérification de fichiers, pour le moment vérifier mime_type précis