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
| from random import randint | |
| def main(): | |
| f = open('script.sql', 'a') | |
| gen = ['m', 'f'] | |
| blood = ['A+', 'A-', 'B+', 'B-', 'AB+', 'AB-', 'O+', 'O-'] | |
| organs = ['kidney', 'liver', 'heart', 'eye', 'lung', 'pancreas', 'intestine', 'skin', 'joint', 'face'] | |
| type = {'eye': 'other', 'heart':'cardiac', 'kidney':'other', 'liver':'other', 'lung':'other', 'pancreas': 'other', 'intestine': 'other', 'skin':'skin', 'joint': 'cartilage', 'face': 'skin'} | |
| for i in range(100): |
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
| /** | |
| * @author Somsubhra | |
| * @author Jigar | |
| */ | |
| import java.sql.Connection; | |
| import java.sql.DriverManager; | |
| import java.sql.ResultSet; | |
| import java.sql.Statement; | |
| import java.awt.GridLayout; |
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
| #!/bin/sh | |
| # Script for evaluation of tsh lab | |
| # @author: Somsubhra (@s7a) | |
| # | |
| # Instructions for using this script: | |
| # 1. Place the submission files in a directory called 'submissions' | |
| # at the root of the tsh folder. | |
| # 2. Place this script file at the root of the tsh folder. | |
| # 3. chmod a+x <this_script_file_name> |
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
| {"logo_location": "http://acs.newpaltz.edu/media/email_icon_gradient.png"} |
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
| package org.evernet.common.util; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.stereotype.Component; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; |