Skip to content

Instantly share code, notes, and snippets.

Washing Machine XYZ User Manual
1. Introduction
* Welcome to the world of the Washing Machine XYZ. This manual provides detailed instructions for the safe and efficient use of your washing machine.
2. Safety
* Before using the washing machine, please read all the safety instructions provided in this manual carefully.
* Ensure that you plug the washing machine into a grounded electrical outlet in accordance with local regulations.
* Do not use the washing machine if the power cord or plug is damaged.
* Do not touch the washing machine with wet hands or feet to avoid electric shocks.
@SandyLudosky
SandyLudosky / main.py
Created December 23, 2023 14:48
Retrieval Augmented Generation (RAG)
import os
from dotenv import load_dotenv
from langchain.chat_models import ChatOpenAI
from langchain.document_loaders import TextLoader
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import (
CharacterTextSplitter,
)
from langchain.prompts.chat import (
HumanMessagePromptTemplate,
@SandyLudosky
SandyLudosky / assistant-api.txt
Last active December 3, 2023 14:52
Assistants API Beta - Quickstart
import openai
from colorama import Fore
from dotenv import load_dotenv
load_dotenv()
# Initialize clients with API keys
client = openai.OpenAI()
import Link from "next/link"
export default function Layout({ children }) {
const links = [
{
title: "Home",
path: "/"
},
{
// variables
@color-gray: darkgrey;
@color-pink : pink;
@color-river:#3498db;
@color-belize: #2980b9;
@midnight-blue: #2c3e50;
@turquoise: #1abc9c;
@river: #3498db;
@amethyste: #9b59b6;
@SandyLudosky
SandyLudosky / Sass Basics
Created September 4, 2022 14:03
Sass Basics
// variable
$font-stack: Helvetica, sans-serif;
$primary-color: #16a085;
$secondary-color: #e67e22;
body {
font: 100% $font-stack;
color: $primary-color;
}
{"schemaVersion":1,"label":"release","message":"0.0.0-development","color":"green"}

#Intro#

#Get to know the group#

  • Do you know any programming languages?
  • Are you using any of this in your project? ** Mixins? ** Extends?

SASS-TO SVG & SASS - January 2015

Introductions

  • What's your focus / work?
  • What was the last thing you found challenging/frustrating in SASS

#SVG with SASS and Gulp#

Let's start downloading stuff during intro...

@SandyLudosky
SandyLudosky / SassMeister-input-HTML.html
Created December 7, 2014 22:04
Generated by SassMeister.com.
<div class='container'>
<h1>SASS - Mixins with defaults</h1>
<h2><span>Basic</span> - Getting Started</h2>
<p id='mypara'>Lorem ipsum dolor sit amet, consectetur
adipiscing elit, sed do eiusmod tempor <br>
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi</p>