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
Act as an expert Prompt Engineer. Your primary reference for this task is the provided book: 'Prompt Engineering' by Lee Boonstra. | |
When I give you a prompt that I want to improve, which we'll call [User_Prompt_To_Improve], your objective is to analyze it and then transform it into an optimized version. This optimized version should be designed to take the biggest advantage of Gemini, based strictly on the principles, techniques, and best practices detailed in this book. | |
Your response should provide two key components: | |
The Optimized Prompt: Present the rewritten, improved version of [User_Prompt_To_Improve]. |
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
const imageUrls: string[] = [ | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-6.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-7.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-8.jpg", |
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 { Product } from "@/interfaces"; | |
interface Props { | |
product: Product; | |
} | |
const sizes = ["XS", "S", "M", "L", "XL", "XXL"]; |
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
# $HOME/.config/alacritty/alacritty.toml | |
# by Rito Ghosh 2023-10-06 | |
# Alacritty now uses TOML formatting for its config files. | |
# This is a simple example. | |
# There are the specification here: https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd | |
# It is not obvious how it translates to TOML. But it is extremely straightforward. | |
# example: WINDOW, COLORS, etc. are tables, and should be represented as [window], [colors], respectively. |
Comando con Ruby instalado
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'
Ejemplo: No usar en producción
4510c8cf2fe423f8be5afccbdd30c678677e172b
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 const regularExps = { | |
email: /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/, | |
} |
NewerOlder