Skip to content
Kayahan Tasyaran edited this page Apr 3, 2017 · 12 revisions

WSF Scheduler

In this project, purpose is executing files in remote Amazon Instance via ssh in topological order with certain security group and private key file. Both private key and security group name are wdf for easier usage. Verbose mode is also enabled by using -v option. Also, in each time code executed, a new instance will be created and terminated. Which means files will be executed in different instances in each time. This code also executes some basic UNIX commands such as pwd and ls. Code also does not tar files because of permission issues. They will be copied one by one.

Verbose option enables user to inform about stages of the code. It informs about creation and termination of instance, name of file or command is given to be executed in topological order.

Executable files or UNIX commands are given in topological order in myworkflow/description.wdf file. First task is reading input file and implement topological sort algorithm. Then we have to create Amazon Instance using boto3 in Python. Then we take first running instance from running instance list. Then file copying starts to a instance. Either public id or public instance name is required for ssh and scp on remote instance. Then files are executed in topological order on the remote machine. Then output and files we transferred first are taken back and instance is terminated.

Card Matching Game

In this project, simple card matching game is implemented using QT. Rule is simple: Match cards and earn score. Words are chosen from a random pool. This project is not implemented in image version. Running project on UNIX system is recommended since in MacOS X code may face some library issues. Game will be played with 2 person. Also players can see previous-next game results, but players may have some issue with borderline games such as first or last game.

Clone this wiki locally