Let's say you have two users and repos likejordiup/repo1
and not_jordiup/repo2
.
You want to push and pull from them using different accounts.
import { z } from 'zod'; | |
const connectionSchema = z.object({ | |
user: z.string(), | |
password: z.string(), | |
host: z.string(), | |
database: z.string(), | |
port: z.number().int().positive().default(5432), | |
ssl: z.boolean().default(true), | |
pooling: z.boolean().default(true), |
function getLastModifiedGitDate(filePath: string): Date { | |
filePath = 'README.md'; | |
const query = ` | |
{ | |
repository(owner: "jordiup", name: "sharehouse") { | |
ref(qualifiedName: "refs/heads/main") { | |
target { | |
... on Commit { | |
history(first: 1, path: "${filePath}") { | |
edges { |
{ | |
"activities": [ | |
{ | |
"actor": { | |
"email": "[email protected]", | |
"familyName": "Wilkes", | |
"givenName": "Josh", | |
"id": "usr_2SPP3b2dtynEPF9RMJESySftFJu" | |
}, | |
"allowed": true, |
import React from 'react'; | |
import ColorHash from 'color-hash'; | |
import { Circle, ICircleProps, Image, Text } from 'native-base'; | |
type Props = { | |
firstName: string; | |
lastName?: string; | |
name?: string; | |
size?: string; | |
src?: string; |
{ | |
"targets": [ | |
{ | |
"id": "1a3a6e75-fc32-4f36-8d7c-9fe2f7c0a2a1", | |
"targetGroupId": "group-1", | |
"targetGroupFrom": { | |
"publisher": "common-fate", | |
"name": "aws", | |
"version": "v1.0.0", | |
"kind": "string" |
import React, { ReactNode, useEffect, useState } from 'react'; | |
import { View } from 'react-native'; | |
interface TabsProps { | |
tabIndex: number; | |
children: ReactNode[]; | |
} | |
export const Tabs: React.FC<TabsProps> = ({ tabIndex, children }) => { | |
const [activeTab, setActiveTab] = useState(0); |
import { ChatGPTAPI } from 'chatgpt'; | |
import { NextApiRequest, NextApiResponse } from 'next'; | |
import { notifyAdmin } from '../../../utils/twillio'; | |
export type InputAI = {; | |
variableA: string; | |
variableB: string; | |
variableC: string; | |
}; |
javascript:(function() { const a = document.createElement('a'); a.href = URL.createObjectURL(new Blob([document.querySelector('[class^="ThreadLayout__NodeWrapper"]').innerHTML.replace(/<img[^>]*>/g, '').replace(/<button[^>]*>.*?<\/button>/g, '').replace(/<svg[^>]*>.*?<\/svg>/g, '')], {type: 'text/html'})); a.download = 'chatGPT.html'; document.body.appendChild(a); a.click(); document.body.removeChild(a); URL.revokeObjectURL(a.href); })() |
version: '3' | |
services: | |
postgres: | |
image: postgres:12 | |
ports: | |
- '5432:5432' | |
environment: | |
- POSTGRES_USER=postgres | |
- POSTGRES_PASSWORD=postgres |