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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Tic Tac Toe</title> | |
| <meta name="description" content="Tic Tac Toe game"> | |
| <meta name="author" content="Matias Micheletto"> | |
| </head> |
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
| import time | |
| import random | |
| import os | |
| import math | |
| buses_names = ["CONDOR", "PLUSMAR", "RAPIDO", "FLECHA"] | |
| def clear_console(): | |
| os.system('cls' if os.name == 'nt' else 'clear') |
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
| import os | |
| import matplotlib.pyplot as plt | |
| # Define your apps and their source directories | |
| dirs = { | |
| "App 1": "/path/to/app1/", | |
| "App 2": "/path/to/app2/", | |
| "App 3": "/path/to/app3/" | |
| } |
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
| #include <Wire.h> | |
| #include <LiquidCrystal_I2C.h> | |
| LiquidCrystal_I2C lcd(0x27, 20, 4); | |
| int loopCtr = 0; | |
| int direction = 0; | |
| int x = random(0, 13); | |
| int y = random(0, 1); | |
| int dx = 0; |
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 | |
| # ============================================================================= | |
| # download_papers.sh — Download scientific articles from Sci-Hub via DOI list | |
| # | |
| # Usage: | |
| # chmod +x download_papers.sh | |
| # ./download_papers.sh dois.txt | |
| # | |
| # The input file should contain one DOI per line, e.g.: | |
| # 10.1038/nature12373 |
OlderNewer