Skip to content

Instantly share code, notes, and snippets.

View VictorieeMan's full-sized avatar

VictorieeMan

View GitHub Profile
@VictorieeMan
VictorieeMan / import_full_rss.rb
Last active June 26, 2022 18:17 — forked from waynegraham/import_full_rss.rb
Import the full RSS feed in to Jekyll (from WordPress)
#! /usr/bin/env ruby
require 'rss'
require 'rss/2.0'
require 'open-uri'
require 'fileutils'
require 'safe_yaml'
url = 'https://odysee.com/$/rss/@Odysee:8'
@VictorieeMan
VictorieeMan / MarkDown_Flowcharts_in_mermaid.md
Created February 15, 2022 09:32
GitHub repositories now support mermaid flowcharts in markdown files
@VictorieeMan
VictorieeMan / SDL2_cpp_VisualStudio_setup.txt
Last active February 9, 2022 11:54
Steps to setup using the SDL2 library in a Visual C++ solution/project
1. Download the latest development libraries from https://libsdl.org/download-2.0.php
***Extract the files and store them anywhere, I choose to store them in a library folder clode to my local repositories.
***We will call the path to this folder <sdl2> from now on in this text.
2. Open Visual Studio and create a new empty Visual C++ project.
3. Add "main.cpp" to your project "Source Files" folder
4. Setup the project for the compiler to include the libSDL2 library correclty:
a) Within the Visual Studio Solution Explorer, right click the project and open it's properties.
@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

context = {
"predicted_label" : predicted_label,
"tracks" : tracks
}
@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
@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 / 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