Skip to content

Instantly share code, notes, and snippets.

View kolynzb's full-sized avatar
🎵
NP: DIGII III (Mr.Tee, Tenorboy, prod.chach… (1:26/2:43)

Atuhaire Collins Benda kolynzb

🎵
NP: DIGII III (Mr.Tee, Tenorboy, prod.chach… (1:26/2:43)
View GitHub Profile
@kolynzb
kolynzb / hero-section.tsx
Last active May 18, 2024 17:00
Video Background with tailwind css and react js
import React from 'react'
const HeroSection = () => {
return (
<section className="relative overflow-hidden w-full h-screen mx-0">
<div
className="mx-auto z-40 max-w-7xl lg:px-16 md:px-12 px-8 xl:px-24 py-24 items-center">
<div className="items-start gap-12 grid grid-cols-1 md:grid-cols-2">
@kolynzb
kolynzb / .env
Created May 9, 2023 17:08
API integration with Access and Refresh token
# .env
NEXT_PUBLIC_API_URL=http://localhost:8000/api/v1/
@kolynzb
kolynzb / apiFeatures.ts
Created April 19, 2023 11:23
Nodejs Typescript Utility function used with Mongoose
/**
* APIFeatures class for handling API query features such as filtering, sorting, field limiting, and pagination.
*
* This class provides methods for manipulating query parameters from the request URL to modify database queries using Mongoose.
*/
class APIFeatures {
dbQuery: any;
queryString: any;
@kolynzb
kolynzb / .env.example
Created April 13, 2023 08:32
AWS S3 storages Configuration with Django
# Configuration for AWS S3; https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html
AWS_ACCESS_KEY_ID=<>
AWS_SECRET_ACCESS_KEY=<>
AWS_STORAGE_BUCKET_NAME=<>
AWS_S3_REGION_NAME=<>
@kolynzb
kolynzb / Conventional-Commit-Messages.md
Last active October 7, 2023 19:11 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Conventional Commit Messages

  • See how a minor change to your commit message style can make you a better problem solver and team player, help in automatic generation of the changelog and simple navigation through git history (eg. ignoring style changes).

Basic: git commit -m <message>

Detailed: git commit -m <title> -m <description>

Format: <type>(<scope>): <subject>

@kolynzb
kolynzb / index.html
Last active May 9, 2023 17:09
Ps navbar clone
<!DOCTYPE html>
<html lang="en">
<head>
<title>Playstation Clone</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous"
referrerpolicy="no-referrer"