Skip to content

Instantly share code, notes, and snippets.

View ajnart's full-sized avatar

Thomas Camlong ajnart

View GitHub Profile
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/ajna/.oh-my-zsh"
export ADB="/home/ajna/Android/Sdk/platform-tools"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/ajna/.oh-my-zsh"
export ADB="/home/ajna/Android/Sdk/platform-tools"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
{
"additions": "#859900",
"attributeSelectors": "#cb4b16",
"attributes": "#b58900",
"background": "#282c34",
"bold": null,
"builtIns": "#dc322f",
"bulletPoints": "#cb4b16",
"classSelectors": "#268bd2",
"classes": "#b58900",
@ajnart
ajnart / home.tsx
Last active July 11, 2023 12:36
Small zustand + immer POC
import { Button, Center, Stack } from '@mantine/core';
import { Dashboard, Widgets, useDashboardStore } from '~/tools/useDashboard';
export default function HomePage() {
const { setCurrentDashboard, currentDashboard, addDashboard } = useDashboardStore(
(state) => state
);
return (
<>
<Center>