Skip to content

Instantly share code, notes, and snippets.

View antoniojxk's full-sized avatar

Antonio Paternina antoniojxk

View GitHub Profile
package co.edu.poligran.ingenieria.de.software.taller1;
public class InputInvalidoException extends Exception {
private static final long serialVersionUID = 1L;
}
@antoniojxk
antoniojxk / vnc-on-centos-6.md
Last active July 3, 2018 15:46
how to install VNC on CentOS 6.8
@antoniojxk
antoniojxk / Criptografia.java
Created May 10, 2017 17:37 — forked from davidhmaciasv/Criptografia.java
recibe una llave publica y genera la llave privada
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Criptografia {
public static void main(String[] args) throws IOException {
PrintWriter out = new PrintWriter(System.out);
BufferedReader tec = new BufferedReader(new InputStreamReader(System.in));
@antoniojxk
antoniojxk / borg-greeting.c
Created May 12, 2017 17:07
Hola Mundo en C para HPC / MPI
#include <stdio.h>
#include "mpi.h"
int main(int argc, char *argv[ ])
{
int rank, size;
MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
@antoniojxk
antoniojxk / pasos.txt
Created August 28, 2017 21:48
Instalación de OrangeFS sobre CentOS
## INSTALACIÓN DE ORANGEFS EN CENTOS 6.9
# actualizar el sistema
yum update; reboot
# deshabilitar SELinux
sestatus
setenforce 0
vi /etc/sysconfig/selinux
cambiar "SELINUX=enforcing" to "SELINUX=disabled" :
reboot