I hereby claim:
- I am xtpor on github.
- I am xtpor (https://keybase.io/xtpor) on keybase.
- I have a public key ASBazCqV9B0MxOLJIrlwGEsmuSfnJydJCWzjlV8aJcc3Iwo
To claim this, I am signing this object:
public class Test { | |
public static void main (String[] argv) { | |
B b = new B("hello world"); | |
b.bar(); | |
} | |
} | |
class A { |
import java.util.List; | |
import java.util.ArrayList; | |
public class State { | |
// This class represent a valid game state | |
private char[] _state; | |
private char _player; | |
private char _winner; |
import java.awt.*; | |
import javax.swing.*; | |
import java.awt.event.*; | |
public class TicTacToeFrame extends JFrame implements ActionListener { | |
private JButton newGameButton = new JButton("New Game"); | |
private JButton exitButton = new JButton("Exit"); | |
private JButton[][] buttons = new JButton[3][3]; | |
private JLabel statusLabel = new JLabel(); | |
private String[] symbol = { " ", "O", "X" }; |
I hereby claim:
To claim this, I am signing this object:
import java.net.*; | |
import java.io.*; | |
import java.util.*; | |
public class EchoClient { | |
public static void main(String[] args) throws IOException { | |
Scanner scanner = new Scanner(System.in); | |
System.out.println("Connecting to server ..."); | |
Socket sock = new Socket("localhost", 12345); |
import java.io.*; | |
import java.net.*; | |
import java.util.Scanner; | |
public class Q3Test { | |
public static void main(String[] argv) throws IOException { | |
Scanner scanner = new Scanner(System.in); | |
System.out.println("Connecting ..."); |
import java.io.*; | |
import java.net.*; | |
import java.util.*; | |
public class Q3Server extends Thread { | |
public static void main(String[] argv) { | |
try { | |
Buffer buf = new Buffer(); |
<?php | |
function exec_query($sql, $params = []) { | |
$username = 's1165683'; | |
$password = '11656830'; | |
$conn_info = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP) " . | |
"(HOST = oracleacademy.ouhk.edu.hk)(PORT=8998)) " . | |
"(CONNECT_DATA=(SERVER=DEDICATED) " . | |
"(SID=db1011)))"; | |
$conn = oci_connect($username, $password, $conn_info); | |
if (!$conn) { |