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
//TicTacToeBoard.java - Jimmy Kurian | |
class TicTacToeBoard { | |
public static void main(String[] args) { | |
System.out.println("+---+---+---+"); | |
System.out.println("| | | |"); | |
System.out.println("+---+---+---+"); | |
System.out.println("| | | |"); | |
System.out.println("+---+---+---+"); | |
System.out.println("| | | |"); |
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
//OlympicRingComponent.java - Jimmy Kurian | |
import javax.swing.JComponent; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.Color; | |
public class OlympicRingComponent extends JComponent | |
{ |
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
//Card.java - Jimmy Kurian | |
public class Card | |
{ | |
private String denom; | |
private String suite; | |
private String String1; | |
private String String2; | |
public Card(String s1) |
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
//DataSet.java - Jimmy Kurian | |
public class DataSet | |
{ | |
private double sum; | |
private int count; | |
private int largest; | |
private int smallest; | |
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
!Car.trc - Jimmy Kurian | |
SET WINDOW 0,20,0,20 | |
SET COLOR 5 | |
BOX AREA 2,6,2,3 | |
BOX AREA 9,13,2,3 | |
BOX AREA 16,20,2,3 | |
SET COLOR 249 | |
PLOT LINES :0,5;20,5 | |
FLOOD 10,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
#RegularExpressions.py - Jimmy Kurian | |
import re | |
for test_string in ['555-1212', 'ILL-EGAL']: | |
if re.match(r'^\d{3}-\d{4}$', test_string): | |
print test_string, 'is a valid US local phone number' | |
else: | |
print test_string, 'rejected' |
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
# FileIO.rb - Jimmy Kurian | |
print "Please enter a past-tense verb: " | |
verb = gets.chomp | |
print "Please enter a noun: " | |
noun = gets.chomp | |
print "Please enter a proper noun: " | |
prop_noun = gets.chomp | |
print "Please enter a an adverb: " | |
adv = gets.chomp |
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
# BasicIO.rb - Jimmy Kurian | |
print "Please enter a past-tense verb: " | |
verb = gets.chomp | |
print "Please enter a noun: " | |
noun = gets.chomp | |
print "Please enter a proper noun: " | |
prop_noun = gets.chomp | |
print "Please enter a an adverb: " | |
adv = gets.chomp |
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
%HelloWorld.pl - Jimmy Kurian | |
write('Hello, World!'), nl. |
OlderNewer