Skip to content

Instantly share code, notes, and snippets.

@amenpunk
Created August 1, 2020 02:43
Show Gist options
  • Save amenpunk/6cb5bc175b37570ea0c5585af3c3f5fe to your computer and use it in GitHub Desktop.
Save amenpunk/6cb5bc175b37570ea0c5585af3c3f5fe to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main(){
cout<<"Content-type:text/html; charset:UTF-8"<<endl<<endl;
cout<<"<html> <head> <title>CGI DESDE DEBIAN</title></head>"<<endl;
cout<<"<style> "<<endl;
cout<<"th,tr,td{ border 1px solid #1e1e1e; "<<endl;
cout<<".tg {border-collapse:collapse;border-spacing:0;} "<<endl;
cout<<".tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px; "<<endl;
cout<<" overflow:hidden;padding:10px 5px;word-break:normal;} "<<endl;
cout<<".tg th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px; "<<endl;
cout<<" font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;} "<<endl;
cout<<".tg .tg-c3ow{border-color:inherit;text-align:center;vertical-align:top} "<<endl;
cout<<".tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top} "<<endl;
cout<<".tg .tg-0lax{text-align:left;vertical-align:top} "<<endl;
cout<<"</style> "<<endl;
cout<<"<body> "<<endl;
cout<<"<h1>Universidad Marino Galvez</h1> "<<endl;
cout<<"<h2>Asignacion de Cursos</h2> "<<endl;
cout<<"<h3><strong>Carnet</strong> : 5190-16-1514</h3> "<<endl;
cout<<"<h3><strong>Nombre</strong> : Edgar Rolando Cosajay Campos</h3> "<<endl;
cout<<" <table> "<<endl;
cout<<" <thead> "<<endl;
cout<<" <tr> "<<endl;
cout<<" <th>Curso</th> "<<endl;
cout<<" <th>Horario</th> "<<endl;
cout<<" <th>Aula</th> "<<endl;
cout<<" <th>Seccion</th> "<<endl;
cout<<" </tr> "<<endl;
cout<<" </thead> "<<endl;
cout<<" <tbody> "<<endl;
cout<<" <tr> "<<endl;
cout<<" <td>Telecomunicaciones</td> "<<endl;
cout<<" <td>14:00</td> "<<endl;
cout<<" <td>C309</td> "<<endl;
cout<<" <td>A - OK</td> "<<endl;
cout<<" </tr> "<<endl;
cout<<" <tr> "<<endl;
cout<<" <td>Seminario de tecnologia de informacion</td> "<<endl;
cout<<" <td>11:00</td> "<<endl;
cout<<" <td>c308</td> "<<endl;
cout<<" <td>A - OK</td> "<<endl;
cout<<" </tr> "<<endl;
cout<<" <tr> "<<endl;
cout<<" <td>Aseguramiento de la calidad de software</td> "<<endl;
cout<<" <td>7:00</td> "<<endl;
cout<<" <td>c207</td> "<<endl;
cout<<" <td>A - OK</td> "<<endl;
cout<<" </tr> "<<endl;
cout<<" <tr> "<<endl;
cout<<" <td>Seguridad y auditoria de sistemas</td> "<<endl;
cout<<" <td>9:00</td> "<<endl;
cout<<" <td>c309</td> "<<endl;
cout<<" <td>A - OK</td> "<<endl;
cout<<" </tr> "<<endl;
cout<<" </tbody> "<<endl;
cout<<" </table> "<<endl;
cout<<"</body>"<<endl;
cout<<"</html>"<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment