Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (82)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10646)

  • Cloaked Archive Wiki

    16 mai 2011, par Multimedia Mike — General

    Google’s Chrome browser has made me phenomenally lazy. I don’t even attempt to type proper, complete URLs into the address bar anymore. I just type something vaguely related to the address and let the search engine take over. I saw something weird when I used this method to visit Archive Team’s site :



    There’s greater detail when you elect to view more results from the site :



    As the administrator of a MediaWiki installation like the one that archiveteam.org runs on, I was a little worried that they might have a spam problem. However, clicking through to any of those out-of-place pages does not indicate anything related to pharmaceuticals. Viewing source also reveals nothing amiss.

    I quickly deduced that this is a textbook example of website cloaking. This is when a website reports different content to a search engine than it reports to normal web browsers (humans, presumably). General pseudocode :

    C :
    1. if (web_request.user_agent_string == CRAWLER_USER_AGENT)
    2.  return cloaked_data ;
    3. else
    4.  return real_data ;

    You can verify this for yourself using the wget command line utility :

    <br />
    $ wget --quiet --user-agent="<strong>Mozilla/5.0</strong>" \<br />
     http://www.archiveteam.org/index.php?title=Geocities -O - | grep \&lt;title\&gt;<br />
    &lt;title&gt;GeoCities - Archiveteam&lt;/title&gt;

    $ wget —quiet —user-agent="Googlebot/2.1"
    http://www.archiveteam.org/index.php?title=Geocities -O - | grep \<title\>
    <title>Cheap xanax | Online Drug Store, Big Discounts</title>

    I guess the little web prank worked because the phaux-pharma stuff got indexed. It makes we wonder if there’s a MediaWiki plugin that does this automatically.

    For extra fun, here’s a site called the CloakingDetector which purports to be able to detect whether a page employs cloaking. This is just one humble observer’s opinion, but I don’t think the site works too well :



  • Anomalie #4704 (En cours) : Par sinum tri le nombre par ordre alpha

    25 mars 2021, par Maïeul Rouquette

    Soit un site avec deux articles.

    - 20. Doublon
    - 3. Article 3

    Soit le squelette suivant

    <span class="CodeRay">par sinum titre
    <span class="tag">span><span class="error">(</span><span class="attribute-name">ARTICLES</span><span class="error">)</span> <span class="error">{</span><span class="attribute-name">par</span> <span class="attribute-name">sinum</span> <span class="attribute-name">titre</span><span class="error">,</span> <span class="attribute-name">titre</span><span class="error">}</span><span class="tag">></span>
    <span class="tag"></span>#TITRE*<span class="tag"></span>
    <span class="tag"></span>

    Par num titre
    <span class="tag">span><span class="error">(</span><span class="attribute-name">ARTICLES</span><span class="error">)</span> <span class="error">{</span><span class="attribute-name">par</span> <span class="attribute-name">num</span> <span class="attribute-name">titre</span><span class="error">}</span><span class="tag">></span>
    <span class="tag"></span>#TITRE*<span class="tag"></span>
    <span class="tag"></span>

    </span></span></span>

    Le resultat est le suivant

    par sinum titre
    20. Doublon
    3. Article 3
    Par num titre
    3. Article 3
    20. Doublon

    Visiblement, contrairement à par num, par sinum ne tient pas compte du fait que 20 > 3.

  • ffmpeg upload transcoded video direct to gcs bucket using node child_process.spawn

    27 mai 2021, par Dev

    I'm trying to upload transcoded video directly to GCS, but when I used pipe with FFmpeg for GCS upload it exits with code 1.

    &#xA;

    const fp = `file_path/${video_name}`;&#xA;const bc = admin.storage().bucket("test");&#xA;const fu = bc.file(fp);&#xA;const ws = fu.createWriteStream({&#xA;    metadata: {&#xA;        contentType: &#x27;video/mp4&#x27;,&#xA;        metadata: {&#xA;            name: video_name,&#xA;        },&#xA;    },&#xA;});&#xA;const transcode = new Promise((resolve, reject) => {&#xA;    const ffmpeg = spawn(&#x27;ffmpeg&#x27;, [&#x27;-i&#x27;, `${url}`, &#x27;-codec:v&#x27;, &#x27;libx264&#x27;, &#x27;-profile:v&#x27;, &#x27;main&#x27;, &#x27;-vf&#x27;, `scale=-2:${quality}`, &#x27;-threads&#x27;, &#x27;0&#x27;, &#x27;-b:a&#x27;, &#x27;128k&#x27;, &#x27;pipe:1&#x27;]);&#xA;    ffmpeg.stderr.on(&#x27;data&#x27;, (data) => {&#xA;    });&#xA;    ffmpeg.stdout.pipe(ws);&#xA;    ffmpeg.on(&#x27;close&#x27;, async (code) => {&#xA;        console.log(code)&#xA;        resolve();&#xA;    });&#xA;});&#xA;return transcode;&#xA;

    &#xA;