This file contains hidden or 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.awt.*; | |
import java.awt.event.*; | |
class IPLookup implements ActionListener { | |
Label label; | |
TextField text; | |
IPLookup() { | |
Frame frame = new Frame("IP Lookup"); | |
Button button = new Button("Find IP"); |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#define MAXIN 250 | |
void encrypt(char *, int); | |
void decrypt(char *, int); | |
void prompt(const char*, char*); |
This file contains hidden or 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
// Beginner Simple Number Guessing Game using random number generator | |
import java.util.Random; | |
import java.util.Scanner; | |
public class GuessingGame { | |
public static void main(String[] args) { | |
Random random = new Random(); | |
Scanner inputs = new Scanner(System.in); |
This file contains hidden or 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
#include <sys/socket.h> | |
#include <sys/ioctl.h> | |
#include <netdb.h> | |
#include <ifaddrs.h> | |
#include <net/if.h> | |
#include <stdio.h> | |
#include <fcntl.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains hidden or 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
#/usr/bin/python3 | |
# Simple implemenation of server in python | |
import socket | |
from os import system | |
def main(): | |
print("++++++[*]Starting server") | |
#Leave it empty to use any available interface on the machine |