Skip to content

Instantly share code, notes, and snippets.

View dre1080's full-sized avatar
๐Ÿ™‰

ando dre1080

๐Ÿ™‰
View GitHub Profile
@dre1080
dre1080 / 1_searchbar_live.ex
Created June 8, 2023 03:23 — forked from caspg/1_searchbar_live.ex
Example of real-time search bar implementation in Phoenix LiveView and Tailwind. Working example on https://travelermap.net/parks/usa
defmodule TravelerWeb.SearchbarLive do
use TravelerWeb, :live_view
alias Phoenix.LiveView.JS
alias Traveler.Places
def mount(_params, _session, socket) do
socket = assign(socket, places: [])
{:ok, socket, layout: false}
end
@dre1080
dre1080 / config.kdl
Last active July 17, 2024 12:11
Zellij GitHub Dark
theme "github-dark"
default_layout "compact"
@dre1080
dre1080 / bash-colors.md
Created June 15, 2024 12:24 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@dre1080
dre1080 / hyprland.conf
Created August 7, 2025 11:41
hyprland helper scripts
env = KEYBOARD_STATUS_FILE,$XDG_RUNTIME_DIR/keyboard.status
exec-once = rm -f $KEYBOARD_STATUS_FILE
device {
name = at-translated-set-2-keyboard
enabled = true
}