Skip to content

Instantly share code, notes, and snippets.

@BijanProgrammer
BijanProgrammer / website-deployment.md
Last active March 7, 2025 03:26
How to Deploy a Website?

How to Deploy a Website?

Intro

Prerequisites

  • Web Development
  • Node.js
  • Git & GitHub
  • Terminal
@bennyistanto
bennyistanto / Install_CUDA_and_cuDNN_using_conda.md
Last active March 7, 2025 03:26
Install CUDA and cuDNN using Conda

Install CUDA and cuDNN using Conda

Tested on:

Windows 11 Pro for Workstations and WSL2 Debian 12
Processor: Intel(R) Xeon(R) Gold 6138 CPU @ 2.00GHz 2.00 GHz (2 processors)
Installed RAM: 384 GB
VGA: NVIDIA Quadro P2000 5GB


ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@hypevhs
hypevhs / gist:9bd25f0e3f2dd1780a6f078d5d76473b
Last active March 7, 2025 03:23
how to use xiv character model for vrchat

This is gonna be long and I might not finish it but here's what I got. This shit is so long that if I get it down to a science I might make a program to automate it.

Overview

We will study your character stats, use FFXIV TexTools to export the model parts, Blender to fix it up....

Collecting data

Do you have your character appearance saved? It's not essential but it's very useful to have. It's in the form of a DAT. I hope you backed it up if you created them on an old PC. I'm not sure if you can resave it from an existing character. What I did was use the Shadowbringers Benchmark. I seem to remember there was a way to import your character from the base game but I can't remember. Anyway first you'll need to copy the character DAT to the benchmark folder.

@danhollick
danhollick / tailwind-css-v4.mdc
Last active March 7, 2025 03:23
Cursor rules file for Tailwind CSS v4.0
# Tailwind CSS v4.0
## Core Changes
- **CSS-first configuration**: Configuration is now done in CSS instead of JavaScript
- Use `@theme` directive in CSS instead of `tailwind.config.js`
- Example:
```css
@import "tailwindcss";
@rxaviers
rxaviers / gist:7360908
Last active March 7, 2025 03:20
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@reinsteam
reinsteam / atmosphere_clouds_rendering.md
Last active March 7, 2025 03:18
A collection of links to various materials on atmosphere / clouds rendering

Atmosphere / Clouds Rendering

Research papers

Atmosphere

  • A fast, simple method to render sky color using gradients maps [[Abad06]]
  • A Framework for the Experimental Comparison of Solar and Skydome Illumination [[Kider14]]
  • A Method for Modeling Clouds based on Atmospheric Fluid Dynamics [[Miyazaki01]]
  • A Physically-Based Night Sky Model [[Jensen01]]
@joulgs
joulgs / terminal.txt
Last active March 7, 2025 03:16
How install libssl1.1 on ubuntu 22.04
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
@glowinthedark
glowinthedark / nllb200_translate.py
Last active March 7, 2025 03:15
Text translation with facebook/nllb-200-3.3B model
#!/usr/bin/env python3
# Dependencies
# =============================
# pip install nltk transformers
import argparse
import sys
from pathlib import Path
@zwz0304
zwz0304 / index.html
Created March 7, 2025 03:15
Untitled
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Feedback - Art Ticketing Platform</title>
<link rel="stylesheet" href="feedback.css">
</head>
<body>
<header>
<h1 class="title">Feedback</h1>