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
| Flush DNS Cache on Boot (Windows) |
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
| [System.Environment]::SetEnvironmentVariable("POWERSHELL_TELEMETRY_OPTOUT", "1", "User") | |
| Set-PSReadLineOption -PredictionSource 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
| @ECHO OFF | |
| IF "%~1"=="" ( | |
| ECHO Usage: %~nx0 seconds command [args...] | |
| GOTO :EOF | |
| ) | |
| SET "WAIT=%~1" | |
| SHIFT |
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 |
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
| """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
| #!/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
| . |
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
| """Linear Regression module""" | |
| import numpy as np | |
| class SimpleLinearRegressionModel: | |
| """Linear regression model class""" | |
| def __init__(self, float_precision: int = 6) -> None: |