Skip to content

Instantly share code, notes, and snippets.

View VictorieeMan's full-sized avatar

VictorieeMan

View GitHub Profile
@VictorieeMan
VictorieeMan / app_development_links.txt
Last active January 8, 2022 19:39
Useful links for app development
@VictorieeMan
VictorieeMan / how_to_reset_visualcode.md
Last active January 11, 2022 13:36
How to fully reset your VisualCode installation (on windows 10)

Uinstalling and reinstalling visualcode won't reset your settings or remove your extensions.

To do a 100% fresh restart with visual code, you'll have to uinstall VS-code and remove some directories from your system.

These are all the standard places wher VS-code store files:

Storing extensions: %USERPROFILE%\.vscode

Storing backups, cache, settings, etc.: >%USERPROFILE%\AppData\Roaming\Code

@VictorieeMan
VictorieeMan / guide_venv_versionDiff.txt
Last active July 13, 2022 15:16
Installing viritual Python3 environments of different versions
Source: https://www.roelpeters.be/virtualenv-venv-choose-python-version/
Documentation: https://virtualenv.pypa.io/en/stable/
python -m pip install --user virtualenv
python -m virtualenv --help
py -m virtualenv -p=<your_python_executable> <virtual_environment_directory>
Example use:
py -m virtualenv -p="C:\Program Files\Python37\python.Exe" .virtenv
@VictorieeMan
VictorieeMan / documentation_tools.md
Last active January 14, 2022 11:25
Documentation tools for Software

Simple docs:

-The Repository README.MD

-Github Gists

For more complex docs:

-What the python docs are using: Sphinx

-Works with Sphinx: Read The Docs

@VictorieeMan
VictorieeMan / pil_modes.txt
Created January 17, 2022 10:22
PIL images modes
These where to difficult to find on the internet so I saved them in a gist.
The mode of an image defines the type and depth of a pixel in the image. The current release supports the following standard modes:
1 (1-bit pixels, black and white, stored with one pixel per byte)
L (8-bit pixels, black and white)
P (8-bit pixels, mapped to any other mode using a colour palette)
RGB (3x8-bit pixels, true colour)
RGBA (4x8-bit pixels, true colour with transparency mask)
CMYK (4x8-bit pixels, colour separation)
@VictorieeMan
VictorieeMan / portable_filenames_POSIX.txt
Last active January 18, 2022 22:39
POSIX: Fully portable filenames
Created: 2022-01-18
Sometimes it's just good to know how to make the most portable types of filenames.
Then it's good to know about the POSIX standard, seen below. In this modern day
and age you could assume for normal cases that max string length could be 255 chars,
but for backwards compability stick to 14 as noted below.
PS; The max length includes the file extension.
Allowed Chars: A–Z a–z 0–9 . _ -
Reserved Chars: / null
context = {
"predicted_label" : predicted_label,
"tracks" : tracks
}
@VictorieeMan
VictorieeMan / latex-helper.md
Last active March 24, 2022 21:14
Acknowledgements and info for the latex-helper

Special thanks to Daniel Kirsch, the creator of Detextify, for sharing his training data with me. Find his GitHub page here: https://github.com/kirel

A grateful homage for the kind help of my friend Erik Aas, who helped me greatly in developing the machine learning algorithm used to identify the symbols.

And a thanks to Christoffer Modée, who helped generate all the LaTeX symbols in the sugggestion result table.

Support the maintenence of this service by donation and or show your gratitude by sharing this site.

BTC: bc1qufxqt6uh7gyu8vg8uk9s5qddhunk0mmpqal80p