Skip to content

Instantly share code, notes, and snippets.

View lucien-loua's full-sized avatar
🎛️
audiocrafter

lU lucien-loua

🎛️
audiocrafter
View GitHub Profile
#!/bin/bash
# Vérifier si les arguments requis sont fournis
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <ancien_package> <nouveau_package>"
echo "Exemple: $0 @ouest-labs/env @tools/env"
exit 1
fi
ANCIEN_PACKAGE=$1
@lucien-loua
lucien-loua / nakamoto.md
Created November 14, 2023 20:25
This script finds a sha256 hash starting with 5 zeroes

₿itcoin concept

@lucien-loua
lucien-loua / ParticleBackground.tsx
Created September 19, 2023 04:54
3D Particles w/ Three
import React, { useRef, useEffect } from 'react';
import * as THREE from 'three';
const ParticleBackground: React.FC = () => {
const containerRef = useRef<HTMLDivElement | null>(null);
useEffect(() => {
const container = containerRef.current;
if (!container) return;