Skip to content

Instantly share code, notes, and snippets.

View caiomoura1994's full-sized avatar
🏠
Working from home

Caio Barros de Moura caiomoura1994

🏠
Working from home
View GitHub Profile
import { memo } from 'react';
import { StyleSheet, TextInput, TextInputProps } from 'react-native';
import { View } from 'react-native-animatable';
import { useController, useFormContext, UseFormStateReturn, FieldValues, Control, Controller } from 'react-hook-form';
import { CustomLabel } from './CustomLabel';
interface IInput extends TextInputProps {
label: string;
name: string;
@caiomoura1994
caiomoura1994 / parallelSheets.go
Last active June 14, 2023 01:59
add sheets with chain
package main
import (
"context"
"fmt"
"log"
"os"
"github.com/xuri/excelize/v2"
"gorm.io/driver/postgres"
@caiomoura1994
caiomoura1994 / chatgpt-complete.js
Last active May 15, 2023 15:00
Chatgpt Company History
// Import the necessary libraries
const express = require('express');
const bodyParser = require('body-parser');
const openai = require('openai');
const axios = require('axios');
// Configure the OpenAI library
openai.apiKey = 'your-openai-api-key';
// Create an Express application object
@caiomoura1994
caiomoura1994 / welcome-to-colaboratory.ipynb
Last active October 5, 2019 14:59
NLTP trabalho de IA 2019.2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@caiomoura1994
caiomoura1994 / ssh-copy-generate
Last active October 16, 2016 19:59
arquivo para gerar senha ssh com apenas um comando
apt-get install -y ssh xclip
ssh-keygen -f $HOME/.ssh/id_rsa -P ""
cat ~/.ssh/id_rsa.pub | xclip -sel clip