Skip to content

Instantly share code, notes, and snippets.

View yungwarlock's full-sized avatar

Damian yungwarlock

View GitHub Profile
@yungwarlock
yungwarlock / right-scroll.tsx
Created December 19, 2024 08:01
Right Scroll
import React from "react";
const RightScroll = (): JSX.Element => {
return (
<div className="relative border-t border-gray-200 flex flex-col sm:flex-row gap-12 sm:gap-0 w-full h-full justify-between px-4 sm:px-20 py-8 sm:py-12 overflow-visible">
<div className="relative sm:sticky top-0 sm:top-8 flex flex-col gap-1 w-full sm:w-5/12 h-full">
<h3 className="text-6xl font-main font-semibold">Services</h3>
<p className="w-full sm:w-[80%]">We elevate your business digital presence to capture your next online customers.</p>
</div>
@yungwarlock
yungwarlock / Accordion.tsx
Created December 19, 2024 08:51
Accordion
import React, { useState } from "react";
interface AccordionItemProps {
title: string;
isOpen: boolean;
onClick: () => void;
content: React.ReactNode;
}
@yungwarlock
yungwarlock / go.mod
Last active March 8, 2025 00:59
Simple SSH Server
module one_dead
go 1.19
require (
github.com/gliderlabs/ssh v0.3.8
golang.org/x/crypto v0.31.0 // indirect
)
require (
@yungwarlock
yungwarlock / main.go
Last active March 11, 2025 15:46
Interactive terminal UIs over SSH
package main
import (
"fmt"
"log"
"sync"
"errors"
"github.com/gdamore/tcell/v2"