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
expPerPoint: 375 | |
moneyPerPoint: 100000 | |
item: | |
sand: | |
name: 'Bloques de arena' | |
amount: 32 | |
price: 1 | |
2: | |
name: 'Bloques de tierra' | |
amount: 64 |
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 test; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import org.json.JSONObject; | |
import org.json.JSONTokener; |
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
<?php | |
/* | |
returns: Array | |
( | |
[hostip] => <ip> | |
[hostport] => <puerto> | |
[error] => <error info> | |
[is_online] => <true/false> | |
[hostname] => <motd> | |
[gametype] => SMP |
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
<?php | |
/** | |
* Class for reading Player NBT from Minecraft | |
* | |
* @author Jonathan Gutiérrez <me@makzk.cl> | |
* @version 1.0 | |
* | |
* Dependencies: | |
* NBT Class from https://github.com/TheFrozenFire/PHP-NBT-Decoder-Encoder | |
*/ |
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 class Yerlin1 { | |
public static void main(String[] args) { | |
int num1 = Integer.parseInt(JOptionPane.showInputDialog(null, "ingrese lado 1")); | |
int num2 = Integer.parseInt(JOptionPane.showInputDialog(null, "ingrese lado 2")); | |
int num3 = Integer.parseInt(JOptionPane.showInputDialog(null, "ingrese lado 3")); | |
System.out.println ("el perimetro es: "+ calcularperimetro(num1, num2, num3)); | |
} | |
public static int calcularperimetro(int l1, int l2, int l3 ){ | |
return l1 + l2 + l3; |
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 com.makzk.prueba.blackjack; | |
import java.util.Vector; | |
public class ControlJugadores { | |
private Vector<Jugador> jugadores = new Vector<Jugador>(); | |
public void eliminarJugador(String usuario) { | |
for(Jugador jugador: jugadores) { | |
if(jugador.getUsuario().equals(usuario)) { |
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 webservice; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.orm.PersistentException; | |
import org.orm.PersistentTransaction; | |
public class ServicioContacto { | |
public String agregarContacto(domain.ContactoVO oContactoVO) { |
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 webservice; | |
import java.rmi.RemoteException; | |
import org.apache.axis2.AxisFault; | |
import webservice.ServicioContactoStub.AgregarContacto; | |
import webservice.ServicioContactoStub.AgregarContactoResponse; | |
import webservice.ServicioContactoStub.ContactoVO; | |
import webservice.ServicioContactoStub.EliminarContacto; |
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 com.makzk.prueba.acm; | |
/** | |
* This product contains software technology licensed from OGL. OGL (c) 1994 All | |
* Rights Reserved. | |
* | |
* @author Jonathan Gutiérrez | |
*/ | |
public class Matryoshkas { |
OlderNewer