If you want to learn more about this image check out its GitHub repo
Download and setup gcloud SDK on your machine.
Create a new instance with the following settings:
'use client' | |
import * as React from 'react' | |
import { EyeIcon, EyeOffIcon } from 'lucide-react' | |
import { Button } from '@/components/ui/button' | |
import { Input, type InputProps } from '@/components/ui/input' | |
import { cn } from '@/lib/utils' | |
const PasswordInput = React.forwardRef<HTMLInputElement, InputProps>(({ className, ...props }, ref) => { |
import { ApplicationRef, ComponentRef, createComponent, Type } from "@angular/core"; | |
import { createApplication } from "@angular/platform-browser"; | |
import React, { useEffect, useRef, useState } from "react"; | |
type AnyComponentRef = ComponentRef<unknown>; | |
export type ReactifyProps = { | |
component: Type<unknown>; | |
inputs?: Record<string, unknown>; | |
}; |
/* | |
{ | |
"compilerOptions": { | |
"baseUrl": ".", | |
"outDir": "build/dist", | |
"module": "esnext", | |
"target": "es6", | |
"lib": [ | |
"es2019", | |
"dom", |
If you want to learn more about this image check out its GitHub repo
Download and setup gcloud SDK on your machine.
Create a new instance with the following settings:
Com Docker é possível configurar um container para que ele ouça conexões à uma
porta apenas em um IP por meio da opção publish
, no formato
ip:hostPort:containerPort
. Isso impede que conexões sejam feitas por outros
IPs sejam aceitas.
Se configurarmos o container para ouvir apenas no IP de loopback (127.0.0.1
),
/* | |
* Stripe WebGl Gradient Animation | |
* All Credits to Stripe.com | |
* ScrollObserver functionality to disable animation when not scrolled into view has been disabled and | |
* commented out for now. | |
* https://kevinhufnagl.com | |
*/ |
import { useEffect, useRef, useState } from "react"; | |
import { BehaviorSubject, Observable, PartialObserver, Subject } from "rxjs"; | |
function useConstant<T>(factory: () => T): T { | |
const ref = useRef<{ value: T }>(); | |
if (!ref.current) { | |
ref.current = { value: factory() }; | |
} |
@module-federation/nextjs-mf
.yarn add @module-federation/nextjs-mf
package.json
: "resolutions": {
import { captureException, flush } from '@sentry/nextjs'; | |
import NextErrorComponent from 'next/error'; | |
import type { ErrorProps } from 'next/error'; | |
import type { NextPage } from 'next'; | |
interface AppErrorProps extends ErrorProps { | |
err?: Error; | |
hasGetInitialPropsRun?: boolean; | |
} |
Relato de desenvolvimento de emulador NES usando Rust Relato do uso da linguagem Rust no desenvolvimento de um emulador de NES
Samuel M. Schultze [email protected]