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
| function fish_prompt --description 'Uma linha de info + linha do ➜' | |
| set -l laststatus $status | |
| if test $laststatus -eq 127 | |
| and set -q __fish_autocd_ok | |
| set laststatus 0 | |
| end | |
| set -e __fish_autocd_ok | |
| set -l home_norm (string trim -r / $HOME) | |
| set -l pwd_norm (string trim -r / $PWD) |
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
| x-typebot-common: &typebot-common | |
| depends_on: | |
| postgresql: | |
| condition: service_healthy | |
| # redis: | |
| # condition: service_healthy | |
| maildev: | |
| condition: service_started | |
| x-typebot-env: &typebot-env |
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
| version: '3.7' | |
| services: | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:8.10.1 | |
| container_name: elasticsearch | |
| environment: | |
| - discovery.type=single-node | |
| - xpack.security.enabled=false | |
| ports: | |
| - "9200:9200" |
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 { createCheckoutSession } from "@/stripe.server"; | |
| import { ActionFunctionArgs, json, redirect } from "@remix-run/node"; | |
| import { nanoid } from "nanoid"; | |
| import { createClient } from "@/supabase.server"; | |
| import { sendMail } from "./mail.$name/send-mail"; | |
| export const action = async ({ request }: ActionFunctionArgs) => { | |
| const body = await request.json(); | |
| // USD - Price as default |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Email Subject</title> | |
| </head> | |
| <body> | |
| <h1>Hello, {{ name }}!</h1> | |
| <p>Your order has been shipped.</p> | |
| <p>Order ID: {{ orderId }}</p> | |
| </body> |
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
| #!/bin/bash | |
| # Install PHP 5.6 and other dependencies | |
| sudo apt-get update | |
| sudo apt-get install -y software-properties-common ca-certificates lsb-release apt-transport-https | |
| sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | |
| sudo apt-get update && sudo apt-get install -y php5.6-zip apache2 php5.6 php5.6-mysql php5.6-ldap curl php5.6-mcrypt mariadb-server | |
| # Install Composer | |
| curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer |
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 { memo } from 'react'; | |
| import { Handle, Position } from 'reactflow'; | |
| import { nodesConfigs } from '@/routes/dashboard.whatsapp'; | |
| import { NodeBase, NodeDescription, NodeTitle } from './node-base'; | |
| import { MessagesPreview } from './messages-preview/messages-preview'; | |
| import { decisionAlternatives } from '@/components/whatsap-flow/alternatives-alternatives-if-node-message/alternatives-alternatives-if-node-message'; | |
| import Divider from '@/components/ui/divider'; | |
| import { Icons } from '@/components/icons/icons'; | |
| function IfNode({ data, id, ...props }) { |
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
| #!/bin/bash | |
| # Install docker | |
| apt-get update | |
| apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| add-apt-repository \ | |
| "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
| $(lsb_release -cs) \ | |
| stable" | |
| apt-get update |
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
| #!/bin/sh | |
| set -o errexit | |
| set -o nounset | |
| IFS=$(printf '\n\t') | |
| # Docker | |
| sudo apt remove --yes docker docker-engine docker.io containerd runc || true | |
| sudo apt update |
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
| asd |
NewerOlder