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
| <script lang="ts"> | |
| import type { NewSubscriberSchema } from '$lib/schema/form-schema'; | |
| import type { SuperValidated } from 'sveltekit-superforms'; | |
| import { superForm } from 'sveltekit-superforms/client'; | |
| import TextInput from '$lib/components/TextInput.svelte'; | |
| import { toast } from 'svelte-sonner'; | |
| import SuperDebug from 'sveltekit-superforms/client/SuperDebug.svelte'; | |
| export let data: SuperValidated<NewSubscriberSchema>; |
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
| ▹▹▹▹▹ products: 0: 0/s | |
| ▹▹▹▹▹ carts: 0: 0/s | |
| ▹▹▹▹▹ products: 0: 0/s | |
| ▹▹▹▹▹ carts: 0: 0/s | |
| ▹▹▹▹▹ products: 0: 0/s | |
| ▹▹▹▹▹ carts: 0: 0/s | |
| ▹▹▹▹▹ products: 0: 0/s | |
| ▹▹▹▹▹ carts: 0: 0/s | |
| ▹▹▹▹▹ reader: bd36d8d6-5e03-454b-ab7b-2ed11fca98cd: 0: 0/s | |
| ▹▹▹▹▹ reader: 74fecd34-712f-4ec3-aa0b-0b91519aa31f: 0: 0/s |
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
| generator client { | |
| provider = "prisma-client-js" | |
| } | |
| datasource db { | |
| provider = "postgresql" | |
| url = env("DATABASE_URL") | |
| } | |
| model User { |
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
| cache_max_map_size: 2147483648 | |
| connections: | |
| - name: stic_conn | |
| config: !Postgres | |
| user: spikey | |
| password: sticai123 | |
| host: localhost | |
| port: 5432 | |
| database: postgres |
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
| { | |
| "wrappers_": { | |
| "2": { | |
| "wrappers_": { | |
| "1": [ | |
| { | |
| "wrappers_": null, | |
| "arrayIndexOffset_": -1, | |
| "array": [null, null, 3], | |
| "pivot_": 1.7976931348623157e308, |
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 { Dialog, Transition } from '@headlessui/react'; | |
| import { | |
| LinkIcon, | |
| PlusIcon, | |
| QuestionMarkCircleIcon, | |
| XMarkIcon | |
| } from '@heroicons/react/24/solid'; | |
| import type { GetServerSideProps, NextPage } from 'next'; | |
| import { getSession } from 'next-auth/react'; | |
| import Head from 'next/head'; |
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
| package dev.spikeysanju.jsoup | |
| import android.os.Bundle | |
| import androidx.activity.ComponentActivity | |
| import androidx.activity.compose.setContent | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.material.MaterialTheme | |
| import androidx.compose.material.Surface | |
| import androidx.compose.material.Text | |
| import androidx.compose.runtime.* |
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
| @Composable | |
| fun GradientLogoWithText(source: String, color: Color) { | |
| val gradientBrush = Brush.linearGradient(listOf(color, color.copy(.7f))) | |
| Box( | |
| modifier = Modifier | |
| .size(80.dp) | |
| .padding(start = 12.dp, top = 12.dp, end = 12.dp, bottom = 12.dp) | |
| .clip(CircleShape) | |
| .background(brush = gradientBrush) | |
| ) { |
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
| fun TextInputEditText.transformIntoDatePicker( | |
| context: Context, | |
| format: String, | |
| maxDate: Date? = null | |
| ) { | |
| isFocusableInTouchMode = false | |
| isClickable = true | |
| isFocusable = false | |
| val myCalendar = Calendar.getInstance() |
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
| public class CenterZoomLayoutManager extends LinearLayoutManager { | |
| private final float mShrinkAmount = 0.15f; | |
| private final float mShrinkDistance = 0.9f; | |
| public CenterZoomLayoutManager(Context context) { | |
| super(context); | |
| } | |
| public CenterZoomLayoutManager(Context context, int orientation, boolean reverseLayout) { |
NewerOlder