Skip to content

Instantly share code, notes, and snippets.

View VictorieeMan's full-sized avatar

VictorieeMan

View GitHub Profile
@VictorieeMan
VictorieeMan / detextify_how_draft.markdown
Created July 22, 2023 10:05
Notes about how detextify work, by Daniel Kirsch

This file contains some central and important Machine Learning concepts.

Central concepts of Machine Learning

  • Supervised Learning: A type of machine learning where the algorithm is trained on a labeled dataset and the goal is to learn a mapping between the input features and the target variable.
  • Unsupervised Learning: A type of machine learning where the algorithm is trained on an unlabeled dataset and the goal is to discover hidden patterns or relationships in the data.
  • Semi-Supervised Learning: A type of machine learning that combines elements of supervised and unsupervised learning. It is often used when there is a large amount of unlabeled data and a small amount of labeled data available.
  • Reinforcement Learning: A type of machine learning where an agent learns to make decisions by interacting with an environment and receiving feedback in the form of rewards or punishments.
  • Overfitting: Occurs when a model is too complex and fits the training data too well, including the noise and random flu
@VictorieeMan
VictorieeMan / wordy_searchy.py
Created June 8, 2023 18:37
This script can help you with solving word puzzles. Add a dictionary of words to the input.txt file, then run the script and add rules to filter.
"""Created: 2023-06-08 by @VictorieeMan
Repo URL: https://github.com/VictorieeMan/wordy_searchy_py
This script can help you with solving word puzzles.
Add a dictionary of words to the input.txt file, then run the script.
Recommended usage:
1. Get words from using the Merriam-Webster word Finder (https://www.merriam-webster.com/wordfinder)
2. Copy the words to the input.txt file
3. Run the script
@VictorieeMan
VictorieeMan / disable_Windows10_telemetry.md
Last active January 7, 2023 12:34
How to deactivate Telemetry on Windows 10

How to deactivate Telemetry on Windows 10

Method 1

win + R

gpedit.msc
Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds

Error message when trying to install: https://pypi.org/project/secp256k1/

pip install secp256k1

into a virtual environment on a windows 10 system, date 2023-01-06. Looking for a solution to this problem, possible solution found below error message.

Error message

pip install secp256k1
Collecting secp256k1
@VictorieeMan
VictorieeMan / nostr_alby_astral_intro.md
Last active January 1, 2023 00:53
This gist will help you to try out nostr.

nostr_alby_astral_intro_20230101.md

This short guide will help you to try out nostr. The recommended way below will keep your private keys safe and let you test a twitter like client within the nostr eco-system.

  1. Go to https://getalby.com/, get an account and install the extension. The Alby app will generate your private nostr key and keep it safe.

    • Best prectice is to NEVER copy+paste your private keys, because anyone with these will own your account. This is why it's best to have a key manager like Alby to keep your private key safe.
  2. Try out using nostr over at: https://astral.ninja/

Thank you for your donation!
//VictorieeMan
@VictorieeMan
VictorieeMan / ChatGPT_ComposingMusic2022-12-06.txt
Created December 6, 2022 19:11
I got the ChatGPT to compose some music, listen to it by going to the linked website and paste the ABC-scripted music into the site and listen to the midi output.
Can be played by using this webiste: https://abc.rectanglered.com/
X:1
T:Advanced Melody
M:4/4
L:1/4
K:G
"G" B2 | d2 d2 | B2 A2 | G4 | G2 B2 | d2 c2 | B2 G2 | A4 |
B2 | d2 d2 | e2 d2 | c4 | B2 d2 | c2 B2 | A2 G2 | F4 |
E2 | E2 E2 | E2 D2 | C4 | C2 E2 | E2 D2 | C2 A,2 | G,4 |
@VictorieeMan
VictorieeMan / python_timestamp.py
Last active July 13, 2022 19:55
Python funciton for getting a current timestamp
import datetime
def current_time(format = "%Y-%m-%d_%H-%M-%S"):
"""Calculates current time and returns a timestamp string."""
time = datetime.datetime.now()
timestamp = str(time.strftime(format))
return timestamp