This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Articulo { | |
enum TipoArticulo {ENTREVISTA, BANNER}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% -*-coding: utf-8 -*- | |
% You MUST redefine margins before \documentclass{IEEEtran} | |
\newcommand{\CLASSINPUTinnersidemargin}{18mm} | |
\newcommand{\CLASSINPUToutersidemargin}{12mm} | |
\newcommand{\CLASSINPUTtoptextmargin}{20mm} | |
\newcommand{\CLASSINPUTbottomtextmargin}{25mm} | |
\documentclass[10pt,conference,a4paper]{IEEEtran}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#################### | |
#### VIRTUALBOX #### | |
#################### | |
# configura el idioma y terminal | |
loadkeys es | |
setfont Lat2-Terminus16 | |
vi /etc/locale.gen | |
locale-gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Se asegura de que se ha elegido bien la carpeta de instalación. | |
# Debería encontrarse en un sitio como /usr/bin o ~/.local/bin o ~/bin. | |
# Tambien puedes instalarlo en el escritorio, pero añadir cosas | |
# al path desde el escritorio es cutre cutre. | |
while true | |
do | |
read -r -p "Se instalará OMNeT++ en la carpeta `pwd`. Desea continuar? (y/n)" choice | |
case $choice in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pv -tpreb disc_image.img | dd of=/dev/sdy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.Random; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Este programilla coge todos los archivos CSV de la carpeta donde se encuentra | |
% los representa y los exporta como .fig para que le modifiques lo que quieras | |
% Array con todos los nombres de archivos csv en el directorio | |
archivos = dir('*.csv'); | |
figure(); | |
for k = 1:length(archivos) | |
% Estrae los datos numericos del CSV | |
datos = csvread(archivos(k).name,4,0); | |
soporte = datos(:,1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
La siguiente topologia pretende emular la empleada en la | |
simulacion del evento en el que se debia realizar el | |
despliegue de antenas para la covertura. Relativamente parecida | |
a topologia TreeTopo pero con una implementacion por | |
completo diferente. | |
Se dispondra de una cabecera (header) al que se conectaran | |
un numero (numantenas) de antenas. A cada antena a su vez | |
se conectara un numero de host especificado por parametro. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<Context> | |
<WatchedResource>WEB-INF/web.xml</WatchedResource> | |
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> | |
<Resource name="jdbc/tienda" auth="Container" type="javax.sql.DataSource" | |
maxActive="100" maxIdle="30" maxWait="10000" | |
username="tomcat" password="s3cr3t-hsqldb" driverClassName="org.hsqldb.jdbc.JDBCDriver" | |
url="jdbc:hsqldb:hsql://localhost:11000/tienda"/> | |
</Context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package es.daniel.notes; | |
import android.app.ListActivity; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.view.ActionMode; | |
import android.view.Menu; | |
import android.view.MenuInflater; | |
import android.view.MenuItem; | |
import android.view.View; |
OlderNewer