Skip to content

Instantly share code, notes, and snippets.

View Valkryst's full-sized avatar

Ty Valkryst

View GitHub Profile
@Valkryst
Valkryst / openssl_generation.sh
Last active February 7, 2024 16:02
CSR & CRT Generation
openssl req -new -newkey rsa:2048 -nodes -keyout https.key -x509 -days 3650 -out https.crt
from qdrant_client import QdrantClient
from qdrant_client.http import models
from sentence_transformers import SentenceTransformer
from torch.cuda import is_available
from uuid import uuid4
def text_to_vector(text):
"""
Encodes the provided text into a vector, using a pre-trained model.
dotnet workload install maui
dotnet tool install -g Redth.Net.Maui.Check
# Open a new terminal to run the following command.
maui-check
# Search for the latest version of the DotNet SDK.
winget search DotNet.SDK
# Install the latest DotNet SDK.
# At the time of writing, this is version 7.
winget install Microsoft.DotNet.SDK.7
boolean isSunnyOutside = true;
boolean isRainyOutside = false;
is_sunny_outside = True
is_rainy_outside = False
String name = "Valkryst";
char firstCharOfName = 'V';
name = 'Valkryst'
first_char_of_name = 'V'
float length = 3.14159;
double width = 1.23456;