Skip to content

Instantly share code, notes, and snippets.

View rainbow-bash's full-sized avatar

Marcy rainbow-bash

View GitHub Profile
import Loading from '#/common/components/ui/loading'
import type { CreateProductParams } from '#/features/products/application/use-cases/create-product'
import productsMutOpts from '#/features/products/presentation/mutations/products'
import { productsQK } from '#/features/products/presentation/queries'
import productsQOpts from '#/features/products/presentation/queries/products'
import { useMutation, useQuery } from '@tanstack/react-query'
import { createFileRoute } from '@tanstack/react-router'
import { useState } from 'react'
export const Route = createFileRoute('/products/create')({
#network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: false
dhcp6: false
addresses:
- 192.168.1.122/24
routes:
@rainbow-bash
rainbow-bash / asdf.html
Last active December 15, 2024 02:07
stupid ass querySelectorAll implementation in golang node package for dom manipulation inside godlang
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
<link href="css/style.css" rel="stylesheet" />
</head>
<body>
<div>

ASCII

ASCII es la manera en la que las computadoras representan simbolos por medio de números, el ASCII original utilizaba solamente 7 bits para representar carácteres, pero el extended ASCII usa 8 bits

section .data
    digit db 0,10
...

_printRAXDigit:
@rainbow-bash
rainbow-bash / gist:023187a948b4d92f2c11861d48911b75
Created April 2, 2024 23:15
greatest and smoothest and sexiest and coolest lunarvim config ever
vim.g.mapleader = ' '
vim.o.wrap = true
vim.o.autoindent = true
vim.o.smartindent = true
vim.o.indentexpr = "autoindent"
vim.o.tabstop = 2
vim.o.shiftwidth = 2
vim.o.softtabstop = 2
vim.o.incsearch = false
vim.o.breakindent = true