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/env python3 | |
# | |
# Author: Sami Menik, Fall 2022 | |
# | |
# The program parses the time stamp of the current directory and calculate extra credit for | |
# the submission. | |
# | |
# Usage: extra_credit [<extra-credit-deadline> <extra-credit>] ... | |
# | |
# Format of <extra-credit-deadline>: yyyy/mm/dd HH:MM:SS |
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/env python3 | |
# | |
# Author: Sami Menik, Fall 2022 | |
# | |
# The program parses the time stamp of the current directory and calculate the late penalty and | |
# check the validity of the submission based on the earliest possible valid submission start date. | |
# | |
# Usage: late_penalty <valid-start-date> <due-date> <max-points> | |
# | |
# Format of <valid-start-date>: yyyy/mm/dd HH:MM:SS |
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
<div class="rendered-form"> | |
<div class="formbuilder-text form-group field-text-1655272323528"> | |
<label for="text-1655272323528" class="formbuilder-text-label">Comments</label> | |
<input type="text" class="form-control" name="text-1655272323528" access="false" id="text-1655272323528"> | |
</div> | |
<div class="formbuilder-number form-group field-number-1655272345951"> | |
<label for="number-1655272345951" class="formbuilder-number-label">Input dose</label> | |
<input type="number" class="form-control" name="number-1655272345951" access="false" id="number-1655272345951"> | |
</div> | |
</div> |
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/bash | |
rm -rf file1.txt file2.txt file3.txt file4.txt subdir || true | |
echo -e "1 2 3 4 5 6 7 8 9 10" > file1.txt | |
echo -e "1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10" > file2.txt | |
echo -e "1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10" > file3.txt | |
mkdir subdir |
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/bash | |
rm -rf file1.txt file2.txt file3.txt file4.txt subdir || true | |
echo -e "1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10" > file3.txt | |
echo -e "1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10" > file4.txt |
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/env bash | |
NC_PORT=$1 | |
find . -type f -print0 | xargs -0 sha1sum | sort > file_checksums.txt | |
echo "-----" > demo_information.txt | |
date >> demo_information.txt | |
pwd >> demo_information.txt | |
echo $USER >> demo_information.txt |
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
### Keybase proof | |
I hereby claim: | |
* I am samiyuru on github. | |
* I am samiyuru (https://keybase.io/samiyuru) on keybase. | |
* I have a public key whose fingerprint is 25D4 8993 6EE7 E64F 183C 0D06 AF37 C59F F3C7 9A51 | |
To claim this, I am signing this object: |