This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// FourWayDraggableSlider.swift | |
// kale3 | |
// | |
// Created by Kevin Wang on 2025-09-24. | |
// | |
import Foundation | |
import SwiftUI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// draggableSlider.swift | |
// kale3 | |
// | |
// Created by Kevin Wang on 2025-09-24. | |
// | |
import Foundation | |
import SwiftUI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// unlockedDraggableSlider.swift | |
// kale3 | |
// | |
// Created by Kevin Wang on 2025-09-24. | |
// | |
import Foundation | |
// | |
// draggableSlider.swift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Combined file from integrate package | |
# --- Standard Library Imports --- | |
import math | |
from fractions import Fraction | |
from typing import ( | |
Tuple, Union, Dict, Sequence, Optional, ClassVar, List, Set, Callable, Any, NamedTuple | |
) | |
from abc import ABC, abstractmethod | |
import itertools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import {ReactNode, useState} from "react"; | |
interface CarouselProps { | |
children: ReactNode[]; | |
} | |
export default function Carousel({ children }: CarouselProps) { | |
const [currentPage, setCurrentPage] = useState(0); | |
const totalPages = children.length; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.LocalDateTime; | |
import java.time.format.DateTimeFormatter; | |
import static java.lang.System.exit; | |
public class Log { | |
public static String time() { | |
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); | |
LocalDateTime now = LocalDateTime.now(); | |
return dtf.format(now); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.util.function.Consumer; | |
public class ku { | |
/** | |
* Prints the object to the console | |
* @param o The object to print | |
*/ | |
public static void println(Object o){ | |
System.out.println(o); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |