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
| # ----------------------------------------------------------------------------- | |
| # Binary Knapsack Solver v0.1.0 | |
| # ----------------------------------------------------------------------------- | |
| # Copyright (c) 2025 Stefano Raneri | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is |
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
| Playing MIDI files with Pygame |
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
| """Discord threads crawler module""" | |
| from datetime import datetime | |
| from dataclasses import dataclass | |
| import requests | |
| # Override user agent | |
| USER_AGENT = "" | |
| # Discord Authentication header |
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
| """Linear Regression module""" | |
| import numpy as np | |
| class SimpleLinearRegressionModel: | |
| """Linear regression model class""" | |
| def __init__(self, float_precision: int = 6) -> None: |
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
| ## Where I store my assignments... |
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
| . |
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/bash | |
| bins=( | |
| "7z" | |
| "aa-exec" | |
| "ab" | |
| "agetty" | |
| "alpine" | |
| "ansible-playbook" | |
| "ansible-test" |
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
| """Visit Count spammer bot""" | |
| import multiprocessing | |
| from time import sleep | |
| import requests | |
| BASE_GITHUB_URL = "https://github.com/" | |
| BASE_VISITCOUNT_URL = "https://visitcount.itsvg.in/api" | |
| BASE_VISITCOUNT_PARAMS = { | |
| "id": None, |
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
| # Requirements: pandas matplotlib | |
| import pandas as pd | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from matplotlib import ticker | |
| # Parameters | |
| MONTHLY_INVESTMENT = 100 | |
| MONTHLY_RATES = [0.005] # All the monthly rates to simulate |
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
| Card Counting software for Blackjack |