Skip to content

Instantly share code, notes, and snippets.

View lshriver's full-sized avatar
🧭
navigating

Lauren Shriver lshriver

🧭
navigating
View GitHub Profile
class Bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
@lshriver
lshriver / sefirot.py
Created October 6, 2024 16:29
Class practice
class Sephirah:
def __init__(self, name, type_1, type_2=None):
self.name = name
self.type_1 = type_1 #optional attribute to store position or other properties
self.type_2 = type_2
def __repr__(self):
return self.name
def initialize_sefirot():
@lshriver
lshriver / index.html
Created October 14, 2024 09:32 — forked from renzoscriber/index.html
Kepler's Laws (simplified)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kepler's Laws Simulation</title>
<link rel="stylesheet" href="styles.scss">
</head>
<body>
<div id="simulation">
@lshriver
lshriver / index.haml
Created October 14, 2024 09:43 — forked from renzoscriber/index.haml
Solar System animation my version
.solar-syst
.sun
.mercury
.venus
.earth
.mars
.jupiter
.saturn
.uranus
.neptune
@lshriver
lshriver / qiskit-backend.py
Last active August 29, 2025 18:05
Preliminary Code for setting up a Qiskit circuit in Jupyter
from qiskit import transpile
from qiskit_aer import Aer, AerSimulator, AerJob
def execute(circuits, backend=None, shots=1024, **kwargs):
if backend is None:
backend = AerSimulator()
# Transpile the circuits for the backend
transpiled_circuits = transpile(circuits, backend)
<div class="page">
<!--Theme switch-->
<input type="checkbox" id="themeSwitch" name="theme-switch" class="theme-switch__input" />
<label for="themeSwitch" class="theme-switch__label">
<span class="gradient_text2">Switch theme</span>
</label>
<!--Main page content-->
<main>
<div class="wrapper">
@lshriver
lshriver / index.html
Created March 7, 2025 21:38
Responsive macOS Style Portfolio
<body>
<section>
<div class="icon-container">
<div class="icon-box about" data-modal="about">
<i class="fa-regular fa-address-card"></i>
</div>
<div class="icon-box projects" data-modal="projects">
<i class="fa-solid fa-laptop-code"></i>
</div>
<div class="icon-box testimonial" data-modal="testimonial">