This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:InvesteringsGuiden" | |
x:Class="InvesteringsGuiden.App"> | |
<Application.Resources> | |
<ResourceDictionary> | |
<local:AlternatingRowConverter x:Key="AlternatingRowConverter" /> | |
</ResourceDictionary> | |
</Application.Resources> | |
</Application> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text.Json; | |
namespace Budgetering; | |
public class Income | |
{ | |
public required string Name { get; set; } | |
public required decimal Amount { get; set; } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024-08-02T17:45:10.703 app[48e2911b36d308] ams [info] null | |
2024-08-02T17:45:17.732 app[48e2911b36d308] ams [info] error { | |
2024-08-02T17:45:17.732 app[48e2911b36d308] ams [info] error: 'invalid_grant', | |
2024-08-02T17:45:17.732 app[48e2911b36d308] ams [info] error_description: 'Invalid "redirect_uri" in request.' | |
2024-08-02T17:45:17.732 app[48e2911b36d308] ams [info] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__ __ | |
/\ \__ /\ \ __ __ | |
___ _ __ __ __ \ \ ,_\ __ \_\ \ _ __ /\_\ _____ _____ __ __ __ _____ /\_\ | |
/'___\/\`'__\/'__`\ /'__`\ \ \ \/ /'__`\ _______ /'_` \/\`'__\/\ \/\ '__`\/\ '__`\/\ \/\ \ _______ /'__`\ /\ '__`\/\ \ | |
/\ \__/\ \ \//\ __//\ \L\.\_\ \ \_/\ __//\______\/\ \L\ \ \ \/ \ \ \ \ \L\ \ \ \L\ \ \ \_\ \/\______\/\ \L\.\_\ \ \L\ \ \ \ | |
\ \____\\ \_\\ \____\ \__/.\_\\ \__\ \____\/______/\ \___,_\ \_\ \ \_\ \ ,__/\ \ ,__/\/`____ \/______/\ \__/.\_\\ \ ,__/\ \_\ | |
\/____/ \/_/ \/____/\/__/\/_/ \/__/\/____/ \/__,_ /\/_/ \/_/\ \ \/ \ \ \/ `/___/> \ \/__/\/_/ \ \ \/ \/_/ | |
\ \_\ \ \_\ /\___/ \ \_\ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client'; | |
import * as z from 'zod'; | |
import { | |
Form, | |
FormControl, | |
FormDescription, | |
FormField, | |
FormItem, | |
FormLabel, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useQuery } from '@tanstack/react-query'; | |
import { useQueryClient } from '@tanstack/react-query'; | |
import { z } from 'zod'; | |
import { createZodFetcher } from 'zod-fetch'; | |
const fetchWithZod = createZodFetcher(); | |
const characterSchema = z.object({ | |
info: z.object({ | |
count: z.number(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */ | |
/* | |
Document | |
======== | |
*/ | |
/** | |
Use a better box model (opinionated). | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { twMerge } from 'tailwind-merge'; | |
import { useSidebarStore } from './sidebar-store'; | |
function App() { | |
const { | |
value, | |
close, | |
open, | |
toggle: _toggle, | |
} = useSidebarStore((store) => store); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function DrizzleAdapter(): Adapter { | |
const { users, sessions, accounts, verificationTokens } = schema; | |
return { | |
createUser: async (data) => { | |
const id = crypto.randomUUID(); | |
await db.insert(users).values({ ...data, id }); | |
const user = await db | |
.select() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '@radix-ui/colors/blackA.css'; | |
@import '@radix-ui/colors/violet.css'; | |
.SliderRoot { | |
position: relative; | |
display: flex; | |
align-items: center; | |
user-select: none; | |
touch-action: none; | |
width: 200px; |
NewerOlder