This file contains 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
const { resolve } = require('node:path'); | |
const { JAVASCRIPT_FILES } = require('@vercel/style-guide/eslint/constants'); | |
const project = resolve(__dirname, 'tsconfig.json'); | |
/** @type {import('eslint').Linter.Config} */ | |
module.exports = { | |
root: true, | |
extends: [ |
This file contains 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/reference.json | |
service: backend | |
plugins: | |
- serverless-dotenv-plugin | |
- serverless-offline | |
- serverless-webpack | |
provider: | |
name: aws |
This file contains 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
// ==UserScript== | |
// @name Ixy | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-02-17 | |
// @description Download PDF free from doceru.com | |
// @author Darlon Henrique | |
// @match https://doceru.com/doc/** | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | |
// @grant none | |
// ==/UserScript== |
This file contains 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
cola aqui |
This file contains 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 { StyledComponent } from 'nativewind' | |
import React from 'react'; | |
import { TouchableWithoutFeedback, Keyboard, View } from 'react-native'; | |
interface DismissKeyboardViewProps { | |
children: React.ReactNode | |
className?: string | |
} | |
export function DismissKeyboardView({children, ...props}: DismissKeyboardViewProps) { |
This file contains 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 React, { useEffect, useRef } from 'react' | |
import { VariantProps, tv } from 'tailwind-variants' | |
const textStyle = tv({ | |
base: 'text-6xl font-bold font-mono text-black dark:text-white', | |
variants: { | |
size: { | |
sm: 'text-sm', | |
md: 'text-base', |
This file contains 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
$remoteport = bash.exe -c "ip addr | grep -Ee 'inet.*eth0'" | |
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
if( $found ){ | |
$remoteport = $matches[0]; | |
} else{ | |
echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
exit; | |
} |
This file contains 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 { StyledComponent } from "nativewind" | |
import { ReactNode, useState } from "react" | |
import { | |
LayoutChangeEvent, | |
NativeScrollEvent, | |
NativeSyntheticEvent, | |
ScrollView, | |
View, | |
} from "react-native" |
This file contains 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
interface HeadingProps { | |
children: React.ReactNode | |
} | |
import { Slot } from '@radix-ui/react-slot' | |
import {cva, type VariantProps} from 'class-variance-authority' | |
import { cn } from "@/lib/utils" | |
import React from 'react' | |
const headingVariants = cva( |
This file contains 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 React from 'react'; | |
// usage example: | |
/* | |
<QueryResult error={error} loading={loading} data={data}> | |
{data?.tracksForHome?.map((track) => <TrackCard key={track.id} track={track} />))} | |
</QueryResult> | |
*/ |
NewerOlder