Skip to content

Instantly share code, notes, and snippets.

View cristian-aldea's full-sized avatar
🎁
Today is a gift, that is why we call it the Present.

Cristian Aldea cristian-aldea

🎁
Today is a gift, that is why we call it the Present.
View GitHub Profile
// An implementation of https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/ in React
import React, { useRef } from 'react'
const AutoGrowingTextArea = props => {
const grower = useRef(null);
return(
<div className="AutoGrowingTextArea" ref={grower}>
<textarea
@cristian-aldea
cristian-aldea / slick-terminal.md
Last active October 22, 2024 19:17
Ubuntu + Zsh + Oh My Zsh + Powerlevel10k = Sliiiiiiiiiiiiick

Based on: https://gist.github.com/kevin-smets/8568070

This gist outlines the steps needed to setup zsh, ohmyzsh and the powerlevel10k theme on Ubuntu, available for anyone to follow.

  1. Setup required dependencies

    # update packages
    sudo apt update
    
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 18, 2024 11:51
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k