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
| # There are two possible grading schemes(0-20): | |
| # * exam(0-20) + project(0-5) | |
| # * exam(0-20) * 0.5 + project(0-20) * 0.5 | |
| # This script tests all the possible combinations of grades printing information on the ones that lead to the student passing | |
| # | |
| # After analizing the output we get that the first is better if you get over 10 on the exam. | |
| # If you get less than 10 on the exam the second is better | |
| for exam in range(1,201,): | |
| for work in range(1,201): |
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 | |
| #USAGE: ./wallpaper.sh [location] [in] [out] | |
| curl wttr.in/$1_tqp0.png > /tmp/weather.png | |
| magick $2 -gravity center -crop 16:9 -resize 1920x1080 /tmp/tmp.png | |
| magick /tmp/tmp.png /tmp/weather.png -geometry +50+50 -composite $3 | |
| rm /tmp/tmp.png /tmp/weather.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
| # Compiled class file | |
| *.class | |
| # Log file | |
| *.log | |
| # BlueJ files | |
| *.ctxt | |
| # Mobile Tools for Java (J2ME) |