EticaAI / forum

Etica.AI is concerned about long-term social & ethical implications of artificial intelligence on Africa/Latin America. Do it via grassroots acts in short-term
https://etica.ai
The Unlicense
9 stars 2 forks source link

f.etica.ai: simple hosting for binary files #68

Open fititnt opened 5 years ago

fititnt commented 5 years ago

--

Cloudflare is manading the DNS Captura de tela de 2019-03-26 05-12-26

Dreamhost asked for host the full DNS. We're use some black magic here (aka just copy the IP and hope it does not change for several years)

Captura de tela de 2019-03-26 05-24-16

fititnt commented 5 years ago

If for some reason this repository had to be rebuild from scratch, these are the files added at the root. One index.html and one robots.txt file to block index from search engines. Not that we're would use something ilicit, but just to avoid we indexing even better than the original sources.

robots.txt

/home/eticaaifiles/f.etica.ai/robots.txt

User-agent: *
Disallow: /

index.html

/home/eticaaifiles/f.etica.ai/index.html

<!doctype html>

<html lang="pt">

<head>
  <meta charset="utf-8">

  <title>Etica.AI</title>
  <meta name="description" content="Etica.AI is concerned about long-term social & ethical implications of artificial intelligence on Africa/Latin America. Do it via grassroots acts in short-term.">
    <meta http-equiv="refresh" content="5; url=https://github.com/EticaAI/forum/issues/68">
  <style>
    * {
      padding: 0px;
      margin: 0px;
    }

    html,
    body {
      height: 100%;
    }

    blockquote {
      margin: 0 auto;
      height: 100%;
      width: 100%;

      font-size: 1.6em;

      color: #fff;
      text-align: center;
      background-color: #159957;
      background-image: linear-gradient(120deg, #155799, #159957);
    }

    .q {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  </style>
</head>

<body>
  <blockquote>
    <div class="q">
      <p lang="pt">"A ética é saber a diferença entre o que você tem o direito de fazer e o que
        é certo fazer"</p>
      <p lang="es">"La ética es saber la diferencia entre lo que tienes derecho a hacer y lo que
        es correcto hacer"</p>
      <p lang="en">"Ethics is knowing the difference between what you have a right to do and what
        is right to do"</p>
      <cite>Potter Stewart </cite>
      <div>
        Visite <a href="https://github.com/EticaAI/forum/issues/68" style="color: white">github.com/EticaAI/forum</a>
      </div>
    </div>
  </blockquote>
  <script>
    function lang() {
      var userLang = navigator.language || navigator.userLanguage;
      if (userLang.indexOf('pt') !== 1) {
        document.querySelector('[lang=es]').style.display = 'none';
        document.querySelector('[lang=en]').style.display = 'none';
      } else if (userLang.indexOf('es') !== 1) {
        document.querySelector('[lang=es]').style.display = 'none';
        document.querySelector('[lang=en]').style.display = 'none';
      } else if (userLang.indexOf('en') !== 1) {
        document.querySelector('[lang=pt]').style.display = 'none';
        document.querySelector('[lang=en]').style.display = 'none';
      }
      //alert("The language is: " + userLang);
    }
    lang();
  </script>
</body>

</html>